Skip to main content
Glama

Reply to mailbox thread

reply_to_mailbox_thread
Destructive

Message the people on an organization mailbox thread — a reply sent from the organization mailbox. kind + thread_id identify the thread from list_mailbox: INVITATION (thread_id = event_id), CREW_OFFER (offer_id), or AVAILABILITY_REQUEST (request_id). recipients picks who gets it: pending (default — people who have not answered), responded (accepted/declined, or available/unavailable on availability threads), or all; user_ids narrows further. The reply goes by channel SMS (sms_body) or EMAIL (email_subject + email_body) through the same delivery as send_message, tagged to the thread's gig. Only recipients with a Soundcheck user id can be reached (external email-only invitees are skipped). Messages real people, so it is confirmation-gated — the summary states exactly how many people will be messaged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>",
      "thread_id": "<thread_id>",
      "channel": "<channel>"
    },
    "name": "reply_to_mailbox_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesthread kind from list_mailbox
channelYesdelivery channel
sms_bodyNorequired when channel is SMS
user_idsNoonly these people on the thread
thread_idYesevent_id for INVITATION, offer_id for CREW_OFFER, request_id for AVAILABILITY_REQUEST
email_bodyNorequired when channel is EMAIL
recipientsNowho gets the reply: pending (default) is people who have not answered; responded is people who accepted or declined, or said available or unavailable on an availability thread; all is both
email_subjectNorequired when channel is EMAIL
organization_idNoorganization to act in, an id from get_me; omit to use your active organization
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed

Output Schema

NameRequiredDescriptionDefault
okYestrue on success (including confirmation_required prompts)
dataNowhen the tool asks first: { status: "confirmation_required", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { failed_count, results [{ email, error_message, phone_number, result, success, type, user_id }], successful_count, total_requested } }
errorNowhen ok is false

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedInput schema / properties / organization_id / description
      Previous value: -"defaults to your active organization"New value: +"organization to act in, an id from get_me; omit to use your active organization"
    • changedInput schema / properties / recipients / description
      Previous value: -"pending (default) | responded | all"New value: +"who gets the reply: pending (default) is people who have not answered; responded is people who accepted or declined, or said available or unavailable on an availability thread; all is both"
    • addedInput schema / properties / thread_id / minLength
      Added value: +1
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / properties / data / description
      Previous value: -"tool payload (API/composite/confirmation object); object, array, or primitive JSON"New value: +"when the tool asks first: { status: \"confirmation_required\", confirmation_token, summary, expires_in_seconds, instructions } and nothing is changed; once confirmed, the API response { status (HTTP status), data: { failed_count, results [{ email, error_message, phone_number, result, success, type, user_id }], successful_count, total_requested } }"
  2. Added

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already flag destructive/non-idempotent/open-world, but the description adds material behavior: the two-step confirmation_token flow with 'the summary states exactly how many people will be messaged', the reachability limit that external email-only invitees are skipped, and that delivery matches send_message and is tagged to the thread's gig. It does not cover failure modes (e.g., no pending recipients, partial delivery), keeping it at 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action before the mechanical detail of kind/thread_id, then recipients, then channel, then the confirmation caveat — a sensible order. The prose is dense and largely earns its place, though the long compound sentences around channel and delivery could be tighter.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter mutation with 3 required fields and a confirmation handshake, the description covers thread identification, recipient targeting, channel selection, delivery semantics, and gating — plus an output schema exists for return values. Only minor operational details (behavior when the recipient set is empty, whether the reply lands visibly in the thread) are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100% and the schema already documents the kind→thread_id mapping, the recipients enum meanings, the channel-conditional body fields, and the confirmation_token protocol. The description restates the recipients and channel pairing in prose, which reinforces but does not extend the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Message the people on an organization mailbox thread — a reply sent from the organization mailbox') and pins down scope: a reply on an existing thread rather than a new message, obtained via list_mailbox. An agent can distinguish this from send_message and from the respond_to_* tools purely from the description.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It tells the agent where thread_id and kind come from ('identify the thread from list_mailbox'), which is real routing guidance, and explains the confirmation-gated flow for messaging real people. It stops short of explicitly stating when NOT to use this tool (e.g., use send_message for a fresh message, respond_to_invitation to answer as a recipient), so it falls just short of the top band.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.