Skip to main content
Glama

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

physical_create_crypto_payment

Generate an autonomous HTTP x402 + Base Mainnet USDC (eip155:8453) payment invoice for a staged physical mailpiece, bulk campaign, or EDDM drop so AI agents can pay without human checkout clicks.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "physical_create_crypto_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdNo
mailpieceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, openWorldHint=true and destructiveHint=false, so the safety profile is supplied. The description adds genuinely useful context beyond that: the invoice is x402-compatible, denominated in USDC on Base Mainnet, and requires no human checkout. It does not disclose what the invoice contains (address, amount, expiry) or that repeat calls produce new invoices, which idempotentHint=false implies and an agent needs to know.

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?

A single sentence that front-loads the verb and leads with the mechanism. It is dense with protocol jargon ('HTTP x402', 'eip155:8453') but nothing is redundant; the wording could be split for readability but no sentence is wasted.

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?

With no output schema and 0% parameter coverage, the description carries more burden than it meets: it never says what the generated invoice returns or how the optional identifiers scope it. It does cover the core mechanism (agent-payable USDC invoice on Base), which is the hardest thing for an agent to infer elsewhere.

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% and neither parameter is mentioned by name or explained. The description references the underlying entities (mailpiece, campaign, EDDM drop), which loosely maps to mailpieceId/campaignId, but it never says that both are optional, whether one must be supplied, or how they interact when both are given.

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 (Generate) and resource (payment invoice) plus the payment rail (HTTP x402, Base Mainnet USDC eip155:8453) and the objects it applies to (staged mailpiece, bulk campaign, EDDM drop). An agent can tell this creates an invoice rather than settling one, though the distinction from physical_settle_crypto_payment is only implied, not named.

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?

The phrase 'for a staged physical mailpiece, bulk campaign, or EDDM drop' implicitly tells the agent when to call it (staged items needing agent-driven payment). There is no explicit when-not condition, no mention of the settle counterpart, and no prerequisites such as whether the mailpiece must already exist or be staged.

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