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
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 distinct purposes (campaign vs individual, letter vs postcard, payment flows). Some overlap exists between payment-related tools (prepare_mail_payment, submit_paid_mail_job, pay_mail_with_shared_payment_token) which could cause confusion, but descriptions clarify the different use cases.
All tool names follow a consistent verb_noun pattern (e.g., create_letter, get_mail_job_status, verify_address). No mixing of conventions or ambiguous verbs.
13 tools cover the core workflows of creating documents, obtaining quotes, paying, and checking status. This is well-scoped for a mail service; not too sparse or bloated.
The tool surface covers the primary lifecycle: create content, quote, pay, track. Minor gaps exist (no delete/document listing, no campaign update/cancel), but the essential sending flow is complete.
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 (which indicate a write operation), the description reveals the KYC wall returning 403, 15-minute price lock, x402 payment requirement, post-payment address validation, and manual refunds. 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?
The description is lengthy but well-organized: core action first, then critical KYC warning in block, then usage details. Front-loaded and clear, though some redundancy could be trimmed.
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 behavioral aspects and mentions tracking via get_campaign_status, it omits details about the successful response format (e.g., total price, quote ID, expiry timestamp). Given no output schema, this is a gap.
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%, and the description adds meaning: documentId can be template or letter, recipients require US addresses and mergeVariables for templates, payerWallet must be KYC-verified. This complements the schema definitions well.
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 locked price quote for a bulk campaign (up to 500 recipients), using a template or static document via the campaign pipeline. It distinguishes from sibling tools like create_mail_quote by specifying the bulk nature and 15-minute lock.
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 guidance: use this tool only when KYC is available; currently KYC is not ready, so do not retry and instead use create_mail_quote individually. It also outlines prerequisites (upload template/letter first) and the process after payment.
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?
Annotations indicate it is not read-only, not idempotent, not destructive, and open-world. The description adds that payment is asynchronous, the letter is created by Stripe webhook, no charge until human completes, and returns an error if Stripe Checkout is not enabled. This exceeds annotation coverage.
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 comprehensive but somewhat long. It is front-loaded with the core purpose and return values, and each sentence adds meaningful information. Could be slightly tightened, but overall well-structured.
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 lacking an output schema, the description thoroughly explains the return values (checkoutUrl, statusUrl) and how to use the statusUrl to track job creation. Given the complexity of the async payment flow and webhook, the description is 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%; the description adds context for quoteId (must be a locked quote) and explains webhookUrl as optional for receiving status updates. This adds value beyond the schema, though the schema could also be improved.
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 states it creates a Stripe-hosted checkout page for a locked quote and returns checkoutUrl and statusUrl. It distinguishes from sibling payment tools by specifying it is for credit card payments by humans, contrasting with x402/MPP for autonomous agents.
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 to use as a last-resort payment rail when the payer is a human paying by credit card, and to prefer x402 or MPP for autonomous agent payment. Provides clear guidance on 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 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?
Describes upload size limit, page size, literal handling of {{...}}, reserved address zone behavior (page pushing or prepending), and page count increase. Adds context 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?
Structured in clear sections but verbose. Every sentence adds value, yet could be tightened. Appropriate for the tool's complexity.
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 input constraints, format behavior, output fields (documentId, page count, byte size, source format), and edge cases like address zone. No output schema, so description compensates well.
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%, baseline 3. Description adds value by explaining each source option's format applicability and the error condition for none or multiple sources.
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 and normalizes a finished, identical letter to PDF. It contrasts with create_template for personalized mail merge, distinguishing it from siblings.
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 (final identical content) and when to use create_template (varied content via merge fields). Also specifies to provide exactly one source, else error.
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?
Annotations indicate `readOnlyHint: false` and `openWorldHint: true`, and the description adds behavioral context: it verifies addresses (side effect), locks a price for 15 minutes (time-bound state), does not charge or mail, and returns a paymentUrl. This goes beyond the annotations to explain the non-read-only, non-destructive behavior and the time-bound nature.
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 front-loaded with the core purpose and clearly structured. It briefly explains the action, what it does not do, the return value, two payment paths, and user confirmation. Though somewhat wordy, it remains clear and each sentence serves a 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 complexity (5 parameters, nested objects, no output schema), the description provides sufficient context: it names the return value (`paymentUrl`), explains the two subsequent paths, and gives user confirmation instructions. It lacks details on error handling or the full response structure, but overall it is complete enough for an agent to 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?
Schema description coverage is 80%, with the schema itself providing detailed descriptions for most parameters (e.g., address fields, documentId, options). The description does not add significant extra meaning beyond what the schema already offers, aside from implicitly connecting address verification to the `to` and `from` parameters. 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 verifies sender/recipient addresses and locks a 15-minute USDC price for a documentId. It explicitly says what it does and does not do (no charge or mail), and distinguishes the tool from the sibling `submit_paid_mail_job` by noting the preferred payment flow versus fallback.
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 guidance on when to use this tool (as a prerequisite to mailing) and explains the preferred payment method (wallet x402) versus the fallback `submit_paid_mail_job`. It also instructs to show and get explicit user confirmation before paying. However, it does not explicitly compare this to other quote tools like `create_postcard_quote` or `create_campaign_quote`.
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?
Discloses verbatim storage, no normalization, trim size with bleed requirements, clearance on back for address, free pricing, and return value with documentId; annotations confirm read/write nature.
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 action and detailed requirements, but slightly verbose; every sentence adds value.
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 upload mechanics, format constraints, sizing requirements, next steps, and payment info; sufficient for complex tool despite no output schema.
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 critical context beyond schema: exact one-way specification (contentBase64 or url), format inference, rejection of text formats, and base64 encoding details.
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?
Clearly defines the tool as uploading one side of postcard art, distinguishes from sibling tool create_postcard_quote, and specifies accepted formats and 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?
Provides guidance on separate uploads for front/back and subsequent quoting with create_postcard_quote, but lacks explicit when-not-to-use alternatives for similar tools like create_letter.
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?
The description adds significant behavioral context beyond annotations: the 15-minute price lock, address verification, and the requirement for user confirmation before paying. Annotations indicate write operations (readOnlyHint=false) and non-idempotent behavior, which aligns with the description's mention of locking a price and payment flow.
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-structured paragraph that front-loads the core purpose and then efficiently covers prerequisites, options, international rules, payment, and user confirmation. 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 (5 parameters, nested objects, no output schema), the description is thorough. It explains the prerequisite steps (upload art via sibling tool), the options (size, mail class), international constraints, and the payment process. It implies the return of a paymentUrl. Slight lack of detail on exactly what is returned could be improved, but overall it is 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?
With 80% schema coverage, the description adds meaning beyond the schema: it explains that frontDocumentId and backDocumentId must be for postcard_art, that the back artwork gets the address block printed over it, and that postcards always print in full color. It also clarifies the international country parameter and the sender fallback.
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 addresses and locking a 15-minute USDC price for mailing a postcard, built from two postcard_art documents. It specifies the verb ('locks a price'), the resource (postcard mailing), and differentiates from siblings like create_letter and create_mail_quote by mentioning the art documents and size options.
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 context on when to use (after uploading art via create_postcard_art) and how to pay (x402, MPP/checkout fallbacks). It includes international restrictions (only 4x6) and the need for explicit user confirmation. It doesn't explicitly mention alternatives like create_mail_quote, but the sibling list is provided separately.
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 that uploads without placeholders are rejected, output is US Letter size, server reserves top 3 inches for address, returns specific fields (documentId, kind, mergeFields, estimatedPageCount). Does not contradict annotations; adds context beyond them.
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 and front-loaded with key purpose. While fairly long, all sections add value; minor redundancy but overall efficient for the complexity.
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, description explains return values and the overall workflow (template reuse, per-recipient quoting). Covers reserved address zone, page size, and payment status (free). Very thorough.
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 critical nuances: exactly one source required, error if none or more than one, format inference, maximum upload size, and base64 encoding specifics.
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?
Title and description clearly state this tool is for uploading reusable mail-merge templates with {field} placeholders. It explicitly contrasts with create_letter for identical content, and distinguishes itself from siblings.
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?
Directly states when to use (content varies per recipient) and when not (use create_letter for identical content). Provides detailed instructions on providing exactly one source, mentions maximum size, and explains reuse with create_mail_quote.
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 reveals a critical side effect: polling advances the campaign and releases it for mailing. This contradicts the readOnlyHint=true annotation, which implies no state change. The description adds valuable behavioral context but the contradiction reduces trustworthiness.
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 concise: two sentences, front-loaded with return types and characteristics. Every sentence adds essential information, with 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?
Given the simple tool (1 param, no output schema), the description fully covers purpose, parameter source, behavioral effect, and return value structure. The annotations provide additional clues, 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?
With 100% schema coverage, the description adds value by telling where to find the campaign ID (from jobStatusUrl after payment), which is beyond the schema's basic description. This helps the agent source the parameter correctly.
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 'returns' and specifies the resource as a campaign's validation/sending progress, including specific fields like status, recipient counts, and failures report URL. It distinguishes itself from sibling tools by focusing on campaign-level progress and advancing the campaign, unlike other mail status tools.
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 for when to use: after payment, to check progress and to release the campaign. It mentions finding the campaign ID via job status URL. However, it does not explicitly exclude alternative tools or state when not to use it, which is a minor gap.
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, idempotentHint, and destructiveHint as false, indicating safe, repeatable behavior. The description adds value by specifying what is returned (normalized status, provider letter id, tracking events), providing behavioral context beyond the annotations. 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 one sentence (12 words) with no redundancy. It is front-loaded with the key action 'Returns' and specifies the exact outputs concisely. Every word contributes to clarity.
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 is simple (one parameter, no output schema), the description adequately covers the return values (status, provider letter id, tracking events). It does not detail status values or error conditions, but for a status-check tool, this level of detail is sufficient. The annotations cover safety aspects, so the description complements well.
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 0% schema description coverage, the description should compensate for the single parameter 'jobId'. It does not explicitly mention the parameter, but the context 'previously created job' implies the job ID is needed. The parameter name 'jobId' is self-explanatory, but adding guidance on how to obtain it would improve semantics.
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 normalized status, provider letter id, and tracking events for a previously created job. The verb 'Returns' and resource 'mail job status' are specific. It distinguishes from sibling tools like 'get_campaign_status' by mentioning 'mail job', though it could explicitly differentiate from related status tools.
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 a job is created ('previously created job'), but does not explicitly state when to use this tool versus alternatives (e.g., get_campaign_status for campaigns) or provide exclusions. Context signals show siblings are primarily creation tools, so use is implied but not clarified.
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 indicate readOnlyHint true, idempotentHint true, and destructiveHint false. The description adds context that no payment is taken at this step and that the tool probes a specific URL, which is helpful 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?
The description is three sentences with no redundant information. The first sentence states the core purpose, followed by clarifying details, making it efficient and easy to scan.
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 (single parameter, no output schema) and rich annotations, the description covers the essential workflow. However, it does not describe the return value format of the challenge, which is a minor gap.
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 the description must compensate. It explains that quoteId identifies a locked quote and that the tool probes the per-quote pay URL, giving enough context to understand the parameter's role despite lacking formal 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 returns an x402 PAYMENT-REQUIRED challenge for a locked quote. It specifies the action (returns challenge) and resource (per-quote pay URL), distinguishing it from siblings like pay_mail_with_shared_payment_token and 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?
The description explicitly notes the preferred payment method (standard in-band handshake) and that this tool is for inspection or detached-signature flow, providing clear when-to-use and when-not-to-use guidance with alternatives.
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 indicate destructiveHint=true, but the description adds crucial context: 'THIS IS IRREVERSIBLE' and 'Charges the agent in USDC on Base mainnet'. Also details the required preconditions (user confirmation, signed header), which go 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?
Single paragraph with bolded warnings and clear logical flow: purpose, primary alternative, fallback usage, irreversible warning, and prerequisite steps. Every sentence is necessary and well-placed.
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 lacking an output schema, the description covers all necessary context: trigger conditions, prerequisites, irreversible nature, cost, and references to related tools. An AI agent can correctly determine when and how to invoke this 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 75% with descriptions for 3 of 4 parameters. The description adds workflow context by specifying that 'userConfirmed' must be set only after explicit human approval and that 'paymentSignature' comes from 'prepare_mail_payment'. This ties parameters to the overall process, adding value beyond 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?
Clear verb-resource pair 'submit a signed x402 payment' and outcome 'create and mail the letter'. The description distinguishes this as a fallback from the primary in-band payment path, setting it apart from siblings like 'pay_mail_with_shared_payment_token'.
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 the primary/recommended path and specifies 'use this tool only if your wallet client cannot do that'. Provides clear when-to-use and when-not-to-use guidance, and references 'prepare_mail_payment' as prerequisite.
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?
Annotations indicate idempotent and non-destructive. The description adds significant behavioral context: the paid nature via x402, the two-step verification flow, and the standardization process (CASS, ZIP+4). 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 well-structured and front-loaded: first sentence states purpose and cost, then details flow, then regional notes, and finally a note about alternatives. 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?
Covers payment, flow, regional requirements, and alternative usage. Without an output schema, the description mentions 'returns the standardized form' but does not detail the response structure. This is a minor gap for a complex 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 75% (6/8 parameters with descriptions). The description adds crucial meaning beyond the schema: explains the role of paymentSignature in the two-step flow, clarifies country usage ('US' omitted vs. other codes), and specifies address requirements (line1+city+state or zip for US, line1+country for international).
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: standalone paid address verification that checks deliverability and returns standardized form. It distinguishes itself from mailing tools by noting that create_mail_quote already includes verification, so this tool is for independent address checks.
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 describes when to use (standalone verification) and when not to use (when mailing, use create_mail_quote). Explains the two-step flow with payment, and gives regional requirements for US vs. international addresses.
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!