Tools · Parcels
MCP tools for the Parcels module (coworking): registering letters and packages with a photo, the queue, pickup, return, discard, reopening, deletion and the member's "do I have a parcel?".
The Parcels module through the assistant: registering the parcel with a photo and notifying the member, following the queue, handling photos, marking the pickup, returning, discarding, reopening and deleting, and the member asking whether anything is waiting. There are 20 tools, plus the 12 of the virtual office.
Each tool carries a badge: Read-only changes nothing, Changes creates or changes something right away, and Asks to confirm only acts after your yes to a summary. See Money and confirmation.
In short
| Tool | What it does | Minimum role | Type |
|---|---|---|---|
get_parcels_overview | The space at a glance: the settings and how many are waiting | Anyone who sees the space | Read-only |
get_parcel | One parcel, with the photos | Any (yours); team (any) | Read-only |
do_i_have_parcels | Your parcels, pending and history, with the place and the code | Any | Read-only |
mark_parcel_picked_up | Marks the pickup | Any (yours); moderator or finance (others') | Changes |
search_parcel_recipients | Finds the recipient (person or company) by name | Moderator or finance | Read-only |
register_parcel | Registers the parcel and notifies the recipient by email | Moderator or finance | Changes |
list_pending_parcels | The queue of parcels waiting for pickup | Moderator or finance | Read-only |
list_parcels | The history, with any status | Moderator or finance | Read-only |
update_parcel | Fixes the data and the locker code | Moderator or finance (waiting); admin (closed) | Changes |
add_parcel_photo | Adds a photo | Moderator or finance | Changes |
replace_parcel_photo | Replaces a photo | Moderator or finance | Changes |
return_parcel | Returns to the sender | Moderator or finance | Changes |
remove_parcel_photo | Removes a photo for good | Moderator or finance | Asks to confirm |
discard_parcel | Discards a parcel nobody picked up | Admin | Changes |
reopen_parcel | Undoes a closing | Admin | Changes |
delete_parcel | Deletes a record made by mistake | Admin | Asks to confirm |
list_parcel_lockers | The space's lockers, in order, with the inactive ones | Moderator or finance | Read-only |
create_parcel_locker | Adds a locker | Admin | Changes |
update_parcel_locker | Renames, reorders, activates or deactivates a locker | Admin | Changes |
delete_parcel_locker | Removes a locker from the list | Admin | Asks to confirm |
The space is created with create_space and module: "parcels", with the parcels argument for the settings; update_space changes only what you send and keeps the rest.
The team, here, is the owner, the admin, the moderator and finance. The roles are the routes' roles: the assistant never does more than the connected person could do on screen. The owner and the admin see all 20 tools; the moderator and finance, 14 (no discarding, reopening or deleting); the member, 4 (get_parcels_overview, get_parcel, do_i_have_parcels and mark_parcel_picked_up, on their own parcels).
The locker code is a secret. No team response carries it, and it is hidden in the MCP audit log; only do_i_have_parcels and get_parcel show it, to the recipient themselves. Whoever registers or fixes a parcel can set the code, never read it, and the assistant doesn't repeat it.
The space settings
The parcels argument of create_space and update_space accepts:
| Field | Type | Description |
|---|---|---|
locker_mode | none, list or free | none: everything stays at the front desk; list: the team picks from the registered lockers (create_parcel_locker); free: the team writes where it left each parcel |
locker_pickup_code | true or false | The team can set a pickup code per parcel; only the recipient sees it |
email_includes_photo | true or false | The notice email carries a thumbnail of the photo (default: yes) |
require_staff_confirmation | true or false | True: only the team marks the pickup. False (default): the member can too |
reminder_after_days, reminder_max_count | numbers, or null | Stalled deadline (1 to 60 days) and reminder cap (1 to 5). With the deadline empty, there is no reminder. |
retention_months | number from 6 to 60 | The retention period of closed parcel data (default 12). Owner and admin; with it, the call asks for confirmation: in update_space, with the before and after, how many records would be anonymized today and, for a shorter period, the date it applies (7 days later) |
get_parcels_overview
Read-only
The space at a glance. The settings (locker mode and whether the member confirms their own pickup), how many parcels are waiting for you (mine.pendingCount) and, for the team, how many are pending and stalled. Minimum role: anyone who sees the space.
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
Ask like this: "How many parcels are stalled at the Downtown location?"
get_parcel
Read-only
One parcel. With the photos, in signed links valid for 1 hour. The team reads any parcel in the community, without the code; the recipient reads theirs (a company's: any current employee of it), with the place and the code while it's waiting. Anyone else gets "not found". Minimum role: any.
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
Ask like this: "Show me Maria's parcel."
do_i_have_parcels
Read-only
"Do I have a parcel?" Only yours and those of the company you work for now (recipientType: company, with recipientCompany): the pending ones (all) and the history (the latest), with where to pick up, the locker code while it's waiting and the photos (1-hour links). Show the code only to the person themselves. Minimum role: any.
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | No | A specific space; without it, all |
history_limit | number | No | How many from the history (1 to 100) |
Ask like this: "Do I have any parcel waiting?"
mark_parcel_picked_up
Changes
Mark the pickup. The team marks it as STAFF (default, with the name of who came in picked_up_by_name, which defaults to the recipient) or THIRD_PARTY (the name is required). The recipient themselves marks it as SELF (on a company's parcel, any current employee), only if the space doesn't require team confirmation (otherwise, refused). The locker code is deleted. It's idempotent: on an already closed parcel, it returns already_closed: true. Minimum role: any (yours); moderator or finance (others').
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
method | STAFF, SELF or THIRD_PARTY | No | How it was picked up |
picked_up_by_name | text | No | Who came to collect it (required with THIRD_PARTY) |
Ask like this: "Mark Maria's parcel as picked up." · "I already picked up my parcel."
search_parcel_recipients
Read-only
Who receives it. The space's members and the active companies with at least one employee with access to it, whose name starts with q (at least 3 letters, up to 8 results), with only id, type, name and initials. With type: member, the id is the recipient_member_id for register_parcel; with type: company, it's the recipient_company_id. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
q | text | Yes | The start of the name |
Ask like this: "Find Maria Souza so I can register a parcel." · "Find Acme."
register_parcel
Changes
Register the parcel. For a member with access to the space or for a company with at least one employee with access: exactly one of recipient_member_id and recipient_company_id. It sends the recipient the notice email (with the thumbnail, if the space is set that way), in the community's time zone: the assistant says so. For a company, one e-mail goes to each current employee with access to the space, or only to the company's admins, if it chose so (parcel_notice_admins_only); a closed company gets no e-mail. kind is LETTER, PACKAGE or OTHER (the latter requires kind_label). locker_label and locker_pickup_code (4 to 12 characters, a secret) only apply if the space allows it. client_request_id makes a repeated call return the same parcel, with no second email. The same recipient, kind and tracking within 24 hours is refused (409), unless force is true. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
recipient_member_id | id | One of the two | The person (from search_parcel_recipients, type: member) |
recipient_company_id | id | One of the two | The company (from search_parcel_recipients, type: company) |
kind | LETTER, PACKAGE or OTHER | Yes | The kind |
kind_label | text | With OTHER | Up to 60 characters |
sender_name, carrier, tracking_code | text | No | Sender, carrier and tracking |
notes | text | No | Up to 200 characters |
locker_label, locker_id, locker_pickup_code | text | No | Where it was left (locker_label in free mode; locker_id, from list_parcel_lockers, in list mode; empty = at the front desk) and the code |
photos | list | No | Up to 5, each with image_url or image_base64 |
client_request_id, force | text, true/false | No | Idempotency and duplicate registration |
Ask like this: "An Amazon package arrived for Maria Souza, in locker 12. Photo: [link]." · "A package arrived for Acme."
list_pending_parcels
Read-only
The queue. The parcels waiting for pickup, newest to oldest, with recipient (recipientType member or company: recipient or recipientCompany, the other comes null), kind, sender, place, how long they've waited and stalled_days when past the deadline. Filters: kind, q (recipient or company name, sender, carrier or tracking), stalled, recipient_member_id, recipient_company_id, from and to (YYYY-MM-DD, in the community's time zone). Never the code (only has_locker_code). Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
kind, q, stalled, recipient_member_id, recipient_company_id, from, to | various | No | The filters |
page, limit | numbers | No | Pagination (up to 100) |
Ask like this: "What has been stalled at the front desk for more than 3 days?"
list_parcels
Read-only
The history. Same as list_pending_parcels, but with any status (RECEIVED, PICKED_UP, RETURNED, DISCARDED), filterable by status. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
status | status | No | Filters by status |
the filters of list_pending_parcels | various | No |
Ask like this: "Which parcels were returned this month?"
update_parcel
Changes
Fix. Kind, sender, carrier, tracking, note, place and locker code (which is set again, never read) of a parcel that's waiting. A closed parcel can only be corrected by an owner or admin, and never the code. Each fix goes in the log. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
kind, kind_label, sender_name, carrier, tracking_code, notes, locker_label, locker_id, locker_pickup_code | various | No | Only what changes |
Ask like this: "Fix the tracking on Maria's parcel to BR123456789."
add_parcel_photo
Changes
Add a photo. Up to 5 per parcel, in private storage. The team; on a closed parcel, only the owner and the admin. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
image_url or image_base64 (+ image_type) | text | Yes | The photo: a public link or the file in base64. It's kept in private storage |
Ask like this: "Attach this photo to Maria's parcel."
replace_parcel_photo
Changes
Replace a photo. Replaces a photo with the new file; the old one is deleted. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
photo_id | id | Yes | The photo (from get_parcel) |
image_url or image_base64 (+ image_type) | text | Yes | The photo: a public link or the file in base64. It's kept in private storage |
Ask like this: "Replace the parcel's first photo with this one."
return_parcel
Changes
Return to the sender. Requires the reason. Nothing is deleted: the parcel stays in the history as RETURNED and the locker code is deleted. An already closed parcel answers 409. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
reason | text | Yes | The reason, up to 200 characters; it goes in the log |
Ask like this: "Return Maria's parcel to the sender: refused."
remove_parcel_photo
Asks to confirm
Remove a photo. The file is deleted for good. On the first call it returns the summary and the confirmation code. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
photo_id | id | Yes | The photo (from get_parcel) |
Ask like this: "Remove the parcel's second photo; it shows the address."
discard_parcel
Changes
Discard. For a parcel nobody picked up. Requires the reason. Nothing is deleted: it stays as DISCARDED in the history, and reopen_parcel undoes it. It doesn't ask for confirmation, since it's reversible. Minimum role: admin (owner or admin).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
reason | text | Yes | The reason, up to 200 characters; it goes in the log |
Ask like this: "Discard Maria's parcel: expired without pickup."
reopen_parcel
Changes
Reopen. Undoes a pickup, return or discard made by mistake: it goes back to RECEIVED, with the reason. The deleted code doesn't come back; set another with update_parcel. Minimum role: admin (owner or admin).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
reason | text | Yes | The reason, up to 200 characters; it goes in the log |
Ask like this: "Reopen Maria's parcel: the pickup was marked by mistake."
delete_parcel
Asks to confirm
Delete a record made by mistake. It leaves the lists and the photos are deleted; the log keeps who and why. To close a parcel for real, use mark_parcel_picked_up, return_parcel or discard_parcel. On the first call it returns the summary and the confirmation code. Minimum role: admin (owner or admin).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The parcel (from list_pending_parcels) |
reason | text | Yes | The reason, up to 200 characters; it goes in the log |
Ask like this: "Delete the record of John's parcel: I registered it for the wrong person."
list_parcel_lockers
Read-only
The space's lockers. In order, including inactive ones (active: false); only active ones can be chosen with locker_id. They matter when the space is in locker_mode: list. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
Ask like this: "Which lockers does the Downtown unit have?"
create_parcel_locker
Changes
Add a locker. Name up to 60 characters, unique in the space ignoring case (a repeat is refused, 409). position goes to the end if omitted; active is true if omitted. To use it, the space must be in locker_mode: list (update_space with parcels). Minimum role: admin (owner or admin).
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
name | text | Yes | The name, up to 60 characters |
active | true/false | No | Default: true |
position | number | No | Position in the list; without it, the end |
Ask like this: "Add the locker Locker 12 to the Downtown unit."
update_parcel_locker
Changes
Rename, reorder or activate/deactivate. Parcels already registered keep the name the locker had then. With nothing to change, the call is refused. Minimum role: admin (owner or admin).
| Parameter | Type | Required | Description |
|---|---|---|---|
locker_id | id | Yes | The locker (from list_parcel_lockers) |
name | text | No | The new name, up to 60 characters |
active | true/false | No | Activates or deactivates |
position | number | No | The new position |
Ask like this: "Deactivate the locker Locker 12."
delete_parcel_locker
Asks to confirm
Remove a locker from the list. It can no longer be chosen; parcels that used it keep its name. To only hide it, use update_parcel_locker with active false. On the first call it returns the summary and the confirmation code. Minimum role: admin (owner or admin).
| Parameter | Type | Required | Description |
|---|---|---|---|
locker_id | id | Yes | The locker (from list_parcel_lockers) |
Ask like this: "Remove the locker Locker 12."
Virtual office
The 12 tools of the virtual office: the client sees the business address and says what to do with each letter, and the front desk turns the service on and handles the request queue. list_parcels now accepts FORWARDED, register_parcel returns the virtual_office warning when the letter is for someone without the service, and create_product and update_product accept includes_virtual_office. The forwarding address is personal data: the audit keeps it hidden.
| Tool | What it does | Minimum role | Type |
|---|---|---|---|
get_virtual_office_settings | Whether the virtual office is on, the business address and the plans and products that include it | Moderator or finance | Read-only |
update_virtual_office_settings | Turns the virtual office on or off and changes the business address | Admin | Changes |
get_my_virtual_office | Your virtual office: whether it is active and the business address | Any | Read-only |
get_virtual_office_recipient_status | Says whether a person or company has the virtual office, before registering the letter | Moderator or finance | Read-only |
list_my_forwarding_addresses | Your forwarding addresses | Any | Read-only |
create_my_forwarding_address | Saves a forwarding address | Any | Changes |
update_my_forwarding_address | Changes a forwarding address | Any | Changes |
delete_my_forwarding_address | Removes a forwarding address | Any | Asks to confirm |
create_parcel_request | Asks the front desk what to do with the letter: pick up, forward or discard | Any (the recipient) | Changes |
cancel_parcel_request | Cancels the pending request on a letter | Any (whoever asked); team | Asks to confirm |
list_parcel_requests | The front desk's queue of requests | Moderator or finance | Read-only |
complete_parcel_request | Marks the request as done and closes the letter | Moderator or finance | Asks to confirm |
get_virtual_office_settings
Read-only
See the virtual office. Whether it is on (enabled), the business address and the plans and products with includesVirtualOffice (set with includes_virtual_office in create_product and update_product). Minimum role: moderator (or finance).
Ask like this: "Is the virtual office on? What's the address?"
update_virtual_office_settings
Changes
Set up the virtual office. Turns it on or off and changes the business address (only the fields sent change). To turn it on, the address must be complete (street, city, postal_code and country); the refusal lists what is missing. Turned off, the address disappears for everyone and there are no new requests; pending ones stay in the queue. Minimum role: admin (owner or admin).
| Parameter | Type | Required | Description |
|---|---|---|---|
enabled | true/false | No | Turns it on or off |
address | object | No | street, number, complement, district, city, state, postal_code, country (2 letters, e.g. BR) |
Ask like this: "Turn on the virtual office with the address Avenida Paulista, 1000, suite 1203, São Paulo, ZIP 01310-100."
get_my_virtual_office
Read-only
My business address. Whether the virtual office is active for you (a plan or product of yours or your company's, or a company with Virtual office residence) and, only then, the address, with where it comes from (sources). Minimum role: any.
Ask like this: "What's my business address?"
get_virtual_office_recipient_status
Read-only
Does the recipient have the service? For the front desk, before registering a letter: exactly one of recipient_member_id and recipient_company_id (from search_parcel_recipients). Without the service, the warning "No active virtual office…" comes back; the letter can be registered anyway. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
recipient_member_id | id | One of the two | The person |
recipient_company_id | id | One of the two | The company |
Ask like this: "Does Maria Souza have a virtual office?"
list_my_forwarding_addresses
Read-only
My forwarding addresses. Up to 5. They are personal: nobody else reads them, not even the team. The address_id goes in create_parcel_request with FORWARD. Minimum role: any.
Ask like this: "Which addresses do I have saved?"
create_my_forwarding_address
Changes
Save an address. street, city, postal_code and country are required; label and recipient_name, optional. At most 5. Minimum role: any.
| Parameter | Type | Required | Description |
|---|---|---|---|
street, number, complement, district, city, state, postal_code, country | text | Partly | The address (country with 2 letters) |
label | text, up to 60 | No | E.g. Home |
recipient_name | text, up to 120 | No | Who receives it there |
Ask like this: "Save my home address: Rua das Flores, 45, Curitiba, ZIP 80000-000."
update_my_forwarding_address
Changes
Change an address. address_id (from list_my_forwarding_addresses); only the fields sent change. A request already made keeps the copy it took. Minimum role: any.
| Parameter | Type | Required | Description |
|---|---|---|---|
address_id | id | Yes | The address |
the address fields, label, recipient_name | text | No | What changes |
Ask like this: "Change the ZIP of the Home address to 80010-000."
delete_my_forwarding_address
Asks to confirm
Remove an address. A pending request that used it keeps its copy. The first call returns the summary and the confirmation code. Minimum role: any.
| Parameter | Type | Required | Description |
|---|---|---|---|
address_id | id | Yes | The address |
Ask like this: "Delete the Old office address."
create_parcel_request
Changes
Ask what to do with the letter. For the recipient of a letter (kind LETTER, still waiting; the person, or a current employee of the company) with an active virtual office: PICKUP (I'll pick it up), FORWARD (forward; needs address_id, and the address is copied into the request) or DISCARD (discard; who asked and when are recorded). One pending request per letter. Minimum role: any (the recipient).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The letter (from do_i_have_parcels) |
action | PICKUP, FORWARD or DISCARD | Yes | What to do |
address_id | id | With FORWARD | One of your addresses |
note | text, up to 200 | No | Note for the front desk |
Ask like this: "Forward the letter from the bank to the Home address."
cancel_parcel_request
Asks to confirm
Cancel the request. Whoever asked, or the team. A company colleague who did not ask, or whoever lost access to the space, gets the refusal with the reason. The letter stays stored. The first call returns the summary and the confirmation code. Minimum role: any (whoever asked).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The letter |
Ask like this: "Cancel the discard request for the letter from city hall."
list_parcel_requests
Read-only
The request queue. The requests of a Parcels space, pending by default (oldest first; done and canceled, newest first), with who asked, the recipient, the letter and, for a forward, the address. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
space | id or link | Yes | The Parcels space |
status | PENDING, DONE or CANCELED | No | Default PENDING |
action | PICKUP, FORWARD or DISCARD | No | Filters by request |
page, limit | number | No | Pagination (up to 100) |
Ask like this: "Which mail requests are waiting?"
complete_parcel_request
Asks to confirm
Mark as done. Closes the letter according to the request: PICKUP becomes Picked up, FORWARD becomes Forwarded (with tracking_code and carrier, optional; whoever asked gets the e-mail with the tracking) and DISCARD becomes Discarded. It asks for confirmation because it may discard the letter or send an e-mail: the summary shows the effect and the address. Minimum role: moderator (or finance).
| Parameter | Type | Required | Description |
|---|---|---|---|
parcel_id | id | Yes | The letter |
tracking_code | text, up to 80 | No | For a forward |
carrier | text, up to 80 | No | For a forward |
Ask like this: "Maria's letter was forwarded by USPS, tracking 9400100000000000000000."