Skip to main content
Glama
Pidgely MCP

Pidgely MCP

Official
by pidgely

Create broadcast (draft)

create_broadcast

Creates an email broadcast draft for a selected segment without sending it, so you can review and confirm before dispatch.

Instructions

Create a broadcast draft to a segment. It is NOT sent; call send_broadcast only after the user confirms. html supports {{{FIRST_NAME|fallback}}}, {{{LAST_NAME}}}, {{{EMAIL}}}, {{{contact.}}} and {{{PIDGELY_UNSUBSCRIBE_URL}}}.

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

Input Schema

NameRequiredDescriptionDefault
fromNoSender. Defaults to PIDGELY_MCP_DEFAULT_FROM.
htmlNoSupports {{{FIRST_NAME|fallback}}}, {{{LAST_NAME}}}, {{{EMAIL}}}, {{{contact.<property>}}} and {{{PIDGELY_UNSUBSCRIBE_URL}}}.
nameNoInternal name.
textNo
subjectYes
reply_toNoReply-To: one email address or a list (max 50). Plain addresses or "Name <address>".
segment_idYesSegment to send to.
preview_textNoInbox preview snippet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false and idempotentHint=false; the description adds the materially important fact that this creates an unsent draft and that sending is a separate, confirmation-gated action. It does not address what is persisted or what happens on duplicate calls, so it stops short of full behavioral disclosure.

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 action and the send-alternative, and only three short sentences. It loses a point because the merge-tag sentence duplicates the html parameter description word-for-word, which is repetition rather than added value.

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?

For an 8-parameter mutation feeding a create-then-send chain with no output schema, the definition covers purpose and the draft/send split but never says what is returned (e.g. a broadcast id needed by send_broadcast) or how optional fields like name/text/from behave. Adequate but leaves a real gap for the chained workflow.

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?

With 75% schema description coverage, the baseline is 3. The only parameter-level content in the description is the html merge-tag list, which is already reproduced verbatim in the schema's html description, so it adds essentially no meaning beyond structured data and says nothing about segment_id, subject, from or reply_to.

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?

States a specific verb (Create), resource (broadcast draft) and scope (to a segment) in the first clause, and explicitly distinguishes the result from a sent broadcast. An agent can tell it apart from send_broadcast, update_broadcast and duplicate_broadcast from the text alone.

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 an explicit when-not ('It is NOT sent') and names the alternative plus the condition that selects it ('call send_broadcast only after the user confirms'). This is a real two-step workflow rule rather than a vague hint.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.