PostAgent
Server Details
Print & mail PDF/HTML/Markdown/text/DOCX/images to US addresses; pay per call in x402 USDC on Base.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- interpretai-tech/agent-tools
- GitHub Stars
- 1
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
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.
Tool Definition Quality
Average 4.6/5 across 13 of 13 tools scored. Lowest: 3.8/5.
Most tools have clearly distinct purposes: separate quote tools for campaigns, letters, and postcards; distinct payment paths; and no overlapping fundamental operations. The only slight ambiguity is between prepare_mail_payment and submit_paid_mail_job, but descriptions clarify different flows.
All tool names strictly follow a verb_noun pattern in snake_case, e.g., create_letter, get_mail_job_status, pay_mail_with_shared_payment_token. The convention is uniform across all 13 tools, making them predictable and easy to navigate.
13 tools are well-scoped for a mailing service: content creation (3), quoting (3), payment (4), status checking (2), and address verification (1). No unnecessary duplication, and the count is typical for a focused MCP server.
The core workflow (create content, get quotes, pay, track) is fully covered. Minor gaps exist: no tools for listing or deleting uploaded documents/templates, and no batch job status endpoint for individual mail jobs. However, these are not critical dead-ends for the primary use case.
Available Tools
14 toolscheck_postagent_updatesCheck latest PostAgent skill and MCP versionsARead-onlyIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| installedMcpVersion | No | Version advertised by the connected PostAgent MCP server, if known. | |
| installedSkillVersion | No | Version from the installed PostAgent SKILL.md frontmatter, if known. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already mark it as read-only, idempotent, non-destructive. Description adds valuable behavioral context: it fetches a manifest and prescribes actions based on version comparison. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three concise sentences with front-loaded purpose. Each sentence adds essential information: what it does, when to use, and what to do with results. No wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple fetch tool with no output schema, the description is complete: it explains the purpose, usage context, and expected behavior. No gaps given the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with clear descriptions for both optional parameters. The description does not add additional meaning beyond the schema, so baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states the tool fetches the live PostAgent agent manifest. It identifies the specific resource and action, and the purpose is distinct from all sibling tools (mail/campaign creation).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to call: before using PostAgent in a new session, after reconnecting MCP server, or when skill may be stale. Also provides conditional instructions based on the result (e.g., if updateRequired is true, avoid paid/irreversible actions).
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.
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | US sender/return address. Required unless the server has a fallback. | |
| name | No | Campaign name (for your records). | |
| options | No | ||
| documentId | Yes | Template (html_template) or finished letter (pdf) documentId. | |
| recipients | Yes | One entry per recipient (1-500). | |
| payerWallet | Yes | The x402 wallet that will pay this quote. Must be KYC-verified with PostAgent (re-checked at payment against the wallet that actually signs). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations (readOnlyHint=false, destructiveHint=false), the description adds critical context: price lock period, KYC requirement, x402 payment, address validation post-payment, manual refunds for failed addresses, and tracking via get_campaign_status. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured: starts with core purpose, then important note (KYC), then usage steps. Each sentence adds value, though slightly lengthy. Front-loaded with key information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers prerequisites, constraints, payment method, and post-payment steps. No output schema exists, but description implies a quote is returned. Mentions tracking via sibling tool. Could explicitly state return format, but overall complete given complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 83% (high). Description adds value by explaining relationships (documentId from create_template/letter), payerWallet KYC requirement, and address constraints. It clarifies optionality of 'from' address and use of mergeVariables for templates. Almost fully compensates for the uncovered 17%.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it obtains a locked price quote for a bulk mail campaign (up to 500 recipients). It distinguishes from siblings like create_mail_quote (individual mail) and create_postcard_quote, and specifies key details: single template/static document, price locked 15 minutes, x402 payment only.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells when to use (KYC-verified wallet, after creating template/letter) and when not (if not verified, use alternative tools or request access). Provides clear steps and names alternatives (create_mail_quote, request campaign access).
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.
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | ||
| webhookUrl | No | Optional caller-controlled webhook URL to receive job status updates. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations (which indicate non-read, open-world), description details asynchronous behavior, webhook-driven letter creation, and tracking via statusUrl. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is about 100 words, well-structured: purpose, usage guidance, tracking instructions, preference, error condition. Every sentence adds value without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, description covers return values (checkoutUrl, statusUrl) and tracking. Lacks detail on preconditions like quote must be locked, but overall sufficient for a payment tool with two parameters.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 50% (webhookUrl has description). Description adds context for quoteId (must be locked) and webhookUrl (optional, for status updates). Provides useful meaning beyond schema, though not exhaustive for both parameters.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it creates a Stripe-hosted Checkout page for a locked quote, returning checkoutUrl and statusUrl. The verb 'create' and resource 'Stripe-hosted Checkout page for a quote' are specific, and it distinguishes from siblings like pay_mail_with_shared_payment_token which handle different payment methods.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says '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.' Provides clear when-to-use and alternatives.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL the server will fetch the document from. Provide exactly one source. | |
| format | No | Source format. Inferred from contentType/filename/content when omitted; inline `content` with no format defaults to text. | |
| content | No | Inline text content (html, markdown, or text). Provide exactly one source. | |
| filename | No | Optional original filename; used to help infer the source format. | |
| contentBase64 | No | Base64-encoded binary content (pdf, docx, image). Provide exactly one source. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses numerous behavioral traits beyond annotations, including that {{...}} is printed literally, the reserved address zone and its impact on page count and cost, that pdf/image inputs get a blank first page prepended, and that the server fetches from URL. It also notes that content is printed exactly as provided.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with clear sections and front-loaded purpose. It is not excessively verbose, though it is detailed; every sentence adds value. Given the complexity, it achieves good conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite no output schema, the description covers return values (documentId, page count, byte size, source format) and all essential aspects: input methods, format handling, address reservation, page count implications, and cost considerations. It is fully complete for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, but the description adds significant meaning by explaining that exactly one source must be provided (error otherwise), the maximum upload size (30 MB), and the behavior of the reserved address zone for different formats. This exceeds the baseline of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
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 and normalizing a finished, ready-to-mail document. It explicitly distinguishes itself from the sibling tool 'create_template' by specifying that content must be identical for all recipients, not variable via mail merge.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use this tool versus 'create_template', quoting/paying once per recipient, and how to provide the document (exactly one of content, contentBase64, or url). It also mentions free usage and maximum upload size.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient's US postal address. | |
| from | No | Sender/return address. Required unless the server has a fallback configured. | |
| options | No | ||
| documentId | Yes | ID returned by create_letter (finished document) or create_template (mail-merge template) for the piece to mail. | |
| mergeVariables | No | Values 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. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses that the tool is non-destructive (does not charge or mail), locks a price for 15 minutes, and verifies addresses. It details the fulfillment block with warnings and design constraints. Annotations already indicate readOnlyHint=false and destructiveHint=false, and the description aligns with these without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concisely written with front-loaded key information (verifies addresses, locks price, does not charge). Every sentence adds necessary context without redundancy, making it efficient for an AI agent to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (5 parameters, nested objects, no output schema), the description is comprehensive. It explains return values (fulfillment, design, paymentUrl), warnings to inspect, and the payment process. This covers what an agent needs to use the tool correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 80% description coverage, so parameters are well-documented. The description adds value by explaining the overall flow (e.g., documentId from create_letter/create_template, mergeVariables for templates) and how options affect price, going beyond the schema's individual descriptions.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states that the tool verifies addresses and locks a 15-minute USDC price for a documentId without charging or mailing. It distinguishes itself from siblings like create_campaign_quote and create_letter by focusing on the quoting action.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says when to use this tool (to get a locked quote before mailing) and provides alternatives: preferred x402 payment and fallback submit_paid_mail_job. It also instructs to check warnings and get user confirmation before paying, which guides appropriate usage.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL the server fetches the artwork from. | |
| format | No | Artwork format; inferred from content when omitted. | |
| filename | No | ||
| contentBase64 | No | Base64-encoded single-page PDF, PNG, or JPEG artwork. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are present, but the description adds significant context beyond them: file is stored VERBATIM, no normalization, no reserved address zone, responsible for bleed, and recipient address block behavior. It also notes free usage and return type.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is thorough but slightly long due to listing sizes. It is well-structured, front-loading the core purpose, and each sentence provides necessary detail. Could be tightened slightly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the lack of output schema, the description adequately explains the return value (documentId with kind 'postcard_art') and usage flow. It also covers cost and next steps, making it complete for agent execution.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 75%, and the description clarifies the mutual exclusivity of contentBase64 and url, which is not explicit in schema. However, it does not add detail to the filename parameter beyond its existence.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Upload' and the resource 'postcard artwork (front or back)' with specific file types. It distinguishes itself from siblings by outlining the subsequent quote step with create_postcard_quote.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides explicit when-to-use instructions, including the requirement to upload front and back separately. It also gives explicit how-to-use guidance (EXACTLY ONE WAY: contentBase64 or url) and warns about format rejection.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Recipient address. | |
| from | No | US sender/return address. Required unless the server has a fallback configured. | |
| options | No | ||
| backDocumentId | Yes | documentId of the BACK artwork (kind postcard_art). The print partner prints the recipient address block over part of the back. | |
| frontDocumentId | Yes | documentId of the FRONT artwork (kind postcard_art). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses key behaviors such as address verification, a 15-minute price lock, service level downgrade possibility, and payment flow similarity to letters. Annotations indicate it is not read-only, not idempotent, and not destructive, which aligns with the described behavior. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single paragraph covering all necessary aspects without excessive verbosity. It is front-loaded with the core action and flows logically through constraints, payment, and warnings. Minor redundancy could be trimmed, but overall efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (5 parameters, nested objects, no output schema), the description covers the essential behaviors, constraints, and user instructions. It explains return values (price, paymentUrl, warnings) and required user confirmation, though a bit more detail on the output structure would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 80% schema coverage, the description adds meaningful context: it explains the role of front/backDocumentId, size options, international address requirements (to.country and size limitation), and that sender must be US. It also notes that serviceLevel may be downgraded, adding value beyond the schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: to get a locked price quote for printing and mailing a postcard, with specific details on address verification, price lock duration, and size options. It distinguishes from sibling tools like create_mail_quote by focusing on postcards and requiring two art documents.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides explicit guidance on when to use the tool (for postcards with front/back art) and constraints (international only 4x6, sender must be US). It also advises on user confirmation and warning surfacing, but does not explicitly state when not to use it versus alternatives.
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.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL the server will fetch the document from. Provide exactly one source. | |
| format | No | Template source format (text-based only). Inferred when omitted; inline `content` defaults to text. | |
| content | No | Inline text content (html, markdown, or text). Provide exactly one source. | |
| filename | No | Optional original filename; used to help infer the source format. | |
| contentBase64 | No | Base64-encoded binary content (pdf, docx, image). Provide exactly one source. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate it's a write operation (readOnlyHint=false). The description adds many behavioral details: rejection if no fields, return values (documentId, kind, mergeFields, estimatedPageCount), max upload size, page size, reserved address zone, and quoting details. No contradictions 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-organized and front-loaded with key points (purpose, when to use, return values). Each paragraph serves a purpose, though it's relatively long. A slight reduction in length could be possible without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (multiple source options, merge fields, integration with other tools), the description is very complete. It covers usage, constraints, return values (despite no output schema), and context for sibling tools. No major gaps.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with descriptions. Description adds meaning beyond schema: explains 'exactly one source' rule, max upload size 30 MB, output as US Letter, and how format can be inferred. Also clarifies that merging happens later via create_mail_quote.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it uploads a reusable template with placeholders for mail merge, and explicitly distinguishes from sibling tool 'create_letter' which is for identical content. The title also reinforces the purpose.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says when to use (content varies per recipient) and when not (identical content, use create_letter). Also provides guidance on how to provide source, rejection criteria, and integration with other tools.
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 campaignARead-onlyIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| campaignId | Yes | Campaign id (cmp_…). |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Description says polling 'advances the campaign' (a side effect), contradicting annotations readOnlyHint and destructiveHint which mark it as non-modifying. This is a serious inconsistency.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four sentences, front-loaded with purpose, no wasted words. Information is well-organized and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers return fields, side effects, and param source; however, the contradiction with annotations undermines reliability and completeness for safe agent use.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Adds helpful context beyond the schema by explaining how to obtain the campaignId from jobStatusUrl, which aids correct invocation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Description clearly states 'Returns a campaign's validation/sending progress' with specific fields (status, counts, URL), distinguishing it from sibling tools like get_mail_job_status.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides context on when to use (after payment) and where to find the campaign ID, but does not explicitly exclude alternative tools or state when not to poll.
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 jobBRead-onlyIdempotentInspect
Returns normalized status, carrier/tracking/proof data, and tracking events for a previously created job.
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds that it returns normalized status and tracking events, but does not explain the openWorldHint (outputs may change) or any behavioral nuances like rate limits or authentication requirements. It provides some extra context but not enough to elevate beyond a baseline 3.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-formed sentence that directly conveys the tool's purpose. It is concise with no unnecessary words. Could optionally list return data in a more structured format, but current form is efficient and clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description partially explains return data (status, carrier/tracking/proof data, tracking events) but lacks details like status values or format. With only one parameter and no nested objects, the tool is simple, so moderate completeness is acceptable. However, more detail on expected output would improve usability.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The only parameter, jobId, has no description in the schema schema coverage is 0%. The description says 'for a previously created job', implying jobId refers to that job, but does not add format, source, or validation details. This minimally compensates for the missing schema description. A score of 3 is appropriate as it meets the bare minimum.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The name and title clearly indicate retrieving status of a mail job. The description specifies the exact data returned (normalized status, carrier/tracking/proof data, tracking events) and references a previously created job, distinguishing it from siblings like get_campaign_status or check_postagent_updates.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool vs. alternatives is provided. The description implies use after job creation but offers no exclusion criteria or comparison with sibling tools such as check_postagent_updates or get_campaign_status.
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 quoteARead-onlyIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint, idempotentHint, and destructiveHint. The description adds context about probing a canonical URL and that no payment is taken, complementing annotations. Could mention return value details but not required for this simple tool.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four sentences, no redundant wording. Front-loaded with the main purpose, then provides usage guidance and context. Every sentence earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple inspection tool with one parameter and no output schema, the description covers the tool's role, alternatives, and the URL being probed. No additional information is needed for an agent to use it correctly.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The single parameter quoteId is described implicitly through the URL path pattern, adding meaning beyond the schema's minLength constraint. With 0% schema coverage, the description compensates enough by linking the parameter to the use case.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it returns the x402 payment challenge for a locked quote, using the verb 'returns' and specifying the resource. It distinguishes from siblings by mentioning the alternative flow via 'submit_paid_mail_job'.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use this tool (for inspection or detached-signature flow) and notes the preferred alternative (in-band handshake). Clarifies that no payment is taken at this step, helping the agent decide when to invoke it.
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 letterADestructiveInspect
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).
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes | ||
| webhookUrl | No | Optional caller-controlled webhook URL to receive job status updates. | |
| userConfirmed | Yes | Must be true. Set this only after the human user explicitly approved sending physical mail at the quoted price. | |
| paymentSignature | Yes | x402 PAYMENT-SIGNATURE header value produced by an x402 client after signing the prepare_mail_payment challenge. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already provide destructiveHint=true and idempotentHint=false. Description adds significant context: charges USDC, creates physical letter, is irreversible. Contradictions? No. Enhances transparency 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is front-loaded with key purpose and alternatives, uses all-caps for emphasis, but some redundancy ('Only call after...' repeated). Each sentence adds value, though slightly verbose for some readers.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers prerequisites, irreversible nature, and alternative paths. Lacks mention of expected response or error handling, and does not reference sibling status-checking tool (get_mail_job_status). Adequate but not fully comprehensive for a payment+mutation tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
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 little parameter-specific detail beyond linking paymentSignature to prepare_mail_payment. Baseline 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it is a 'Detached-signature fallback' for paying and mailing a letter, specifying the action (submit payment, create and mail) and distinguishing from the primary in-band payment path. It mentions sibling tools like create_mail_quote and prepare_mail_payment, providing specific verb+resource+scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly instructs to use only if wallet cannot pay in-band ('use this tool only if your wallet client cannot do that') and gives prerequisites: user confirmation and obtained payment signature from prepare_mail_payment. Clear when-to-use and 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.
verify_addressVerify a postal address for deliverability (paid, flat fee)AIdempotentInspect
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.
| Name | Required | Description | Default |
|---|---|---|---|
| zip | No | ZIP or postal code | |
| city | No | ||
| name | No | Recipient/contact name (optional) | |
| line1 | Yes | Street address line 1 | |
| line2 | No | ||
| state | No | State/province/region | |
| country | No | 2-letter ISO country code. Omit or 'US' for CASS-standardized US verification; any other code runs international verification. | |
| paymentSignature | No | x402 PAYMENT-SIGNATURE header value signed against this endpoint's challenge. Omit to fetch the challenge first. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description discloses the paid nature, the two-step x402 flow, the exact return format (CASS+ZIP4 for US, per-country for international), and required fields depending on address type. Annotations are consistent (readOnlyHint=false, idempotentHint=true, destructiveHint=false) and the description adds significant context without contradiction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured and front-loaded: first sentence captures the core purpose, followed by cost, flow, field requirements, and a clear exclusion note. Every sentence adds value, with no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (8 parameters, payment flow, no output schema), the description is complete: it covers the process, payment mechanism, address requirements, and relationship to sibling tools. An agent can correctly invoke the tool without additional context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description adds meaning beyond the input schema by explaining the two-step payment flow, the role of paymentSignature, the country code semantics (US vs international), and required fields (line1 + city/state/zip for US, line1 + country for international). Schema coverage is 75%, but the description compensates fully.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: verifying a postal address for deliverability and returning standardized form. It distinguishes itself from create_mail_quote, which already verifies addresses for free, making the use case clear.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly tells when to use this tool (standalone verification) and when not to (if mailing through PostAgent, use create_mail_quote instead). It also provides step-by-step guidance on the two-flow process with paymentSignature.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!