Skip to main content
Glama

MCPMails — Digital Email & Physical USPS Mail MCP + x402 Payment Router

physical_cancel_mailpiece

Destructive

Cancel a physical mailpiece before USPS print cutoff. Requires send scope.

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": "physical_cancel_mailpiece"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the safety profile is largely covered. The description nonetheless adds two pieces of genuinely new context: the required `send` scope (auth requirement) and the time-window dependency tied to USPS print cutoff. It stops short of saying whether a post-cutoff attempt errors or silently no-ops, which would complete the picture.

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?

Two short sentences with the action and the hard constraint front-loaded and zero filler. Nothing is padded and nothing essential is buried.

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 a one-parameter destructive mutation with rich annotations, this covers the credential requirement and the timing window, which is close to sufficient. It leaves the post-cutoff behavior and the meaning/format of `id` unstated, gaps that matter for a destructive, non-idempotent operation.

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?

Schema description coverage is 0% for the single `id` parameter, so the description carries the full burden and does not meet it. It never states that `id` is the mailpiece identifier, nor its format or where to obtain it — a meaningful ambiguity given siblings that operate on jobs, campaigns, and mailpieces alike.

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 physical mailpiece") plus the key constraint that it must happen before the USPS print cutoff. It does not name or distinguish itself from related siblings such as mail_job_cancel, so an agent must infer the boundary, but the core action is unmistakable.

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?

"Before USPS print cutoff" is a real usage condition that tells the agent when this call is still viable, which is more than most definitions offer. However, it gives no explicit when-not guidance, no statement of what happens if the cutoff has passed, and no pointer to the alternative tool for cancelling a whole job rather than one piece.

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