Skip to main content
Glama

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

physical_create_checkout

Generate a live Stripe Pay-As-You-Go Checkout URL (Card, Apple Pay, Google Pay, Link, and Crypto when enabled) for a physical mailpiece, bulk campaign, or EDDM drop. Once paid, MCPMails automatically dispatches end-to-end.

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_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
campaignIdNo
mailpieceIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, openWorld=true, idempotent=false, and destructive=false, so the bar is lower. The description nonetheless adds real behavioral context: a live (external, open-world) Stripe URL is produced, and payment automatically triggers end-to-end dispatch, which is the key downstream side effect an agent needs. It omits URL expiry and whether repeat calls spawn duplicate checkouts, which is why it is not a 5.

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 tightly written sentences with the core capability front-loaded and the post-payment consequence second. No filler, no redundancy, and every clause carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description should compensate, and it only partly does by explaining that a URL is returned. It leaves the two parameters entirely unexplained, including which one to pass and whether they are mutually exclusive, and says nothing about URL lifetime or what happens on repeated invocation despite the non-idempotent annotation.

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 two parameters (campaignId, mailpieceId) and the description never mentions them. Critically, it does not explain the targeting choice between supplying a campaignId versus a mailpieceId, which is the main invocation decision for this tool. With zero coverage in both schema and description, this is a clear gap.

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 uses a specific verb+resource pair: generating a live Stripe Pay-As-You-Go Checkout URL, and names the supported entities (physical mailpiece, bulk campaign, EDDM drop). It implicitly distinguishes itself from physical_create_crypto_payment by calling out 'Crypto when enabled' as a payment option within this checkout rather than a separate flow. It stops short of naming a sibling it is not, which keeps it at 4 rather than 5.

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 description tells the agent what the tool is for and that payment triggers automatic dispatch, which implies usage context. It does not say when to prefer physical_create_crypto_payment over this tool, whether a checkout must precede dispatch, or what preconditions (e.g., existing campaign) apply. Usage is implied rather than explicitly scoped.

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