Skip to main content
Glama

get_email_broadcast_preview

Read-only

Read the template document and HTML preview URL for an email broadcast. saved=true means the immutable version captured when sending started; otherwise this is the currently selected accessible template version. Preview URLs expire after one hour.

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>"
    },
    "name": "get_email_broadcast_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYes
eventIdYesSending event ID from list_email_broadcast_events.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the description's main added value is the one-hour URL expiry and the immutable-versus-current template distinction. However, 'saved=true' references a flag that appears nowhere in the input schema, leaving the agent unsure whether it is an input or a response field.

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?

Three tight sentences, front-loaded with the returned artifacts and followed by the two non-obvious behavioral facts. The only friction is the unexplained 'saved=true' reference, which costs a little clarity for little gain.

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?

With no output schema, the description does the necessary work of stating what is returned and the URL lifetime constraint. The remaining gap is the undefined jobId and the orphan 'saved' flag, which leave a caller with an undocumented required input.

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

Parameters2/5

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

Schema coverage is only 50%: eventId is documented in the schema (with a pointer to list_email_broadcast_events) while jobId has no description anywhere. The description never mentions either parameter, so it does nothing to close the coverage 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 description names a specific verb ('Read') and two concrete outputs — the template document and an HTML preview URL — scoped to an email broadcast. It is clearly distinguishable from list/send/update siblings, though it does not explicitly contrast with close cousins like show_email_preview.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no statement of when to use this instead of get_email_broadcast, show_email_preview, or get_broadcast_audience_preview. The 'saved=true' clause hints at a selection context but does not tell the agent which conditions should route it here.

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.