Skip to main content
Glama

EventPass

Send broadcast email

send_broadcast
Idempotent

Send one email to every buyer with a CONFIRMED order for an event — each personalized with their own name and ticket details. Email only (no WhatsApp for freeform broadcasts). At most 200 recipients per call; larger audiences must use the dashboard. Broadcasts are limited to 3 per hour per organization, shared with the dashboard. Call once to preview (confirm defaults to false): the preview shows the exact subject, the message, and the recipient count. Show the preview to the user, then call again with confirm=true and the same idempotency_key to send.

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": {
      "event_id": "<event_id>",
      "subject": "<subject>",
      "body": "<body>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "send_broadcast"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYesEmail body (1–20,000 characters). Use {buyer_name}, {event_title}, {event_date}, {entry_code} for personalization.
confirmNoSet to true ONLY after showing the preview to the user and getting their approval. Default false: returns a preview of exactly what would happen and changes nothing.
subjectYesEmail subject (max 200 characters).
event_idYesEvent ID from list_my_events
idempotency_keyYesA unique key for this write (e.g. a UUID). REQUIRED. Reuse the exact same key if you retry this call — a replay returns the original result instead of executing again. A retry with a different key (or none) may create a second event or send a second broadcast.
organization_idNoOrganization ID. Required when you belong to several organizations — use list_my_organizations to see them. Omit it when you belong to exactly one.

Output Schema

NameRequiredDescriptionDefault
sentNo
previewYes
skippedNo
subjectNo
summaryNo
replayedNo
confirm_requiredNo
total_recipientsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover readOnly/openWorld/idempotent/destructive flags; the description adds genuinely new operational facts — the 200-recipient cap, the 3-per-hour per-organization limit shared with the dashboard, and the fact that a preview call changes nothing. It also clarifies that the preview returns the exact subject, message and recipient count.

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 action and audience are front-loaded, followed by constraints and then the workflow, so the structure is logical. It is dense but every sentence carries a distinct constraint; the closing preview/confirm sentence is the longest but still earns its place.

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?

For a high-impact, open-world write tool with an output schema already present, the description covers everything an agent needs: channel restriction, audience definition, size and rate limits, and the mandatory preview-confirm protocol. Nothing material is left unspecified.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns above that by describing the cross-parameter contract — confirm defaults to false and must be paired with the same idempotency_key on the second call. The recipient-scope semantics of event_id (confirmed buyers only) are also clarified beyond the schema's 'Event ID from list_my_events'.

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?

Opens with a specific verb and resource ('Send one email to every buyer with a CONFIRMED order for an event') and pins the audience precisely, including the personalization. No sibling tool does broadcasts, so the scope is unambiguous 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 Guidelines5/5

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

Explicitly routes away from alternatives ('Email only (no WhatsApp for freeform broadcasts)') and states the condition for escalating ('At most 200 recipients per call; larger audiences must use the dashboard'). It also spells out the required two-call preview-then-confirm sequence, leaving nothing to inference.

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.

Resources