Skip to main content
Glama

update_email_broadcast

Destructive

Update a scheduled production email broadcast before it starts. Supply only the fields to change; omitted fields keep their current values. Changing emailId uses the current template library unless templateScope is also supplied. The template must belong to the sending event and be accessible to the user. Set audienceProgram to null to remove it and humanIds to [] to clear explicit candidate restrictions. A new program requires its short description and preview. Uses live template content. 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": {
      "eventId": "<eventId>",
      "jobId": "<jobId>",
      "operationId": "<operationId>"
    },
    "name": "update_email_broadcast"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYes
emailIdNo
eventIdYesSending event ID from list_email_broadcast_events.
humanIdsNo
operationIdYesUnique ID for this intended delivery. Reuse it with identical arguments after a timeout. Never use a new ID to retry an uncertain send.
templateScopeNoEvent template library. Omit to keep the current library.
audienceProgramNo
scheduledForTimeNoFuture Unix timestamp in seconds. Omit to keep the current schedule.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / scheduledForTime / description
      Previous value: -"Future Unix timestamp in seconds. Required along with emailId and templateScope; all replace the saved values."New value: +"Future Unix timestamp in seconds. Omit to keep the current schedule."
    • changedInput schema / properties / templateScope / description
      Previous value: -"Template scope from get_email_broadcast or list_email_templates. Requires exactly one EventId or OrganizationId; must belong to the sending event or its owning organization."New value: +"Event template library. Omit to keep the current library."
    • 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: -[
      -  "eventId",
      -  "jobId",
      -  "emailId",
      -  "templateScope",
      -  "scheduledForTime",
      -  "operationId"
      -]New value: +[
      +  "eventId",
      +  "jobId",
      +  "operationId"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructive=true, openWorld=true and idempotentHint=false, and the description adds substantial context beyond them: omitted fields are preserved, null vs [] have distinct clearing semantics, template scope falls back to the current library, live template content is used, and operationId reuse returns the persisted outcome rather than re-sending. The operationId note is consistent with idempotentHint=false because idempotency here is keyed on a client-supplied ID, not inherent to the call. The reconciliation guidance ("never a replacement send") is exactly the kind of retry safety an agent needs for a destructive operation.

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

Conciseness5/5

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

The purpose is front-loaded, and every subsequent sentence covers a distinct behavioral rule (partial update, template scope, clearing semantics, program requirements, idempotency, reconciliation) with no repetition. It is dense but nothing is wasted or restated from the schema verbatim.

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 destructive, open-world mutation with nested objects and no output schema, the definition covers the risky areas an agent must know: partial updates, clearing, template ownership, idempotent retries and reconciliation. It does not say what happens if the broadcast has already started, and jobId semantics are left implicit, so it is strong but not airtight.

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?

With 50% schema coverage across 8 parameters, the description carries real weight: it explains the emailId/templateScope interaction, the access constraints on templates, how audienceProgram and humanIds are cleared, and what a new program requires. It adds little about eventId or jobId beyond the schema, and jobId has no schema description either, leaving one gap.

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?

The opening sentence states a specific verb and resource ("Update a scheduled production email broadcast") and adds a scope qualifier, "before it starts," that separates it from create/delete/get siblings and from a live-send path. It does not explicitly name an alternative tool, which is the only thing keeping this from a 5.

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?

Usage context is clear: this is a pre-start modification with partial-update semantics ("Supply only the fields to change"), plus prerequisites (template must belong to the sending event and be accessible to the user; a new program requires its short description and preview). It states no explicit exclusions such as which sibling to use for testing or previewing an audience, so it stops short of a 5.

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.