Skip to main content
Glama

Send Christmas Postcard

Quote a postcard order

quote_postcard
Read-onlyIdempotent

Use before preparing, or whenever the user asks about price or timing. Takes one country per card and a currency; returns per-card prices (VAT and postage included), the total, order-by dates and whether each card will likely arrive before Christmas. Charges nothing.

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": {
      "countries": "<countries>"
    },
    "name": "quote_postcard"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoMode for the delivery estimate. Defaults to live routing (US printed by Lob, GB by Stannp, everywhere else by print.one).
formatNoCard format for the delivery estimate. Defaults to a6.
currencyNoBuyer currency. Fixed at prepare time; checkout charges exactly this.EUR
countriesYesOne entry per card (recipient country).

Output Schema

NameRequiredDescriptionDefault
linesYes
notesYes
totalYes
taxIncludedYes
nextPrintRunYesISO datetime of the print run that covers every card in the quote. Each destination's supplier has its own run: print.one 06:00 Europe/Amsterdam, Lob 10:00 America/Los_Angeles, Stannp the next UK working day. Weekends and supplier holidays are skipped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"Provide with mode for route-specific delivery estimates."New value: +"Card format for the delivery estimate. Defaults to a6."
    • changedInput schema / properties / mode / description
      Previous value: -"Provide with format for route-specific delivery estimates."New value: +"Mode for the delivery estimate. Defaults to live routing (US printed by Lob, GB by Stannp, everywhere else by print.one)."
    • changedOutput schema / properties / nextPrintRun / description
      Previous value: -"ISO datetime of the next print run (06:00 Europe/Amsterdam, working days)."New value: +"ISO datetime of the print run that covers every card in the quote. Each destination's supplier has its own run: print.one 06:00 Europe/Amsterdam, Lob 10:00 America/Los_Angeles, Stannp the next UK working day. Weekends and supplier holidays are skipped."
  2. Changed1 schema field changed
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "a6",
      -  "square"
      -]New value: +[
      +  "a6"
      +]
  3. Changed3 schema fields changed
    • changedOutput schema / properties / lines / items / properties / estimatedDeliveryDays / description
      Previous value: -"Business days after the print run."New value: +"[min, max] business days after the print run."
    • changedOutput schema / properties / lines / items / properties / estimatedDeliveryDays / items
      Previous value: -falseNew value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": -9007199254740991,
      +  "type": "integer"
      +}
    • removedOutput schema / properties / lines / items / properties / estimatedDeliveryDays / prefixItems
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "number"
      -  }
      -]
  4. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still adds real value by disclosing what comes back (per-card prices with VAT and postage, totals, order-by dates, arrival likelihood) and by asserting no charge. It does not say whether a quote is cached or expires, which is the only remaining behavioral gap.

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

Conciseness5/5

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

Three short sentences, front-loaded with the usage trigger, then inputs, then outputs and the no-charge guarantee. Nothing is repeated from the schema verbatim and no sentence is filler.

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?

With an output schema present the description need not enumerate return fields, yet it summarizes them usefully; with full schema coverage and rich annotations, nothing an agent needs in order to call this correctly is missing. The 'one country per card' phrasing also surfaces the per-item semantics that matter for a batched quote.

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 coverage is 100%, so the schema already documents countries, currency, mode and format. The description only restates the cardinality rule ('one country per card and a currency') and says nothing about mode or format defaults. Baseline 3 is correct when the schema does the heavy lifting.

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 states a specific verb and resource plus scope: it takes one country per card and a currency and returns per-card prices, the total, order-by dates and a Christmas-arrival likelihood. That is enough to distinguish it from prepare_postcard, which it explicitly positions itself ahead of.

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 triggers — 'before preparing' and 'whenever the user asks about price or timing' — and names the sequencing relative to prepare_postcard. 'Charges nothing' closes the obvious ambiguity about whether quoting commits the user to anything.

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.