Skip to main content
Glama

DirectMailAmerica — Narrow

Quote Product

quote_product
Destructive

Hold a 36-hour expanded-product quote using a workspace key, print-ready PDF and 1–100 US recipients. Returns the exact expiration in expiresAt (UTC). Uploads artwork to DirectMailAmerica for live pricing; no charge or mailing. Each PDF page must match catalog dimensions; postcards require one landscape front artwork page. Two-sided postcard: pro_postcard_85x55, doubleSided:true, color:true, plus reverseMessage OR reverseArtworkBase64; the server assembles two pages. Maximum 25 MiB combined artwork. Staging quotes are demo estimates. Obtain approval of artwork, addresses and total before sending.

Input Schema

NameRequiredDescriptionDefault
fromYes
colorNo
paperNo
filenameNo
pdfBase64YesBase64 PDF, maximum 25 MiB decoded. Every page must match the selected product dimensions; postcards require one landscape front artwork page. For pro_postcard_85x55 with doubleSided:true, supply reverseMessage OR reverseArtworkBase64 separately; the server assembles two pages. No raw image files.
productIdYes
recipientsYes
doubleSidedNoTwo-sided postcards: productId pro_postcard_85x55, true, color:true, plus exactly one reverse input. Other postcard sizes remain single-sided.
returnEnvelopeNo
reverseMessageNoFor pro_postcard_85x55 with doubleSided:true only: plain text on the reverse left side, maximum 21 wrapped lines. Choose this OR reverseArtworkBase64. Unsupported glyphs and overflow are rejected.
reverseArtworkBase64NoFor pro_postcard_85x55 with doubleSided:true only: one unrotated PDF page, fitted into the 282 × 348 point reverse left area. No raw images, added bleed or crop marks. Choose this OR reverseMessage. Front and reverse together: maximum 25 MiB decoded.
electronicReturnReceiptNo

Output Schema

NameRequiredDescriptionDefault
idNo
demoNo
fromNo
errorNo
jobIdNo
statusNo
optionsNo
quoteIdNo
currencyNo
expiresAtNo
operationYes
recipientsNo
totalCentsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Strong disclosure beyond the annotations: a third-party upload to DirectMailAmerica for live pricing, no charge or mailing despite destructiveHint=true, a 36-hour hold with expiresAt, a 25 MiB artwork cap, and staging quotes being demo estimates. What is missing is failure behavior (what happens when a page fails the dimension check, whether a quote record persists) and any auth/workspace-key requirement detail.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose and the expiration contract before descending into postcard minutiae, and the approval warning closes it well. It is dense and semicolon-heavy, with the two-sided postcard rule stated twice (once in prose, once again in the schema), costing a little tightness.

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

Completeness4/5

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

For a 12-parameter, nested-object, mutation-shaped tool, the description covers the hard-to-guess parts (artwork dimensions, double-sided assembly, size limits, demo-vs-live quotes) and an output schema covers the return value. The gap is the untouched optional parameters (envelope, return receipt, paper) that an agent may need to set for a correct quote.

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

Parameters4/5

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

With only 33% schema coverage, the description does real work: it explains the productId dimension constraint, the doubleSided + pro_postcard_85x55 combination, the reverseMessage OR reverseArtworkBase64 exclusivity, and the combined size limit. Still, several parameters — returnEnvelope, electronicReturnReceipt, paper, filename — are left undocumented in both schema and description, so the compensation is incomplete.

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

Purpose5/5

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

The opening sentence names a specific verb (hold a quote), the exact resource (expanded-product quote), the constraints (workspace key, print-ready PDF, 1–100 US recipients) and the outcome (expiresAt). The contrast with siblings is explicit enough: 'no charge or mailing' plus 'before sending' clearly separates it from send_product_quote, and the artwork/pricing language separates it from get_product_quote.

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

Usage Guidelines4/5

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

'Obtain approval of artwork, addresses and total before sending' positions this as a pre-send step, and 'Staging quotes are demo estimates' tells the agent the quote is non-binding. However, it never names an alternative tool (preview_product_quote, get_product_quote, quote_letter) or states when a different quoting path should be used, so the agent must infer the choice from sibling names.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources