Skip to main content
Glama

send_email_broadcast_test

Destructive

Send an accessible live or draft email template from the selected template library to 1–10 explicitly selected event attendees, using their real signup data and email addresses. Requires email-template and guest-read permission. Sends real email to the requested test recipients. Returns a broadcast job ID. After an uncertain error, inspect get_email_broadcast with the eventId and jobId from the result or error; use list_email_broadcasts if the ID is missing. Do not automatically repeat the send. Supply operationId; repeating it with identical arguments returns its persisted outcome without sending again. Pending or unknown outcomes require reconciliation, never a replacement 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": {
      "templateScope": "<templateScope>",
      "eventId": "<eventId>",
      "emailId": "<emailId>",
      "version": "<version>",
      "humanIds": "<humanIds>",
      "operationId": "<operationId>"
    },
    "name": "send_email_broadcast_test"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailIdYes
eventIdYesSending event ID from list_email_broadcast_events.
versionYeslive or an accessible version from list_email_templates or get_email_document.
humanIdsYesExplicit event attendee IDs to receive this test. Never omit or use an empty list.
operationIdYesUnique ID for this intended delivery. Reuse it with identical arguments after a timeout. Never use a new ID to retry an uncertain send.
templateScopeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / sourceHash
      Removed value: -{
      -  "description": "Current sourceHash of the selected version from get_email_document.",
      -  "type": "string"
      -}
    • addedInput schema / properties / templateScope / properties / EventId / minLength
      Added value: +1
    • removedInput schema / properties / templateScope / properties / OrganizationId
      Removed value: -{
      -  "type": "string"
      -}
    • addedInput schema / properties / templateScope / required
      Added value: +[
      +  "EventId"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "templateScope",
      -  "eventId",
      -  "emailId",
      -  "version",
      -  "sourceHash",
      -  "humanIds",
      -  "operationId"
      -]New value: +[
      +  "templateScope",
      +  "eventId",
      +  "emailId",
      +  "version",
      +  "humanIds",
      +  "operationId"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, and the description adds real value on top: it says plainly that it sends real email to real recipients, states the required email-template and guest-read permissions, discloses that a broadcast job ID is returned, and defines the idempotency keying behavior (reusing operationId with identical arguments returns the persisted outcome without resending). The operationId mechanism qualifies the idempotentHint=false annotation rather than contradicting it — the tool is not automatically idempotent, but is explicitly keyed.

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-loaded with the purpose and recipient scope, then the permission requirement, the side effect, the return value, and finally the failure-recovery protocol. Every sentence carries operational weight for a destructive send. It is dense in places (the operationId guidance repeats across description and schema), but the repetition is defensible given the stakes.

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 no output schema, the description still discloses the return value (a broadcast job ID), the permission prerequisites, the real-send side effect, and a complete reconciliation path for uncertain, pending, and unknown outcomes. For a destructive, open-world send operation, an agent has everything needed to call it safely and to recover from failure correctly.

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 67%, and the description closes most of the gap: it constrains humanIds to 1–10 explicit attendees with real signup data, explains version as live or an accessible template version, and gives the full retry contract for operationId. The one unexplained element is templateScope, whose nested EventId overlaps with the separate eventId parameter and is never mentioned in prose.

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

Purpose4/5

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

States a specific verb and resource (send an accessible live or draft email template) plus precise scope: 1–10 explicitly selected event attendees, using their real signup data. An agent immediately knows this is a real-send test to real attendees. It does not explicitly differentiate from the sibling send_email_template_test, so the boundary between the two test paths is left to inference.

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?

Gives explicit when-to-use conditions (explicitly selected attendees, 1–10), explicit prohibitions (do not automatically repeat the send, never a replacement send), and names the recovery alternatives with the exact IDs to pass: get_email_broadcast with eventId/jobId, or list_email_broadcasts if the ID is missing. The retry contract around operationId is spelled out rather than inferred.

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.