Skip to main content
Glama

CallMCP — Phone Call MCP Server

Cancel Email Campaign

cancel_email_campaign
DestructiveIdempotent

Stop an email campaign so nothing more is sent from it. Emails already delivered stay delivered. Needs campaign_id and the fingerprint of its current revision. Needs an owner or admin of the business.

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": {
      "business_id": "<business_id>",
      "campaign_id": "<campaign_id>",
      "fingerprint": "<fingerprint>"
    },
    "name": "cancel_email_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
business_idYesThe business that sends the email.
campaign_idYesThe campaign to stop.
fingerprintYesFingerprint of its current revision, from get_email_campaign.

Output Schema

NameRequiredDescriptionDefault
idNo
codeNo
errorNoPresent when success is false
actionNo
statusNo
successYesWhether the tool completed successfully
senderIdNo
fingerprintNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, but the description adds substantive context: already-delivered emails are unaffected, the caller must hold an owner/admin role, and the revision fingerprint must match current state. It does not say whether cancellation is reversible or whether the campaign can be relaunched, leaving a modest gap.

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?

Four short sentences, each carrying distinct information, with the core effect front-loaded and the retention caveat and prerequisites following in priority order. No filler or restatement of the 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 destructive mutation with an output schema available, the description covers the effect boundary, auth requirement, and revision precondition well. It leaves unspecified whether the campaign can be relaunched or restored afterwards, which is the main thing an agent might still need to reason about.

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 100% schema description coverage, the schema already documents all three parameters. The description restates that campaign_id and the current-revision fingerprint are required, reinforcing (but not extending) the fingerprint's concurrency-control meaning. Baseline 3 applies since the schema does the heavy lifting.

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 states a specific verb and resource ('Stop an email campaign') and immediately scopes the effect ('nothing more is sent from it'), which clearly separates it from draft/approve/launch siblings. It stops short of naming any sibling tool explicitly for differentiation, but the action is unambiguous.

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?

It gives clear preconditions for use: an existing campaign with a known current revision, and an owner/admin role on the business. There is no explicit when-not-to-use clause (e.g., how this differs from a pause or from cancelling an already-launched vs draft campaign), which keeps it out of 5 territory.

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.