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.
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.9/5.
Most tools have distinct purposes (letters vs. postcards vs. campaigns, different payment methods), but the multiple payment-related tools (prepare_mail_payment, submit_paid_mail_job, pay_mail_with_shared_payment_token) could cause an agent to select the wrong one without careful reading. The campaign quote tool is also currently unusable due to missing KYC, adding confusion.
Tool names follow a consistent verb_noun snake_case pattern (create_, get_, pay_, prepare_, submit_, verify_). While there is a mix of verbs, they are appropriate and predictable. One name (pay_mail_with_shared_payment_token) is long but still consistent in style.
13 tools cover the essential workflows for a print-and-mail service: content creation, quoting, payment, status tracking, and address verification. The number feels well-scoped—not too many to overwhelm and not too few to be incomplete.
The core lifecycle (create content → quote → pay → track) is fully supported. However, the campaign feature is effectively broken due to missing KYC onboarding, and there are no tools for updating or deleting content once created. These are minor gaps that agents can work around but still notable.
Available Tools
13 toolscreate_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 the mail provider's campaign pipeline. Price = per-letter unit price x recipient count, locked for 15 minutes. Payment is x402 ONLY.
IMPORTANT — KYC WALL: campaigns require the paying wallet to be identity-verified with PostAgent. KYC onboarding is NOT YET AVAILABLE, so this tool currently returns kyc_required (403) for every wallet. Do not retry; mail recipients individually with create_mail_quote instead, or wait for KYC onboarding to launch.
Usage once KYC exists: 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 provider 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, the description reveals critical behaviors: price locked for 15 minutes, payment via x402 only, KYC requirement resulting in a 403 error, post-payment validation of recipient addresses, manual refund processing for failed recipients. These details are essential for an AI agent to understand side effects and constraints.
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 a brief upfront summary, a highlighted important section (KYC wall), and detailed usage instructions. It is slightly lengthy due to the necessary complexity but every sentence adds value. Minor redundancy (repeating 'IMPORTANT — KYC WALL') does not detract significantly.
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?
While the description covers many aspects including prerequisite workflow, error states, and tracking, it lacks an explicit description of the return value (e.g., quote ID, total price, expiry timestamp). Since there is no output schema, the description should indicate what the tool returns to allow the agent to process the response 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 description adds significant meaning beyond the input schema: it explains that documentId can be a template or finished letter, that recipients require US addresses and mergeVariables for templates, and that payerWallet must be KYC-verified. It also clarifies the from address is optional if the server has a fallback. With 83% schema coverage, the description enriches rather than repeats 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 identifies the tool as creating a locked price quote for a bulk mail campaign (up to 500 recipients) using a template or static document. It distinguishes from sibling tools like create_mail_quote (individual mail) and pay_mail_with_shared_payment_token (payment) by specifying the bulk campaign context and the pricing mechanism (per-letter unit price x recipient count).
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 (after creating a template or letter) and when not to (due to KYC unavailability), and even names an alternative tool (create_mail_quote) and advises waiting for KYC onboarding. It also outlines the prerequisites (upload template/letter) and post-usage actions (track via get_campaign_status).
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?
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.
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.
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.
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.
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.
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 per-page price in the resulting quote — can be one more 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?
Description discloses key behaviors beyond annotations: exact bytes printed, maximum upload size, reserved address zone behavior (pushing content or prepending blank page for PDF/images), literal treatment of {{...}}, and page count increase. Annotations provide little behavioral info; description compensates richly. 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.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured with front-loaded purpose and detailed sections, but slightly verbose. Could be tightened without losing meaning. Still, every sentence serves a purpose and the structure aids comprehension.
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 (source alternatives, format handling, address zone, page count return), the description covers all essential aspects: return values (documentId, page count, bytes, format), error conditions, and cost (free). No output schema, but description adequately explains returns.
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 description adds significant value: explains mutual exclusivity of content/url/contentBase64, details format inference, and ties parameters to the address zone and page count effects. This goes well beyond the schema 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 starts by stating 'Upload and normalize a FINISHED, ready-to-mail document to PDF.' It clearly specifies the tool's purpose and distinguishes it from sibling tool create_template, which handles variable content via merge fields.
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?
Explicit guidance on when to use this tool ('when the content is final and IDENTICAL for every recipient') and when to use create_template instead. Also provides clear instructions on providing exactly one document source, error conditions, and highlights that no payment is needed.
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, and price to the user and get explicit confirmation before paying.
| 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?
Discloses address verification, 15-minute price lock, non-charging/non-mailing nature, and the return of a paymentUrl. Adds context about x402 payment and fallback, going beyond annotations (readOnlyHint, openWorldHint, etc.).
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?
Single paragraph is efficient and front-loaded with purpose and constraints. Could be slightly more structured (e.g., separate sections for behavior vs workflow), but no unnecessary content.
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 core behavior, return value (paymentUrl), workflow, and parameter specifics. No output schema, but description explains what is returned. Sufficient for a quoting tool with moderate 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?
With 80% schema coverage, baseline is 3. Description adds value by explaining documentId origin, options details (certified vs extraService), and mergeVariables behavior. Does not repeat schema but enriches understanding.
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 title and description clearly state the tool creates a locked price quote (not a charge or mailing), specifies the verb (verifies, locks), resource (mail quote for a documentId), and distinguishes from siblings like 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 it does not charge or mail, provides preferred payment method (x402 via paymentUrl) and fallback (submit_paid_mail_job), and instructs agent to show details and get user confirmation 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). Lob prints the recipient address block over part of the BACK, so keep that area clear of critical content. 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?
The description discloses important behavioral details beyond annotations: file stored verbatim, no page-size normalization, no reserved address zone, responsibility for correct trim size with bleed, and that Lob prints recipient address block over part of back. Annotations only provide readOnlyHint, etc., so this adds substantial value.
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, front-loading the tool's purpose and key constraints. It is somewhat verbose with detailed bleed sizes, but each sentence adds value. Could be slightly more concise, 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 4 parameters with no nested objects or output schema, the description covers file types, size requirements, upload method, return value (documentId), and integration with create_postcard_quote. It is 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?
With 75% schema coverage, the description adds meaning beyond the schema: specifies that exactly one of contentBase64 or url should be used, format can be inferred when omitted, and text-based formats are rejected. The schema already describes parameters, but the description clarifies usage constraints.
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 uploads one side of a postcard (front or back) as single-page PDF, PNG, or JPEG artwork. It distinguishes from sibling tools like create_postcard_quote, which is used after uploading both sides.
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 clear context: upload front and back separately, then use create_postcard_quote. It doesn't explicitly state when not to use this tool or list alternatives, but the guidance is sufficient for most cases.
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, and price to the user and get explicit confirmation before paying.
| 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). Lob 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?
Annotations show readOnlyHint=false and openWorldHint=true, but the description adds valuable behavioral context: it verifies addresses, locks a 15-minute price, and describes the payment mechanism. 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?
The description is well-structured and front-loaded with the key action. Although it is longer than the calibration high example, each sentence provides necessary guidance. It could be slightly more concise but is not verbose.
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?
With no output schema, the description should explicitly define what the tool returns. It implies the output includes a paymentUrl and price but does not formally list all return fields, leaving some ambiguity for the agent.
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 80%, so baseline is 3. The description adds meaning by explaining that front/back documents are postcard art, that postcards print in full color, and that international recipients are limited to 4x6, which is not fully detailed in 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 it creates a quote for printing and mailing a postcard, specifying that it uses two postcard_art documents and includes size options. It distinguishes from letter quotes by mentioning postcard-specific constraints like full color and size options, but does not explicitly name sibling tools like create_mail_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?
The description provides clear usage conditions: only 4x6 for international, sender must be US, and payment flow guidance. It tells when to use this tool for postcard quotes but lacks explicit when-not instructions compared to other sibling tools.
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?
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.
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.
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.
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.
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.
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 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 provider 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?
The description adds significant behavioral context beyond annotations: it reveals that polling advances the campaign by releasing it for mailing. This is a side effect not implied by the readOnlyHint annotation, and the description fully discloses it.
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 two sentences, concise, and front-loaded with the return value. It includes necessary detail without redundancy, but could be slightly more structured for rapid scanning.
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 sufficiently describes the return fields (status, counts, failures URL) and the side effect of polling. It also provides context on where to find the campaign ID, making it complete for a status polling 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 coverage is 100% with description for campaignId. The tool description adds practical guidance on how to obtain the campaign ID (from jobStatusUrl after payment), which enhances understanding 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 returns campaign validation/sending progress, including status, recipient counts, and a failures report URL. It uniquely identifies its purpose among sibling tools, which focus on creation, checkout, payment, and address verification.
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 indicates polling is used to check status and advances the campaign, and it references finding the campaign ID from the job status URL after payment. This implies when to use it, but does not explicitly state when not to use or list alternatives.
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 jobARead-onlyIdempotentInspect
Returns normalized status, provider letter id, 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, openWorldHint, idempotentHint, destructiveHint. The description adds value by specifying the exact return items (status, provider letter id, tracking events) and the context 'previously created job', which is beyond what annotations provide.
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 concise sentence with no extraneous information, efficiently conveying the tool's purpose.
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 simplicity and rich annotations, the description provides sufficient detail about return values and preconditions. It lacks error handling info but is adequate for a read-only retrieval 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 coverage is 0% so description bears full burden. It adds context that jobId refers to a previously created job, providing meaning beyond the schema, but does not explain format or how to obtain the id.
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 returns normalized status, provider letter id, and tracking events for a previously created job, using a specific verb and resource. It effectively distinguishes from sibling tools which are creation-oriented.
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 implies usage after creating a job but does not explicitly state when to use or not use this tool, nor does it mention alternatives. Given siblings are mostly creation, it's minimally adequate.
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 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.
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.
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.
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.
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.
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 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 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.
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.
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.
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.
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.
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)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?
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.
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.
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.
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.
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.
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.
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!