Skip to main content
Glama

Create a broadcast

create_broadcast
Destructive

Create a mass message to the CRM contacts of one account. Without scheduledAt it is a DRAFT: nothing goes out until send_broadcast. WITH scheduledAt it is scheduled for real: at that time it goes out to every recipient on its own, and each recipient uses one DM of the plan quota right away (on X, also X credits); if the quota does not cover them all, nothing is created. Confirm the date, the audience and the text with the user before passing scheduledAt; cancel_broadcast stops it before it goes out and returns the DMs not yet sent. Instagram and Facebook do not allow broadcasts (Meta policy), and WhatsApp requires an approved template.

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": {
      "accountId": "<accountId>",
      "name": "<name>"
    },
    "name": "create_broadcast"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesInternal name of the campaign.
tagsNoOnly contacts carrying these tags. Omit for all subscribers.
messageNo
templateNoWhatsApp only, and REQUIRED there: {"name":"approved_template","language":"es","variables":["Ana","20%"]}. The variables go in the order of the {{1}}, {{2}} placeholders. List the approved ones with list_whatsapp_templates.
accountIdYesIgnix account id that sends.
attachmentsNoMedia sent with the message: [{"url":"https://…","type":"image"}]. Types: image, video, audio, file. Whatever the network does not accept in a direct message is dropped — see dmAttachments in get_network_rules.
scheduledAtNoISO 8601. Schedules the real send for that time (no send_broadcast needed) and charges one DM of the quota per recipient now. Omit it to create a draft.
idempotencyKeyNoOptional. A unique id for this action (16-128 chars: letters, digits, _ : . -). If you are unsure whether a call went through (timeout, network error), repeat it with the SAME idempotencyKey and the same arguments: you get the original result and nothing is done twice.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / scheduledAt / description
      Previous value: -"ISO 8601 to schedule it."New value: +"ISO 8601. Schedules the real send for that time (no send_broadcast needed) and charges one DM of the quota per recipient now. Omit it to create a draft."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, openWorldHint=true), the description discloses the economically important behavior: one DM of plan quota is charged per recipient immediately, plus X credits on X, and the operation is atomic — if quota does not cover all recipients, nothing is created. It also explains the cancellation/refund path via cancel_broadcast, which an agent could not infer from the annotations alone.

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?

The draft/schedule distinction and the quota charge are front-loaded, and nearly every clause carries operational information. The paragraph is dense with semicolon-chained conditions, which slightly hurts scanability but does not waste words.

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 an 8-parameter, open-world destructive create tool with no output schema, the definition covers cost, atomicity, platform limits, cancellation and confirmation protocol. The one notable gap is what the call returns — no broadcast id or handle is mentioned — which an agent would want in order to later call send_broadcast or cancel_broadcast.

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 already 88%, so the per-parameter meanings are largely documented. The description still adds cross-parameter semantics the schema does not: the presence or absence of scheduledAt is what determines draft versus real send and when quota is charged, and the WhatsApp template obligation is framed as a hard requirement rather than a field note.

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?

The opening clause states a specific verb and resource — 'Create a mass message to the CRM contacts of one account' — including the audience scope. It immediately branches into the two modes (draft vs. real send) and names the sibling tools send_broadcast and cancel_broadcast, so an agent can place this tool precisely among its alternatives.

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?

It gives explicit when-to-use guidance for both modes: omit scheduledAt for a draft routed through send_broadcast, include it for an autonomous scheduled send. It also states prerequisites and exclusions — Instagram and Facebook are not permitted (Meta policy), WhatsApp requires an approved template — and instructs the agent to confirm date, audience and text with the user before scheduling.

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