Skip to main content
Glama

create_email_broadcast

Destructive

Send or schedule the LIVE version of an email template from the sending event to its eligible attendees. Supply audienceProgram for a JavaScript-selected subset, with its required short description, and optional humanIds to restrict its candidates. First read get_skill_broadcast_filters and preview the exact audience settings. Without audienceProgram, sends to all eligible attendees. Null scheduledForTime starts sending immediately. Use only when the user requests this audience and timing. Returns a job ID, not delivery confirmation. After an uncertain result inspect get_email_broadcast with the returned eventId and jobId, or list_email_broadcasts if the ID is missing; never automatically create a replacement. 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>",
      "scheduledForTime": "<scheduledForTime>",
      "operationId": "<operationId>"
    },
    "name": "create_email_broadcast"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailIdYesTemplate ID from list_email_templates in the selected event library.
eventIdYesSending event ID from list_email_broadcast_events.
humanIdsNoOptional explicit attendee IDs restricting a JavaScript audience. Requires audienceProgram. These are production recipients
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
audienceProgramNo
scheduledForTimeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / emailId / description
      Previous value: -"Template ID from list_email_templates in the selected event or organization library."New value: +"Template ID from list_email_templates in the selected event library."
    • removedInput schema / properties / sourceHash
      Removed value: -{
      -  "description": "Current live sourceHash from get_email_document; scheduling still resolves live content when sending starts.",
      -  "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",
      -  "sourceHash",
      -  "emailId",
      -  "scheduledForTime",
      -  "operationId"
      -]New value: +[
      +  "templateScope",
      +  "eventId",
      +  "emailId",
      +  "scheduledForTime",
      +  "operationId"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the annotations: it discloses that the return is a job ID rather than delivery confirmation, that humanIds are production recipients, that null scheduledForTime sends immediately, and that operationId replay returns the persisted outcome without re-sending. The reconciliation instructions for pending/unknown outcomes address the exact failure mode implied by destructiveHint=true and openWorldHint=true, far exceeding what those flags convey.

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?

Dense but disciplined: each sentence adds a distinct constraint (scope, audience selection, timing, idempotency, recovery), with the core send/schedule action front-loaded. It runs long and the recovery guidance is packed into two back-to-back sentences, but nothing is filler.

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 7-parameter, nested-object, destructive, no-output-schema tool, the definition covers invocation prerequisites, audience construction, timing, idempotency, return shape and post-failure reconciliation. An agent has everything needed to call it safely and to avoid a duplicate send.

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?

The description adds real meaning beyond the 57%-covered schema: the audienceProgram/humanIds dependency ('Requires audienceProgram'), the null-versus-timestamp semantics for scheduledForTime, and the identical-arguments condition on operationId reuse. Remaining gaps are minor, since templateScope, emailId and eventId provenance are already documented in the schema descriptions.

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 or schedule the LIVE version of an email template from the sending event to its eligible attendees.' The 'LIVE' qualifier and 'eligible attendees' scope separate it from sibling tools like send_email_broadcast_test and create_email_draft without needing their schemas.

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 preconditions ('First read get_skill_broadcast_filters and preview the exact audience settings'), an authorization gate ('Use only when the user requests this audience and timing'), and named recovery paths ('inspect get_email_broadcast ... or list_email_broadcasts if the ID is missing; never automatically create a replacement'). It also tells the agent when the audienceProgram path applies versus the default all-attendees behavior.

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.