Skip to main content
Glama

DirectMailAmerica — Narrow

Get Product Quote

get_product_quote
Read-onlyIdempotent

Recover an owned saved product quote, exact options, price, expiry and order state. A ready fallback quote has a fixed total and fulfillmentPending=true; disclose the delay before approval. mailing_queued means payment/approval is recorded and fulfillment is pending; never pay again. A queued pricing request has no final price yet; inspect its next attempt and poll the same ID. queue_held requires review. Approve only a ready quote. Does not send, charge, renew or replace a quote. Reconcile pending results using the same quote ID. 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": "get_product_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Output Schema

NameRequiredDescriptionDefault
errorNo
quoteNo
operationYes
creditsCentsNo

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

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description still adds substantial behavior the annotations cannot express: the meaning of fulfillmentPending, mailing_queued, queue_held, and a queued request with no final price yet. It also flags the auth requirement ("Workspace authentication required") and warns against double payment, which is exactly the kind of consequence an agent needs. Nothing here conflicts with readOnlyHint.

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?

The state semantics are front-loaded after the opening purpose sentence, and each subsequent sentence carries a distinct fact with little repetition. Some phrasing is dense to the point of terseness ("Recover", "queue_held requires review") and the approval advice sits slightly outside a read tool's remit. Overall it is compact and scannable.

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 the description is not obliged to describe return values, and it wisely spends its budget on state interpretation and the no-side-effects guarantee instead. Authentication is disclosed and the negative scope is explicit. The only gap is the origin of the quote ID, which an agent must guess.

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%, but the single parameter is constrained by pattern and length and the description supplies real meaning: the ID identifies an owned saved quote and must be reused verbatim when polling or reconciling. What is missing is where the ID comes from (e.g., a prior quote_product call) or any format illustration. Adequate, not generous, for a one-parameter tool.

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?

"Recover an owned saved product quote, exact options, price, expiry and order state" gives a specific verb, resource, and the fields returned, which is well beyond the tautological title. It also rules out adjacent operations ("Does not send, charge, renew or replace a quote"), implicitly separating it from send_product_quote and the quote_* mutators. It stops short of naming preview_product_quote or quote_product directly, so the sibling boundary is implied rather than stated.

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?

The description tells the agent what to do in each state: inspect and poll the same ID for a queued pricing request, require review for queue_held, approve only a ready quote, and reconcile pending results using the same ID. That is concrete operational guidance rather than vague context. It never explicitly says when to call this instead of preview_product_quote or quote_product, which keeps it below a 5.

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