Skip to main content
Glama

Create a broadcast

create_broadcast

Create a broadcast.

Creates a draft. The from address must belong to a verified domain of your team and audience_id to one of your audiences.

Requires a full_access API key. API: POST /broadcasts (operationId createBroadcast, Broadcasts).

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": {
      "audience_id": "<audience_id>",
      "from": "<from>",
      "subject": "<subject>"
    },
    "name": "create_broadcast"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromYesAn email address, optionally with a display name: `Acme <hello@acme.com>`. At most 998 characters, display name included. A display name can't contain `<`, `>` or an encoded word, and a `from` name can only show an email address on one of your verified domains.
htmlNo
nameNoInternal name
textNo
subjectYes
reply_toNo
audience_idYes
preview_textNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / from / description
      Previous value: -"An email address, optionally with a display name: `Acme <hello@acme.com>`."New value: +"An email address, optionally with a display name: `Acme <hello@acme.com>`. At most 998 characters, display name included. A display name can't contain `<`, `>` or an encoded word, and a `from` name can only show an email address on one of your verified domains."
    • addedInput schema / properties / from / maxLength
      Added value: +998
    • changedInput schema / properties / reply_to / oneOf
      Previous value: -[
      -  {
      -    "description": "An email address, optionally with a display name: `Acme <hello@acme.com>`.",
      -    "examples": [
      -      "Acme <hello@acme.com>"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "items": {
      -      "description": "An email address, optionally with a display name: `Acme <hello@acme.com>`.",
      -      "examples": [
      -        "Acme <hello@acme.com>"
      -      ],
      -      "type": "string"
      -    },
      -    "maxItems": 50,
      -    "minItems": 1,
      -    "type": "array"
      -  }
      -]New value: +[
      +  {
      +    "description": "An email address, optionally with a display name: `Acme <hello@acme.com>`. At most 998 characters, display name included. A display name can't contain `<`, `>` or an encoded word, and a `from` name can only show an email address on one of your verified domains.",
      +    "examples": [
      +      "Acme <hello@acme.com>"
      +    ],
      +    "maxLength": 998,
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "description": "An email address, optionally with a display name: `Acme <hello@acme.com>`. At most 998 characters, display name included. A display name can't contain `<`, `>` or an encoded word, and a `from` name can only show an email address on one of your verified domains.",
      +      "examples": [
      +        "Acme <hello@acme.com>"
      +      ],
      +      "maxLength": 998,
      +      "type": "string"
      +    },
      +    "maxItems": 50,
      +    "minItems": 1,
      +    "type": "array"
      +  }
      +]
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only cover the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false); the description adds real value on top by disclosing that the result is a draft and not a sent message, plus the auth scope and domain/audience ownership constraints. It does not mention that retries may create duplicates (idempotentHint=false) or what happens on validation failure, so it falls short of fully rich behavioral context.

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 core purpose, then the draft qualifier, then constraints and auth, then the API mapping — a sensible ordering with no filler. The trailing operationId/endpoint line is marginally useful metadata but borders on noise for an agent choosing a tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 8 parameters, 25% schema coverage, no output schema, and a mutation that precedes an irreversible send, the description covers the critical required-param constraints and auth but omits what the created draft can subsequently be used for and the five optional content fields. Adequate to call correctly in the happy path, incomplete for a mutation tool of this complexity.

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

Parameters3/5

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

Schema description coverage is only 25%, so the description must compensate and it partially does: it pins down the semantics of the two most failure-prone required params (`from` verified-domain rule, `audience_id` membership rule). However html, text, subject, preview_text and the name/reply_to usage are left entirely undocumented outside bare schema constraints, leaving most of the 8 parameters semantically thin.

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?

"Create a broadcast. Creates a draft." states a specific verb and resource and, crucially, qualifies it as a draft rather than a send, which separates it from the send_broadcast sibling without naming it. It stops short of explicitly routing the agent away from send_broadcast/update_broadcast, so it is clear but not maximally differentiated.

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?

Gives concrete preconditions: the `from` address must be on a verified team domain, `audience_id` must be an existing audience, and a `full_access` API key is required. That tells the agent when the call will succeed, though it never states the follow-on path (send_broadcast to deliver, get_broadcast_readiness to validate) that would complete the alternative-selection picture.

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