Skip to main content
Glama
MailOdds MCP Server

MailOdds MCP Server

Official
by mailodds

cancel_campaign

DestructiveIdempotent

Stops a scheduled or currently sending email campaign by campaign ID; confirm with the user first, since sent messages cannot be recalled.

Instructions

Cancel a scheduled or sending campaign. HIGH IMPACT: Confirm with the user before calling. Already-sent messages cannot be recalled.

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": {
      "campaign_id": "<campaign_id>"
    },
    "name": "cancel_campaign"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaign_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and openWorldHint=true, so the safety profile is partly covered. The description still earns credit by adding the consequence the annotations cannot express: 'Already-sent messages cannot be recalled' tells the agent the blast radius is not fully reversible even though the cancel call itself is idempotent, and the 'HIGH IMPACT' confirmation gate is actionable pre-call behavior.

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 short sentences, front-loaded with the action, then the risk flag, then the irreversibility caveat. No sentence is redundant and nothing is buried.

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 single-parameter destructive mutation with no output schema, the description covers the action, the risk level, the confirmation requirement, and the irreversible side effect. The remaining gap is operand provenance for campaign_id, which matters because the schema documents nothing.

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

Parameters2/5

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

There is a single required parameter, campaign_id, with 0% schema description coverage and no type detail beyond 'string'. The description does not say where the id comes from (get_campaign?) or whether a name is acceptable, so the only semantic added is the implied restriction that the referenced campaign must be scheduled or sending.

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?

States a specific verb and resource (cancel a campaign) and narrows scope to 'scheduled or sending', which tells an agent this does not apply to finished campaigns. It stops short of differentiating itself from the sibling cancel_job, so an agent must infer the boundary from names alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives one explicit procedural rule ('Confirm with the user before calling'), which is real usage guidance for a destructive action. However, it never states when to prefer cancel_campaign over cancel_job or over send_campaign/schedule_campaign, so the alternative-selection question is left to inference.

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

Deploy Server

Other Tools