Skip to main content
Glama

Message crew members

send_message
Destructive

Send your own SMS or email to chosen organization members, named by user_id. For the whole roster of a gig use broadcast_event_reminder instead. Writes to real people and is not reversible. Confirmation-gated. Set expected_recipient_count to the number of recipients.

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": {
      "recipients": "<recipients>",
      "channel": "<channel>",
      "expected_recipient_count": "<expected_recipient_count>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
channelYesSMS or EMAIL
event_idNogig to file the messages under, an id from list_events, open_gigs or my_agenda; it also identifies the organization to act in
sms_bodyNothe SMS text (required when channel is SMS)
email_bodyNoemail body (required when channel is EMAIL)
recipientsYesorg-member user ids to message (from preview_event_recipients)
email_subjectNoemail subject (required when channel is EMAIL)
confirmation_tokenNoleave empty on the first call; the server returns confirmation_required + a token, then resend the SAME args with that token to proceed
expected_recipient_countYesmust equal the number of recipients you are sending to

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. Changed8 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
    • addedInput schema / properties / channel / minLength
      Added value: +1
    • changedInput schema / properties / event_id / description
      Previous value: -"optional event to associate the messages with (also resolves org context)"New value: +"gig to file the messages under, an id from list_events, open_gigs or my_agenda; it also identifies the organization to act in"
    • addedInput schema / properties / expected_recipient_count / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / expected_recipient_count / minimum
      Added value: +-9007199254740991
    • 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. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "data": {
      +      "description": "tool payload (API/composite/confirmation object); object, array, or primitive JSON"
      +    },
      +    "error": {
      +      "description": "when ok is false",
      +      "type": "string"
      +    },
      +    "ok": {
      +      "description": "true on success (including confirmation_required prompts)",
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "ok"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint, non-idempotency, and open-world behavior, but the description adds crucial procedural context: messages go to real people, are not reversible, and the operation is confirmation-gated with a token echoed on a second call. This is behavior an agent must know beyond what the annotations state.

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?

The description is four tight sentences, front-loading the core action and the key sibling alternative before behavioral warnings. The final sentence largely repeats the schema's own constraint on expected_recipient_count, which is mild redundancy, but overall it is efficient and well ordered.

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

Completeness5/5

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

With an output schema present, rich annotations, and 100% parameter description coverage, the description supplies the remaining high-value context: the alternative for roster-wide sends, irreversibility, and the two-step confirmation-token protocol. Nothing an agent needs in order to call this destructive tool safely is missing.

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 coverage is 100%, so the schema itself documents every parameter including the confirmation_token flow and expected_recipient_count. The description only lightly reinforces recipient identification ('named by user_id') and repeats the expected_recipient_count constraint already in the schema. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

The description names a specific verb ('Send') and resource ('your own SMS or email to chosen organization members'), and explicitly distinguishes this from the roster-wide sibling broadcast_event_reminder. An agent can tell exactly what this tool does and what it is not for without opening the schema.

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 gives a clear when-to-use alternative: for the whole roster of a gig, use broadcast_event_reminder instead. The confirmation-gated flow is also signaled. It lacks explicit exclusions for other cases (e.g., external recipients), but the main routing decision is covered.

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.