PostAgent
Server Details
Print and physically mail letters and postcards to US addresses via USPS, including certified/registered mail and address verification. Paid per call in USDC on Base via the x402 protocol, no signup.
- 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.6/5.
Each tool serves a unique purpose: creation tools distinguish between finished letters, templates, and postcard art; payment tools cover x402, card checkout, and SPT; status tools track campaigns and individual jobs. No two tools have overlapping functionality.
All tool names follow a consistent verb_noun pattern with snake_case (e.g., create_letter, get_mail_job_status, verify_address). The few longer names like pay_mail_with_shared_payment_token still adhere to this pattern.
13 tools is well-scoped for a mail/postcard service, covering document upload, quoting, multiple payment methods, status tracking, and address verification. No redundancy or missing essential steps.
Core workflow is complete: create document, quote, pay, track. Missing minor CRUD operations (e.g., no update/delete for documents or quotes), but these are not critical for the primary use case of sending mail.
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, describes price lock (15 min), payment method (x402), KYC requirement, address validation after payment, refund process, and tracking via get_campaign_status.
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 summary, warning, and usage details. Slightly long but each section is informative and earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers current limitation, future usage, post-payment behavior, and references sibling tools. Adequately complete for a complex tool with nested parameters and 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 context to parameters (e.g., documentId type, payerWallet KYC requirement, recipients with mergeVariables for templates). Schema coverage is 83%, so description adds value without duplication.
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 generates a locked price quote for a bulk mail campaign to multiple recipients. It distinguishes from sibling tools like create_mail_quote by specifying it's for bulk sends up to 500 recipients.
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 current unavailability due to missing KYC, advises using create_mail_quote instead, and outlines prerequisites (template/letter) and workflow once KYC exists.
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's a write operation (readOnlyHint=false) and not destructive. Description elaborates on asynchronous behavior, automatic letter creation via webhook, tracking via statusUrl, and error condition if Stripe not enabled. It also notes no charge occurs until human completes the page.
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 informative but somewhat lengthy. However, every sentence adds value, and the key information is front-loaded. It could be slightly more concise but remains clear.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (asynchronous payment, webhook, user interaction), the description covers all necessary aspects: what it does, how to use, tracking mechanism, fallback, and error handling. Without an output schema, it still explains the return fields adequately.
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%, with only quoteId having a minimal description. The description does not add meaning beyond the schema for the parameters; it mentions the 'locked quote' requirement but does not elaborate on the webhookUrl parameter. The description could provide more context about parameter usage.
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 states it creates a Stripe-hosted checkout page for a locked quote, returning checkoutUrl and statusUrl. Distinguishes itself from siblings by specifying it's for credit card payments by humans, contrasting with autonomous 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?
Explicitly says 'Use this as the LAST-RESORT payment rail' and specifies when to use (human paying by credit card) and when not to (prefer x402 or MPP for autonomous). Also provides instructions to hand the URL to the user.
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?
Annotations provide minimal behavioral info (e.g., readOnlyHint=false). The description compensates fully by detailing the write operation, address zone reservation (auto-pushing content or prepending blank page), literal handling of {{...}}, and return fields (documentId, page count, etc.). 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 well-structured and front-loaded with the core purpose. Each sentence adds essential information. Despite being lengthy, it is concise relative to the complexity. No fluff or 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, no output schema, important behavioral quirks), the description covers all key aspects: usage, parameter constraints, address zone behavior, and return value hints. It lacks a structured list of return fields but mentions them in context, making it complete enough for effective 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 100%, but the description adds value by explaining mutual exclusivity of content sources, maximum upload size, and output page size. It reinforces proper usage without repeating schema details. Slightly better than baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Upload and normalize a FINISHED, ready-to-mail document to PDF.' It explicitly distinguishes itself from create_template by emphasizing identical content vs. personalized mail merge via {{fields}}. The verb 'Upload' and resource 'finished letter' are specific.
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: use this when content is final and identical for all recipients, and use create_template for variable content. It also warns about providing exactly one source (content, contentBase64, or url), maximum upload size, output page size, and the reserved address zone behavior. It leaves no ambiguity about when or how to use this tool.
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?
The description adds behavioral context beyond annotations: it confirms no charge or mail action, specifies the 15-minute lock period, and explains the return of a paymentUrl for x402 payment. Annotations include openWorldHint=true, and the description clarifies that the tool only verifies and locks a price without further side effects. 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 concise: 6 sentences covering the key action, non-charge nature, payment method, fallback tool, and user confirmation requirement. Front-loaded with the primary purpose. No extraneous information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (5 parameters, nested objects, mergeVariables), the description covers all essential aspects: address verification, price lock, no charge, paymentUrl, preferred payment method, fallback, and user confirmation. It addresses the openWorldHint annotation by clarifying side effects. Completeness is high for effective selection and 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?
Schema description coverage is 80%, so baseline is 3. The description adds value by explaining the documentId parameter comes from create_letter or create_template, and elaborates on mergeVariables: 'Values for a template document's {{merge fields}}... The server substitutes these into the template and renders this recipient's personalized PDF'. This goes beyond the schema's description, so a 4 is warranted.
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 'Verifies the recipient and sender US addresses and locks a 15-minute USDC price for a documentId.' It specifies the action (locks a quote) and resource (documentId), and the title further clarifies 'Get a locked price quote for a print-and-mail job'. This distinguishes it from sibling tools like create_letter (which creates the document) and submit_paid_mail_job (which executes the mail).
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 explains when to use this tool: to get a quote before paying. It states 'Does not charge or mail anything.' It provides explicit guidance on the next steps: 'the preferred way to actually mail the letter is for the agent's wallet to perform an in-band x402 payment' and mentions that 'The MCP submit_paid_mail_job tool is a fallback'. It also instructs to 'show the recipient, sender, options, and price to the user and get explicit confirmation before paying', which guides the workflow.
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 key behaviors: file stored verbatim, no normalization, no reserved address zone, exact bleed dimensions, address block placement on back, return type (documentId). No contradictions with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Well-structured and front-loaded with main action, though slightly verbose. Every sentence adds value, but could be tightened without losing meaning.
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?
Complete for a file upload tool: covers input formats, size requirements, behavioral constraints, and return value (documentId). No output schema, but description sufficiently explains the output.
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 covers 75% of parameters; description adds crucial context: exclusivity of contentBase64/url, rejection of text formats, and filename max length implication. Could provide more detail on filename usage.
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 artwork as single-page PDF/PNG/JPEG, and distinguishes it from sibling tools like create_postcard_quote by explaining the upload-quote workflow.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states when to use (upload front or back), when not to use (text formats, must use exactly one of contentBase64 or url), and provides an alternative (use create_postcard_quote after uploading).
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 goes beyond minimal annotations (readOnlyHint false, etc.) to explain key behaviors: address verification, 15-minute price lock, full-color printing, and that the recipient address block is printed over part of the back. It also mentions payment flow similar to letters. This provides rich behavioral context for the agent.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single paragraph but is well-structured and front-loaded with the core action (verifying addresses and locking price). It covers essential details without extraneous information. It could be slightly more structured (e.g., bullet points), but it is concise and efficient.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (nested objects, 5 params, no output schema), the description is largely complete. It explains required inputs, special rules (international only 4x6), and payment process. It doesn't describe the response shape (no output schema), but the description implies a paymentUrl and price. Missing error handling info, but overall adequate.
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 description coverage, the baseline is 3. The description adds significant value by clarifying the roles of frontDocumentId and backDocumentId, explaining size options (including default), and describing international address requirements. It doesn't fully describe all parameters (e.g., from address details are mostly in schema), but the added context justifies a 4.
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: getting a locked price quote for printing and mailing a postcard. It specifies the verb 'quotes' and resource 'postcard', and distinguishes from sibling tools like create_letter or create_mail_quote by detailing postcard-specific requirements (front/back art, sizes, international constraints).
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 guidelines: it tells when to use (after uploading postcard_art), what inputs are needed (front/back document IDs, addresses), and notes that international is only for 4x6. It also instructs the agent to show details to the user before payment, giving clear when-to-use and when-not-to-use guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
create_templateUpload a mail-merge template (content varies per recipient)AInspect
Upload a REUSABLE template containing {{field}} placeholders (e.g. Dear {{name}}, or Balance due: {{amount}}). Choose this ONLY when the content must vary per recipient (mail merge) — recipient count is irrelevant, so a single personalized letter belongs here too. If the content is identical for everyone, use create_letter instead (this tool rejects input with no {{fields}}). Returns a documentId with kind: "html_template", a mergeFields list of the detected field names, and an estimatedPageCount. Free; no payment required.
Template source must be TEXT-BASED (html, markdown, or text) and must contain at least one {{field}}, or the upload is rejected — for a finished document with no merge fields, use create_letter.
Provide the template EXACTLY ONE way: content (inline text), contentBase64 (base64-encoded text), or url (a publicly reachable URL the server fetches). Supplying none, or more than one, is an error. Maximum upload size is 31457280 bytes (~30 MB); output page size is US Letter.
Reuse one template documentId across recipients: call create_mail_quote ONCE PER RECIPIENT, supplying that recipient's values via mergeVariables (every field in mergeFields must have a non-empty value). The server substitutes the values and renders that recipient's personalized PDF at quote time, so estimatedPageCount is only a baseline — the binding page count and price are set per quote from the actual rendered output.
Reserved address zone: a recipient address block is printed over the top ~3 inches of page 1, so the server reserves that space automatically (page-1 content is pushed below the block and may flow onto an additional page). You do NOT need to leave the top blank yourself. See the postagent://formats resource for details.
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public URL the server will fetch the document from. Provide exactly one source. | |
| format | No | Template source format (text-based only). Inferred when omitted; inline `content` defaults to text. | |
| content | No | Inline text content (html, markdown, or text). Provide exactly one source. | |
| filename | No | Optional original filename; used to help infer the source format. | |
| contentBase64 | No | Base64-encoded binary content (pdf, docx, image). Provide exactly one source. |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations are minimal (only readOnlyHint false, etc.), but the description extensively discloses behavioral traits: template must be text-based with {{field}}, rejection if no fields, exactly one source, max size, output page size, reserved address zone, and that it's free. No contradiction with annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Description is long but structured into clear paragraphs with front-loaded key points. However, it could be more concise; some details like 'output page size is US Letter' might be secondary. Still, organization helps readability.
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 adequately covers return fields (documentId, kind, mergeFields, estimatedPageCount). Also covers constraints, error conditions, usage with sibling tools, and free status. Comprehensive for the tool's complexity.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers all 5 parameters with descriptions (100% coverage). Description adds crucial constraint of exactly one source and explains the rejection rule for missing {{field}} and clarifies source options. However, there is a potential inconsistency between contentBase64 description (binary) and text-based requirement, slightly reducing clarity.
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 states the tool uploads a reusable template for mail merge with placeholders. Distinguishes from create_letter for identical content and create_mail_quote for usage.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly tells when to use (when content varies per recipient) and when not (use create_letter for identical content). Also explains how to use with create_mail_quote per recipient.
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 states that polling 'advances the campaign (it releases the campaign for mailing)', implying a side effect, which contradicts the readOnlyHint annotation (true). This is a serious inconsistency, thus score 1 per guidelines.
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, front-loaded with essential information, and contains no redundant words. 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?
Given low complexity (one parameter, no output schema), the description covers return fields and usage context adequately. The contradiction detracts slightly, but overall completeness is good.
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% (single parameter campaignId fully described). The description does not add any extra meaning beyond what the schema provides, so baseline score of 3 applies.
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 status including validation state, recipient counts, and a failures report URL. It distinguishes itself from sibling tools like get_mail_job_status by specifying the campaign-specific scope.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains that polling is used to track campaign progress and that it advances the campaign. It also provides context on where to find the campaign ID. However, it does not explicitly state when not to use this tool or mention 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 provide readOnlyHint, idempotentHint, and destructiveHint, so the description adds minimal behavioral context. It mentions the returned data shape (normalized status, provider letter id, tracking events) but no additional traits like rate limits or authentication needs.
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, front-loaded sentence that efficiently conveys the tool's purpose and output. No unnecessary 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?
The description covers the tool's return values but lacks details on response structure, error handling, or any preconditions (e.g., job must exist). For a simple read tool with annotations, it is adequate but not 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?
The description does not explain the `jobId` parameter beyond what the schema provides (string, required). With 0% schema description coverage, the description should compensate but fails to describe how to obtain a jobId or any 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 action ('Returns') and the specific resource ('normalized status, provider letter id, and tracking events for a previously created job'). It distinguishes itself from sibling tools, which are mostly creation tools or campaign-specific.
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 use for checking status of a job but gives no explicit when-to-use or when-not-to-use guidance. No alternatives are mentioned, though the tool's read-only nature is clear from annotations.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
prepare_mail_paymentFetch the x402 payment challenge for a quoteARead-onlyIdempotentInspect
Returns the x402 PAYMENT-REQUIRED challenge for a locked quote so an x402-capable wallet client can sign it. No payment is taken at this step. Probes the canonical per-quote pay URL (/v1/quotes/:quoteId/pay). The preferred way to actually pay is for the wallet to perform the standard x402 in-band handshake against paymentUrl; this tool is for inspection or for the detached-signature flow via submit_paid_mail_job.
| Name | Required | Description | Default |
|---|---|---|---|
| quoteId | Yes |
Tool Definition Quality
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds crucial behavioral context: 'No payment is taken at this step' and 'Probes the canonical per-quote pay URL'. 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 two sentences with no wasted words. First sentence states core function, second provides usage guidance. 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?
Given no output schema, the description explains what is returned (the challenge) and the two flows where this tool is used. It also mentions the URL pattern. For a tool of this complexity, 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?
Input schema has 0% description coverage, but the description implies that quoteId refers to a locked quote. While it doesn't elaborate on format or constraints, the single parameter is adequately contextualized for an agent.
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 the specific resource ('x402 PAYMENT-REQUIRED challenge for a locked quote'). It distinguishes from siblings by explaining when this tool is appropriate (inspection or detached-signature flow) versus the standard payment flow.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly says when to use this tool ('for inspection or for the detached-signature flow') and when not to use it ('The preferred way to actually pay is ... standard x402 in-band handshake'). It also mentions it's for locked quotes, providing clear context.
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 and readOnlyHint=false; the description adds that it charges USDC on Base mainnet and is irreversible, providing needed 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?
Concise, front-loaded with purpose, then usage guidance, then a clear warning. 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 purpose, usage, prerequisites, and irreversibility. References sibling tools. Lacks success indication (e.g., returns job ID or status), but adequate given 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?
Schema coverage is 75%; description adds meaning by explaining paymentSignature from prepare_mail_payment, userConfirmed as user approval flag, and webhookUrl as optional. However, quoteId lacks additional detail.
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 fallback for x402 wallets to submit payment and create a physical letter, distinguishing it from the primary payment path and sibling tools 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 when to use this fallback ('use this tool only if your wallet client cannot do that'), plus the required prerequisites (user confirmation and signed payment header).
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?
Discloses paid nature, idempotent payment flow, and that no mail is sent. Adds context beyond annotations: cost, x402 protocol, two-step challenge/response. No contradiction with annotations (idempotentHint=true, destructiveHint=false).
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 paragraphs for purpose, payment flow, and address requirements. Each sentence adds value, though slightly verbose. Front-loaded with core 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?
Covers return value (standardized form), payment flow, and address requirements. Lacks mention of error handling or undeliverable cases, but overall adequate for a verification tool with 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 significant meaning beyond schema: explains address field combinations (city+state vs zip for US; line1+country for international). Clarifies paymentSignature's role. With 75% schema coverage, description fills gaps and provides validation rules.
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 states it verifies address deliverability and returns standardized form. Distinguishes itself from sibling mailing tools by explicitly noting that create_mail_quote already verifies addresses for free, so this tool is standalone.
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: standalone address verification, not needed when using PostAgent's create_mail_quote. Explains two-step payment flow, US vs international address requirements, and how to use paymentSignature.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail – every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control – enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management – store and rotate API keys and OAuth tokens in one place
Change alerts – get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption – public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics – see which tools are being used most, helping you prioritize development and documentation
Direct user feedback – users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!