Skip to main content
Glama

preview_group_mailing

Read-only

Who would receive a group e-mail right now: count, exclusions with reason (no address, invalid, duplicate), and the subject/text as the first recipient would get it. Consent is checked at sending time, so revoked people are counted here and skipped later. Required: id.

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": {
      "id": "<id>"
    },
    "name": "preview_group_mailing"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesID of the group mailing to preview

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / id / description
      Added value: +"ID of the group mailing to preview"
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, but the description goes further by disclosing a non-obvious behavioral divergence: revoked recipients are counted in the preview yet skipped at send time because consent is evaluated at sending. It also spells out what the response contains (count, exclusion reasons such as no address, invalid, duplicate, and the first recipient's rendered subject/text), which matters because there is no output schema.

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?

Three tight sentences, front-loaded with the outcome (who would receive it) before the caveat. Every clause carries information — no filler, no restating the tool name.

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 one-parameter read tool with no output schema, the description covers the return shape and the key semantic trap well. It leaves minor gaps: behavior for a nonexistent or draft/scheduled mailing ID and whether the preview is a snapshot only are not addressed.

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 coverage is 100% and the single parameter is already documented as 'ID of the group mailing to preview'. The trailing 'Required: id.' merely restates schema metadata and adds no format, sourcing, or constraint detail beyond it, so the baseline 3 applies.

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-and-resource pair (preview a group mailing) and immediately enumerates the exact scope: recipient count, exclusions by reason, and rendered subject/text. An agent can distinguish it from send_group_mailing_test or list_group_mailings without inspecting any schema.

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?

The 'right now' framing plus the consent-timing note makes the intended context clear: check the audience before an actual send. It does not explicitly name a sibling alternative or state when not to use it, so it falls short of full when/when-not guidance.

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.