Skip to main content
Glama

DirectMailAmerica — Narrow

Preview Product Quote

preview_product_quote
Read-onlyIdempotent

Download a saved quote's exact artwork PDF. All small and double-sided postcards include the selected recipient's illustrative address side; postage placement may vary. Other products return stored print artwork. Review before send_product_quote; reading never changes the quote or purchases postage. Workspace authentication required.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "preview_product_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
recipientNo

Output Schema

NameRequiredDescriptionDefault
uriNo
errorNo
quoteNo
filenameNo
mimeTypeNo
operationYes
proofNoteNo
sizeBytesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / quote / properties / fulfillmentPending
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / quote / properties / pricingSource
      Added value: +{
      +  "enum": [
      +    "live_quote",
      +    "fallback"
      +  ]
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / properties / quote / properties / queue
      Added value: +{
      +  "additionalProperties": true,
      +  "properties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / quote / properties / totalCents / description
      Added value: +"USD cents. Null means not applicable or not known; never interpret null as zero."
    • changedOutput schema / properties / quote / properties / totalCents / type
      Previous value: -"integer"New value: +[
      +  "integer",
      +  "null"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, and the description adds genuine context beyond them: workspace authentication is required, postage placement may vary on postcard previews, and other products return stored artwork rather than a rendered layout. The variability caveat is exactly the kind of disclosure annotations cannot carry.

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-loads the core action in the first sentence and then layers product-specific behavior, ordering guidance, and the auth requirement without filler. The postage-placement caveat is the only sentence that could arguably be trimmed, but it is operationally relevant.

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?

An output schema exists, so return-value documentation is not needed, and the description covers safety, auth, sequencing, and product-variant behavior for a simple two-parameter read tool. The residual gap is the meaning of the recipient index and its 0 default, which neither schema nor description resolves.

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

Parameters3/5

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

Schema description coverage is 0%, so the description carries the burden; it does add meaning by tying 'recipient' to rendering that recipient's illustrative address side, which is not evident from the bare integer parameter. However, the required 'id' parameter is never characterized, and the recipient default of 0 and 0-99 range (what 0 means, whether out-of-range values fall back) remain unexplained.

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

Purpose4/5

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

States a specific verb ('Download') and resource ('a saved quote's exact artwork PDF'), plus the per-product nuance that postcard previews include the recipient's address side while other products return stored print artwork. This is clear enough to act on, though it does not explicitly distinguish itself from siblings like get_product_quote or preview_letter, which an agent must infer from names alone.

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?

Gives explicit sequencing guidance ('Review before send_product_quote') and a clear non-effect ('reading never changes the quote or purchases postage'). It stops short of naming alternatives for cases where the agent wants quote data rather than rendered artwork, but the when-to-use context is otherwise clear.

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