Skip to main content
Glama

PostAgent — Print and Mail

Server Details

Print and mail physical letters and postcards to US postal addresses, plus address verification. Upload PDF/HTML/Markdown/text/DOCX/image documents, get a quote, and pay per call with x402 USDC on Base mainnet or credit card. Supports certified/registered mail with proof of delivery and mail-merge templates.

Status
Healthy
Last Tested
Transport
Streamable HTTP
URL

Glama MCP Gateway

Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.

MCP client
Glama
MCP server

Full call logging

Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.

Tool access control

Enable or disable individual tools per connector, so you decide what your agents can and cannot do.

Managed credentials

Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.

Usage analytics

See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.

100% free. Your data is private.
Tool DescriptionsA

Average 4.5/5 across 13 of 13 tools scored. Lowest: 3.7/5.

Server CoherenceA
Disambiguation5/5

Each tool targets a distinct aspect of the print/mail workflow (campaigns, individual letters, postcards, templates, payment methods, status, address verification). No two tools have overlapping purposes.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case (e.g., create_campaign_quote, get_mail_job_status, verify_address). Even longer names like pay_mail_with_shared_payment_token adhere to the pattern.

Tool Count5/5

With 13 tools, the server covers the core functions of a print and mail service without being overwhelming. Each tool serves a clear and necessary purpose.

Completeness4/5

The tool surface covers the full lifecycle: document creation, quoting, payment (multiple methods), and status tracking. Minor gaps exist (no tool to cancel or list past jobs), but the core workflows are solid.

Available Tools

14 tools
check_postagent_updatesCheck latest PostAgent skill and MCP versionsA
Read-onlyIdempotent
Inspect

Fetches the live PostAgent agent manifest. Call this before using PostAgent in a new session, after reconnecting the MCP server, or when an installed PostAgent skill may be stale. If the installed skill is older than latestSkillVersion, read latestSkillUrl and follow those instructions for this turn; if updateRequired is true, do not perform paid or irreversible PostAgent actions until the user updates.

ParametersJSON Schema
NameRequiredDescriptionDefault
installedMcpVersionNoVersion advertised by the connected PostAgent MCP server, if known.
installedSkillVersionNoVersion from the installed PostAgent SKILL.md frontmatter, if known.
Behavior5/5

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

Annotations already indicate readOnly and idempotent. Description adds context on safe repeated calling and how to interpret response for updates, enhancing transparency.

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 sentences with high information density. No extraneous content.

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

Completeness5/5

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

Provides complete guidance for usage and response interpretation. No gaps given simplicity of tool.

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?

Schema covers both parameters fully (100%). Description doesn't add meaning beyond schema, but does not detract.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states it fetches the live PostAgent agent manifest to check for updates. Distinguishes from siblings by specific domain.

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

Usage Guidelines5/5

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

Explicitly says when to call: before using PostAgent in a new session, after reconnecting, or when skill may be stale. Also provides conditional actions based on response fields.

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

create_campaign_quoteGet a locked price quote for a bulk mail campaign (KYC required)AInspect

Quote ONE bulk send to MANY recipients (up to 500): a single template or static document, fulfilled through PostAgent's campaign workflow. Price is an inclusive customer-facing total, locked for 15 minutes. Payment is x402 ONLY.

IMPORTANT — KYC WALL: campaigns require the paying wallet to be identity-verified with PostAgent. Verification is operator-run, not self-serve: until the wallet is verified this tool returns kyc_required (403). Do not retry the same wallet — instead either mail recipients individually with create_mail_quote, or request campaign access at https://interpretai.tech/contact (this URL is also returned in the 403's details.contactUrl) to get the wallet enabled.

Usage once the wallet is verified: upload a template with create_template (using {{fields}}) or a finished letter with create_letter, then call this with recipients (each to a US address, plus per-recipient mergeVariables for templates) and the payerWallet that will pay the quote. The print partner validates every recipient address after payment; failed recipients are excluded and their share refunded (processed manually). Track via get_campaign_status.

ParametersJSON Schema
NameRequiredDescriptionDefault
fromNoUS sender/return address. Required unless the server has a fallback.
nameNoCampaign name (for your records).
optionsNo
documentIdYesTemplate (html_template) or finished letter (pdf) documentId.
recipientsYesOne entry per recipient (1-500).
payerWalletYesThe x402 wallet that will pay this quote. Must be KYC-verified with PostAgent (re-checked at payment against the wallet that actually signs).
Behavior4/5

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

Adds context beyond annotations: KYC requirement, 15-minute lock, x402 payment, address validation after payment, refund process. No contradictions.

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?

Front-loaded with key purpose and constraints. Could be slightly more concise, but well-organized with clear sections.

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?

Lacks output schema and doesn't describe successful return value (e.g., quote ID). Adequate for usage but incomplete for expected response.

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

Parameters4/5

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

Adds meaning beyond schema: explains documentId source, recipient mergeVariables for templates, payerWallet KYC requirement. Schema coverage is high (83%), so baseline is met.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it gets a locked price quote for a bulk mail campaign. It distinguishes from siblings like create_mail_quote for individual sends and references related tools.

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

Usage Guidelines5/5

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

Explicitly describes when to use (bulk send, after template/letter) and when not (if wallet not KYC'd, use individual mailing). Includes alternative action and contact URL.

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

create_card_checkoutCreate a hosted credit-card checkout link for a quoteAInspect

Creates a Stripe-hosted Checkout page for a locked quote and returns a checkoutUrl plus a statusUrl. Use this as the LAST-RESORT payment rail, when the payer is a human paying by credit card (the agent cannot complete card entry itself). Hand the checkoutUrl to the user to open in a browser and pay; payment is asynchronous — once they finish, the letter is created automatically by Stripe's webhook. To track it without a job id, GET the returned statusUrl (/v1/quotes/:quoteId/job): it returns found:false with status pending/processing until the webhook creates the job, then the full job (id, status, tracking). Prefer x402 (or MPP, if available) for autonomous agent payment. Returns an error if Stripe Checkout is not enabled on the server. No charge occurs until the human completes the hosted page.

ParametersJSON Schema
NameRequiredDescriptionDefault
quoteIdYes
webhookUrlNoOptional caller-controlled webhook URL to receive job status updates.
Behavior5/5

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

The description discloses key behavioral traits beyond annotations: payment is asynchronous, letter created via webhook, tracking via statusUrl, error if Stripe not enabled, no charge until human completes. These details are not present in the annotations (readOnlyHint=false, openWorldHint=true, etc.) and provide essential transparency for an agent using this tool.

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?

The description is well-structured and front-loaded with the main purpose. Each sentence serves a purpose: explaining the output, usage guidelines, asynchronous flow, tracking, errors, and alternatives. Despite length, it is efficient and contains no wasted words.

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

Completeness5/5

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

Given the tool's complexity (human payment, asynchronous, webhook, tracking), the description covers all necessary aspects: what it does, how to use, expected behavior, error conditions, and tracking mechanism. No output schema exists, but the description explicitly states return values and what the statusUrl returns, making it complete.

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?

Schema coverage is 50% (only webhookUrl has a description). The description adds that quoteId must be a locked quote, which is useful but not a full description of the parameter. It does not elaborate on webhookUrl beyond what the schema provides. While it adds some meaning, it doesn't fully compensate for the missing parameter descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool creates a Stripe-hosted Checkout page for a locked quote and returns checkoutUrl and statusUrl. It distinguishes from siblings by explicitly labeling it as a last-resort payment rail for human credit card payments, contrasting with autonomous agent payment methods like x402 or MPP.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: 'Use this as the LAST-RESORT payment rail, when the payer is a human paying by credit card' and 'Prefer x402 (or MPP, if available) for autonomous agent payment.' It also explains the asynchronous flow and how to track payment, giving clear when-to-use and when-not-to-use criteria.

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

create_letterUpload a finished letter (identical content, no mail merge)AInspect

Upload and normalize a FINISHED, ready-to-mail document to PDF. Choose this when the content is final and IDENTICAL for every recipient — including when you mail the same letter to many people (just quote/pay once per recipient with the same documentId). The exact bytes you give are what gets printed. Use create_template instead only when the content must vary per recipient via {{fields}}. Returns a documentId, the stored page count, byte size, and source format. Free; no payment required.

Provide the document EXACTLY ONE way: content (inline text, for html/markdown/text), contentBase64 (base64-encoded binary, for pdf/docx/image), or url (a publicly reachable URL the server fetches). Supplying none, or more than one, is an error. Maximum upload size is 31457280 bytes (~30 MB); output page size is US Letter.

Any {{...}} text is printed LITERALLY here — it is NOT treated as a merge field. If you want personalized mail merge across recipients, use create_template instead.

Reserved address zone: a recipient address block is printed over the top ~3 inches of page 1, so the server reserves that space for you automatically. For text/html/markdown/docx, page-1 content is pushed below the block (content may therefore flow onto an additional page); for pdf and image inputs, a blank first page is prepended. As a result the returned page count — and the selected-provider cost behind the resulting quote — can be higher than your source document (e.g. a single-page PDF is stored as 2 pages). You do NOT need to leave the top of your document blank yourself. See the postagent://formats resource for per-format details.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNoPublic URL the server will fetch the document from. Provide exactly one source.
formatNoSource format. Inferred from contentType/filename/content when omitted; inline `content` with no format defaults to text.
contentNoInline text content (html, markdown, or text). Provide exactly one source.
filenameNoOptional original filename; used to help infer the source format.
contentBase64NoBase64-encoded binary content (pdf, docx, image). Provide exactly one source.
Behavior5/5

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

Describes critical behaviors: literal treatment of {{...}}, reserved address zone with page handling details for different formats, potential extra page/cost implications, and exact bytes printed. Annotations add less context.

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?

Although lengthy, each sentence provides necessary detail. Structured logically: purpose, usage, technical constraints. Could be slightly more concise but justified for complexity.

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

Completeness5/5

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

Thoroughly covers input constraints, output (documentId, page count, etc.), free usage, error conditions, and refers to additional resource for format details. No output schema but description compensates.

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

Parameters4/5

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

Schema coverage is 100% with parameter descriptions, but the description adds value by explaining the 'exactly one source' constraint, maximum upload size, output page size, and format inference.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it uploads and normalizes a finished, ready-to-mail document to PDF, specifies identical content for all recipients, and distinguishes from create_template for variable content.

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

Usage Guidelines5/5

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

Explicitly says when to use (final, identical content) and when not (use create_template for varied content). Provides detailed instructions on providing exactly one source and mentions free of charge.

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

create_mail_quoteGet a locked price quote for a print-and-mail jobAInspect

Verifies the recipient and sender US addresses and locks a 15-minute USDC price for a documentId. Does not charge or mail anything. Returns a paymentUrl (a per-quote x402-payable URL); the preferred way to actually mail the letter is for the agent's wallet to perform an in-band x402 payment against that URL (e.g. npx awal@latest x402 pay <paymentUrl>). The MCP submit_paid_mail_job tool is a fallback for clients that can emit a standalone signature header. In all cases, show the recipient, sender, options, selected-route design constraints, price, AND any fulfillment.warnings to the user and get explicit confirmation before paying. The response includes a fulfillment block with requested (what you asked for), selected (what will actually be printed/mailed) and warnings (any soft-preference downgrades — e.g. service_level_downgraded or extra_service_unavailable); do not pay through a non-empty warnings list without re-confirming the trade-off with the user. The response also includes a provider-neutral design block; inspect it and the preview before paying because the selected delivery method determines print address/no-ink zones.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient's US postal address.
fromNoSender/return address. Required unless the server has a fallback configured.
optionsNo
documentIdYesID returned by create_letter (finished document) or create_template (mail-merge template) for the piece to mail.
mergeVariablesNoValues for a template document's {{merge fields}}, e.g. { "name": "Jane", "amount": "$42.00" }. Required when documentId refers to an html_template: every field listed in that document's mergeFields must have a non-empty value, or the quote is rejected. The server substitutes these into the template and renders this recipient's personalized PDF, so the quoted page count and price reflect the final content. Omit for plain (non-template) documents.
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, meaning the tool is not read-only and not destructive. The description adds that it does not charge or mail, locks a 15-minute price, and returns a paymentUrl. It also explains the fulfillment block and warnings behavior, which goes beyond annotations.

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?

The description is lengthy but every sentence adds value; it is front-loaded with the main purpose and then provides necessary details. It could be slightly more concise, but the structure is logical and informative.

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

Completeness5/5

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

Despite no output schema, the description thoroughly explains the response structure (fulfillment, design, paymentUrl) and provides critical safety steps (confirm warnings, inspect design, user confirmation). It covers all necessary context for correct usage.

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?

Schema coverage is 80%, with most parameters already well-described in the schema. The description adds context about mergeVariables for templates and the need to inspect fulfillment.warnings, but does not significantly enhance parameter understanding beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: it verifies addresses, locks a 15-minute USDC price, and does not charge or mail. It distinguishes from sibling tools like submit_paid_mail_job and pay_mail_with_shared_payment_token, and specifies it returns a paymentUrl for x402 payment.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: prefer x402 payment via wallet, use submit_paid_mail_job as fallback, and require user confirmation before paying, especially if warnings exist. It also advises inspecting design and preview before paying.

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

create_postcard_artUpload postcard artwork (front or back)AInspect

Upload ONE side of a postcard (front or back) as single-page PDF, PNG, or JPEG artwork. The file is stored VERBATIM — no page-size normalization and no reserved address zone — so you are responsible for the correct trim size plus bleed: 4x6 cards need 4.25"x6.25" artwork, 6x9 needs 6.25"x9.25", 6x11 needs 6.25"x11.25" (0.125" bleed on each edge). The selected delivery method prints the recipient address block over part of the BACK, so keep that area clear of critical content and review the quote's design block before payment. Returns a documentId with kind "postcard_art". Upload front and back separately, then quote with create_postcard_quote. Free; no payment required.

Provide the artwork EXACTLY ONE way: contentBase64 (base64-encoded pdf/png/jpeg) or url (publicly reachable). Text-based formats are rejected — postcards are artwork, not documents.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNoPublic URL the server fetches the artwork from.
formatNoArtwork format; inferred from content when omitted.
filenameNo
contentBase64NoBase64-encoded single-page PDF, PNG, or JPEG artwork.
Behavior5/5

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

The description discloses critical behaviors beyond annotations: file is stored verbatim with no page normalization or reserved address zone, required trim sizes with bleed, that the delivery method prints over the back, and that text-based formats are rejected. This provides necessary context beyond the annotation hints (readOnlyHint false, etc.).

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?

The description is comprehensive yet concise, front-loading the core action and then providing necessary details (trim sizes, bleed, address zone) in a structured manner. Every sentence adds value without redundancy.

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

Completeness5/5

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

Given the tool has 4 parameters, no output schema, and moderate complexity, the description covers the return value (documentId with kind 'postcard_art'), the overall workflow (upload then quote), and detailed specifications for artwork dimensions and address area. It is sufficiently complete for an AI agent to use correctly.

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

Parameters4/5

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

With 75% schema description coverage, the description adds value by clarifying that contentBase64 must be base64-encoded pdf/png/jpeg, url must be publicly reachable, and format can be inferred. The filename parameter lacks a schema description but the tool description does not elaborate, so the score is slightly above baseline due to useful extra context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it uploads one side of a postcard (front or back) as single-page PDF/PNG/JPEG artwork. It differentiates from sibling tools by mentioning that uploading front and back separately is followed by create_postcard_quote, making its role distinct.

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?

The description gives explicit usage instructions: upload one side at a time, use exactly one of contentBase64 or url, then quote with create_postcard_quote. It also notes that the tool is free. However, it could be more explicit about when not to use it or alternatives, but it's still clear.

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

create_postcard_quoteGet a locked price quote for printing and mailing a postcardAInspect

Verifies the recipient and sender addresses and locks a 15-minute USDC price for mailing a postcard built from two postcard_art documents (front + back, uploaded via create_postcard_art). Sizes: 4x6 (default), 6x9, 6x11 — postcards always print in full color. US recipients use the strict US address shape; INTERNATIONAL recipients are supported on 4x6 only (set to.country to the 2-letter ISO code; the sender must still be a US address). Payment works exactly like letters: pay the returned paymentUrl via x402, or use the MPP/checkout fallbacks. Show the recipient, sender, size, selected-route design constraints, price, AND any fulfillment.warnings to the user and get explicit confirmation before paying — service level is a soft preference and may have been downgraded (e.g. international economy is upgraded to standard) with a service_level_downgraded warning the agent must surface verbatim.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesRecipient address.
fromNoUS sender/return address. Required unless the server has a fallback configured.
optionsNo
backDocumentIdYesdocumentId of the BACK artwork (kind postcard_art). The print partner prints the recipient address block over part of the back.
frontDocumentIdYesdocumentId of the FRONT artwork (kind postcard_art).
Behavior5/5

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

The description discloses multiple behavioral traits beyond annotations: 15-minute price lock, address verification, size restrictions, payment flow, service-level downgrade warnings, and the need for explicit user confirmation. This adds significant value beyond the readOnlyHint and openWorldHint annotations.

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?

The description is front-loaded with the core purpose and efficiently structures details. Every sentence adds value, though some repetition (e.g., payment flow) could be streamlined. Still well-organized for the complexity.

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

Completeness5/5

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

Given the tool's complexity (nested objects, no output schema), the description covers all essential aspects: address verification, size options, international rules, payment mechanisms, service level downgrade warnings, and user confirmation instructions. It enables correct agent invocation.

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

Parameters5/5

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

Schema coverage is 80%, and the description adds critical meaning: distinguishes front/back document IDs, explains default size, constrains international to 4x6, and clarifies that sender must be US. This compensates well for any schema gaps.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb-resource combination: it verifies addresses and locks a 15-minute USDC price for mailing a postcard. It clearly distinguishes from sibling tools like create_letter by focusing on postcards and requiring two postcard_art documents.

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?

The description provides clear context for when to use the tool (after creating postcard_art) and includes constraints (e.g., international only on 4x6). It does not explicitly name alternatives, but the specificity makes usage clear.

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

create_templateUpload a mail-merge template (content varies per recipient)AInspect

Upload a REUSABLE template containing {{field}} placeholders (e.g. Dear {{name}}, or Balance due: {{amount}}). Choose this ONLY when the content must vary per recipient (mail merge) — recipient count is irrelevant, so a single personalized letter belongs here too. If the content is identical for everyone, use create_letter instead (this tool rejects input with no {{fields}}). Returns a documentId with kind: "html_template", a mergeFields list of the detected field names, and an estimatedPageCount. Free; no payment required.

Template source must be TEXT-BASED (html, markdown, or text) and must contain at least one {{field}}, or the upload is rejected — for a finished document with no merge fields, use create_letter.

Provide the template EXACTLY ONE way: content (inline text), contentBase64 (base64-encoded text), or url (a publicly reachable URL the server fetches). Supplying none, or more than one, is an error. Maximum upload size is 31457280 bytes (~30 MB); output page size is US Letter.

Reuse one template documentId across recipients: call create_mail_quote ONCE PER RECIPIENT, supplying that recipient's values via mergeVariables (every field in mergeFields must have a non-empty value). The server substitutes the values and renders that recipient's personalized PDF at quote time, so estimatedPageCount is only a baseline — the binding page count and price are set per quote from the actual rendered output.

Reserved address zone: a recipient address block is printed over the top ~3 inches of page 1, so the server reserves that space automatically (page-1 content is pushed below the block and may flow onto an additional page). You do NOT need to leave the top blank yourself. See the postagent://formats resource for details.

ParametersJSON Schema
NameRequiredDescriptionDefault
urlNoPublic URL the server will fetch the document from. Provide exactly one source.
formatNoTemplate source format (text-based only). Inferred when omitted; inline `content` defaults to text.
contentNoInline text content (html, markdown, or text). Provide exactly one source.
filenameNoOptional original filename; used to help infer the source format.
contentBase64NoBase64-encoded binary content (pdf, docx, image). Provide exactly one source.
Behavior5/5

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

Discloses key behaviors beyond annotations: rejection if no {{field}}, error for multiple or no sources, reserved address zone, server fetching behavior, maximum upload size, and return values. No contradiction with annotations.

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?

Well-structured with clear sections and front-loaded key decision points. Though slightly verbose, every sentence adds value and no redundancy.

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

Completeness5/5

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

Thorough coverage of input constraints, output fields, error conditions, and special behaviors (address zone). References external resource for deeper detail, making it complete for agent usage.

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

Parameters4/5

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

Adding value beyond 100% schema coverage by explaining mutual exclusivity of sources, default format inference, and usage rules. Schema already covers each parameter well, so the description enhances rather than compensates.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: uploading reusable templates with {{field}} placeholders for mail merge. It explicitly distinguishes from sibling tool create_letter by specifying when to use each.

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

Usage Guidelines5/5

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

Provides explicit when-to-use and when-not-to-use guidance, naming the alternative (create_letter) and explaining that content without merge fields should use that tool. Also covers input source constraints and reuse instructions.

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

get_campaign_statusGet the status of a bulk mail campaignA
Read-onlyIdempotent
Inspect

Returns a campaign's validation/sending progress: status (validating | sent | partial | failed), recipient counts (total / validated / failed), and a failures report URL when some recipients could not be validated. Polling this endpoint also advances the campaign (it releases the campaign for mailing once the print partner finishes validating the audience). Find the campaign id on the quote's job status (GET jobStatusUrl) after payment.

ParametersJSON Schema
NameRequiredDescriptionDefault
campaignIdYesCampaign id (cmp_…).
Behavior1/5

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

Description states polling advances the campaign, contradicting annotations readOnlyHint=true and idempotentHint=true. This is a serious inconsistency as the tool modifies state despite being marked read-only.

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?

Two sentences, no fluff. The first sentence packs multiple details but remains readable. Could slightly improve structure by splitting status and polling effects.

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?

Describes return fields (status, counts, failures URL) despite no output schema. Lacks details on error conditions or status interpretation, but sufficient for basic usage.

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

Parameters4/5

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

Single parameter with schema description. Description adds value by explaining where to find the campaign ID (on quote's job status). Schema coverage is 100%, so baseline 3, plus extra context for +1.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states it returns campaign validation/sending progress with specific statuses and counts. Distinguishes from sibling get_mail_job_status by referencing where to find campaign ID.

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?

Provides guidance on polling behavior (advances campaign) and where to get campaign ID. Implicitly suggests use for tracking campaign progress, but does not explicitly list when not to use.

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

get_mail_job_statusGet the current status of a mail jobA
Read-onlyIdempotent
Inspect

Returns normalized status, carrier/tracking/proof data, and tracking events for a previously created job.

ParametersJSON Schema
NameRequiredDescriptionDefault
jobIdYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive. The description adds valuable context about what data is returned (normalized status, carrier/tracking/proof data, tracking events) beyond the annotations. No missing behavioral traits are critical given the safety profile.

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?

The description is a single concise sentence with no redundant words. It efficiently communicates the tool's purpose and return data.

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 simple read-only query with no output schema, the description covers the return data components. It could specify response format or example statuses, but the listed data types provide adequate context.

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 coverage is 0% and the description does not elaborate on the jobId parameter beyond implying it identifies a previous job. The parameter name is self-explanatory, but with zero schema documentation, the description should add format or source guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool returns normalized status and related data for a previously created mail job. The verb 'returns' and the resource 'job' are specific, and the tool name implies the function. Among sibling tools, it is distinct as the only status retrieval tool for mail jobs.

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 implies usage after job creation by referencing 'previously created job', but it does not explicitly state when to use this tool versus alternatives like get_campaign_status. No when-not-to-use guidance is provided.

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

pay_mail_with_shared_payment_tokenPay a quote autonomously by card/wallet via a Shared Payment Token (MPP)A
Destructive
Inspect

Autonomous, no-browser FIAT payment for a locked quote using a Stripe Shared Payment Token (SPT / Machine Payments Protocol). Use this when the agent can mint an SPT on the buyer's behalf and wants to pay by card/wallet without a human in a browser (prefer x402 first if the agent has a USDC-on-Base wallet; this is the autonomous fiat alternative). CHARGES MONEY AND IS IRREVERSIBLE: the server authorizes the SPT, prints the letter, then captures — a job comes back inline (no polling needed). Only call after the user has explicitly confirmed the recipient, sender, content, and price from create_mail_quote.

Minting the token (the agent's responsibility, NOT this server): the SPT must be scoped to THIS seller's Stripe profile and to at least the quote amount. The quote's paymentOptions entry for mpp carries the stripeProfileId, currency, maxAmountCents, and expiresAt you need. Mint it with the buyer's payment method via the Stripe @stripe/link-cli (spend-request create … --network-id <stripeProfileId> --credential-type shared_payment_token) or the SharedPaymentIssuedToken API, then pass the resulting spt_… here. SPTs are US-only and cards carry a 0.50 USD minimum. Returns an error if MPP is not enabled/configured on the server.

ParametersJSON Schema
NameRequiredDescriptionDefault
quoteIdYes
webhookUrlNoOptional caller-controlled webhook URL to receive job status updates.
userConfirmedYesMust be true. Set this only after the human user explicitly approved sending physical mail at the quoted price.
sharedPaymentTokenYesA Stripe Shared Payment Token (spt_…) the agent minted for the buyer, scoped to this seller's Stripe profile (see the quote's mpp paymentOption.details.stripeProfileId) and to at least the quote amount.
Behavior5/5

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

Description reinforces annotations (destructiveHint=true) by stating 'CHARGES MONEY AND IS IRREVERSIBLE'. Adds details on flow (authorize, print, capture), error conditions (MPP not enabled), and constraints (US-only, $0.50 min cards). No contradiction.

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?

Front-loaded with purpose and then detailed guidance. Every sentence adds value (minting instructions, constraints, alternatives, return format). Slightly long but necessary for complexity.

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

Completeness5/5

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

Completely covers all aspects: input parameters, prerequisite steps (minting SPT, user confirmation), constraints, error scenarios, and return behavior (inline job, no polling). No gaps given the presence of annotations.

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

Parameters5/5

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

Adds significant context beyond 75% schema coverage: explains how to mint sharedPaymentToken, scope to stripeProfileId, and that userConfirmed requires explicit approval. The quoteId and webhookUrl are schema-covered, but the description provides integration context.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool pays a locked quote autonomously by card/wallet using a Stripe Shared Payment Token. It specifies the action ('pay'), the method ('autonomous, no-browser FIAT'), and distinguishes from the x402 alternative.

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

Usage Guidelines5/5

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

Explicitly says when to use: when agent can mint SPT and wants FIAT payment without browser. Provides clear exclusion ('prefer x402 first') and prerequisite: only after user confirms from create_mail_quote.

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

prepare_mail_paymentFetch the x402 payment challenge for a quoteA
Read-onlyIdempotent
Inspect

Returns the x402 PAYMENT-REQUIRED challenge for a locked quote so an x402-capable wallet client can sign it. No payment is taken at this step. Probes the canonical per-quote pay URL (/v1/quotes/:quoteId/pay). The preferred way to actually pay is for the wallet to perform the standard x402 in-band handshake against paymentUrl; this tool is for inspection or for the detached-signature flow via submit_paid_mail_job.

ParametersJSON Schema
NameRequiredDescriptionDefault
quoteIdYes
Behavior4/5

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

Annotations already provide readOnlyHint, idempotentHint, destructiveHint. Description adds context: 'No payment is taken' and 'Probes the canonical per-quote pay URL', which are useful beyond annotations.

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 sentences, front-loaded with key info. Every sentence adds value. No redundancy or wordiness.

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

Completeness5/5

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

Given simple input (1 param, no output schema) and annotations covering safety, the description fully explains purpose, flow, and alternatives.

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?

Schema coverage is 0%, but the single required parameter (quoteId) is implied by 'a locked quote'. No explicit parameter description, but context is sufficient for a single param.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool returns the x402 payment challenge for a locked quote, using specific verb 'Returns' and resource. It distinguishes from sibling tools by mentioning inspection or detached-signature flow versus in-band handshake.

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

Usage Guidelines5/5

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

Explicitly states use cases: inspection or detached-signature flow. Notes the preferred alternative (in-band handshake) and sibling submit_paid_mail_job. Clarifies 'No payment is taken at this step.'

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

submit_paid_mail_jobSubmit a signed x402 payment to create and mail the letterA
Destructive
Inspect

Detached-signature fallback for x402 wallets that can emit a standalone PAYMENT-SIGNATURE header. THE PRIMARY/RECOMMENDED PATH is for the agent's wallet to pay the quote's paymentUrl in-band (e.g. npx awal@latest x402 pay <paymentUrl>); use this tool only if your wallet client cannot do that. Charges the agent in USDC on Base mainnet and creates a physical letter for printing and mailing. THIS IS IRREVERSIBLE. Only call after the user has explicitly confirmed the recipient, sender, content, and price returned by create_mail_quote, and after obtaining the signed x402 payment header (see prepare_mail_payment).

ParametersJSON Schema
NameRequiredDescriptionDefault
quoteIdYes
webhookUrlNoOptional caller-controlled webhook URL to receive job status updates.
userConfirmedYesMust be true. Set this only after the human user explicitly approved sending physical mail at the quoted price.
paymentSignatureYesx402 PAYMENT-SIGNATURE header value produced by an x402 client after signing the prepare_mail_payment challenge.
Behavior4/5

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

Annotations already indicate destructiveHint=true, and the description reinforces that the tool is irreversible and charges the agent. It adds context about the fallback nature and prerequisite steps. However, it could be more specific about response behavior or error cases, but overall it is transparent.

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?

The description is well-structured and front-loaded with the key fallback context. It contains necessary details without being overly verbose. A minor point: the irreversibility warning is in caps, which adds emphasis but slightly reduces conciseness.

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?

Given no output schema, the description should explain what happens after calling (e.g., returns a job ID) and mention post-call actions (e.g., checking status). It provides good prerequisite context but lacks details on the response or next steps, making it somewhat incomplete.

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?

Schema description coverage is 75% (3 of 4 parameters have descriptions). The description adds context for the tool's flow but does not significantly enhance the meaning of individual parameters beyond what the schema provides. Baseline score of 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose as a fallback for submitting a signed x402 payment to create and mail a letter. It distinguishes from sibling tools by explicitly contrasting with the primary payment path and referencing related tools like create_mail_quote and prepare_mail_payment.

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

Usage Guidelines5/5

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

The description provides explicit usage guidance: use this tool only if the wallet client cannot pay in-band via the primary path. It also lists preconditions: user confirmation of details and obtaining the signed payment header. This clearly tells the agent when and when not to use it.

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

verify_addressVerify a postal address for deliverability (paid, flat fee)A
Idempotent
Inspect

Standalone paid address verification — no mail is sent. Checks whether an address is deliverable and returns the standardized form (US: CASS with ZIP+4; international: per-country matching). Costs a small flat USDC fee per call via x402 (a fraction of a cent vs. mailing).

Two-step flow, like the mail rails: call WITHOUT paymentSignature to get the 402 challenge and paymentUrl (preferred: have the agent's x402 wallet pay paymentUrl in-band with the address as the JSON POST body {"address":{...}}); or sign the challenge and call again WITH paymentSignature to verify and get the result in one round trip. US addresses need line1 + (city+state or zip). International addresses need line1 + country.

Note: when mailing through PostAgent you do NOT need this tool — create_mail_quote already verifies sender and recipient for free as part of the quote.

ParametersJSON Schema
NameRequiredDescriptionDefault
zipNoZIP or postal code
cityNo
nameNoRecipient/contact name (optional)
line1YesStreet address line 1
line2No
stateNoState/province/region
countryNo2-letter ISO country code. Omit or 'US' for CASS-standardized US verification; any other code runs international verification.
paymentSignatureNox402 PAYMENT-SIGNATURE header value signed against this endpoint's challenge. Omit to fetch the challenge first.
Behavior5/5

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

Disclosures go beyond annotations by describing the x402 payment flow, cost, address requirements per country, and the fact that it returns standardized addresses. Annotations indicate idempotent and non-destructive, which aligns with description.

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?

Well-structured with a clear first sentence, two distinct paragraphs for flow and requirements, and a note about alternatives. Every sentence adds necessary information without redundancy.

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

Completeness5/5

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

Given the tool's complexity (paid, two-step, international) and no output schema, the description covers return value, payment mechanism, conditions for use, and alternatives, making it fully informative for correct invocation.

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

Parameters4/5

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

With 75% schema coverage, the description adds value by explaining the payment flow (omit/include paymentSignature) and address requirements (US vs international), which the schema alone does not provide.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it is a standalone paid address verification tool that checks deliverability and returns standardized form, distinguishing it from sibling tools like create_mail_quote which includes free verification as part of quoting.

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

Usage Guidelines5/5

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

Explicitly explains when to use (standalone verification) and when not to (for mailing, use create_mail_quote), and provides detailed steps for the two-step payment flow, including preferred in-band payment method.

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

Discussions

No comments yet. Be the first to start the discussion!

Try in Browser

Your Connectors

Sign in to create a connector for this server.

Resources