Skip to main content
Glama

DirectMailAmerica — Narrow

Send Product Quote

send_product_quote
DestructiveIdempotent

Release an immutable saved physical-mail quote using an existing authenticated workspace balance and confirmed=true. Requires approval of the exact artwork, addresses, options and saved total. Can spend the balance and buy postage; insufficient balance stops submission. No funding or checkout. Retry with the same saved quote ID; authorizing or needs_review requires reconciliation. Staging never mails. Email to Postcard quotes require a production workspace credential and the usual OAuth read/write/send permissions.

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>",
      "confirmed": "<confirmed>"
    },
    "name": "send_product_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
confirmedYes

Output Schema

NameRequiredDescriptionDefault
idNo
demoNo
fromNo
errorNo
jobIdNo
queueNo
statusNo
optionsNo
quoteIdNo
currencyNo
expiresAtNo
operationYes
recipientsNo
totalCentsNoUSD cents. Null means not applicable or not known; never interpret null as zero.
pricingSourceNo
fulfillmentPendingNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the bar is lower, but the description still adds real value: the balance is spent and postage purchased, insufficient balance blocks submission, and 'authorizing or needs_review requires reconciliation'. It does not describe the response shape, though an output schema exists which covers that gap.

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 definition is dense and front-loaded: the primary action and its balance/confirmation requirement come first, followed by preconditions, failure modes, retry behavior and auth constraints. The telegraphic phrasing ('No funding or checkout.', 'Staging never mails.') is efficient rather than padded, though a little more connective structure would aid scanning.

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

Completeness5/5

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

For a destructive, open-world, idempotent submission tool with an output schema already documenting return values, the description covers the operational essentials an agent needs: side effects on balance, blocking conditions, retry semantics, reconciliation states, staging behavior and credential requirements.

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?

Schema description coverage is 0% for 2 parameters, so the description must carry the meaning, and it partly does: it clarifies that 'confirmed' must be true (matching the const:true in the schema) and that 'id' is a saved quote ID to be reused verbatim on retry. It stops short of stating what happens with a non-existent or already-sent quote ID, which is the main residual gap.

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 description uses a specific verb ('Release') on a specific resource ('an immutable saved physical-mail quote'), and distinguishes this terminal action from the surrounding siblings like get_product_quote, preview_product_quote and quote_product. An agent can tell this is the final send/spend step rather than a read or preview step without opening any schema.

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

Usage Guidelines5/5

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

It gives explicit preconditions ('Requires approval of the exact artwork, addresses, options and saved total') and explicit exclusions ('No funding or checkout'), plus a retry path ('Retry with the same saved quote ID') and an environment rule ('Staging never mails'). These are when-to-use and when-not-to-use conditions an agent would otherwise have to infer.

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