Skip to main content
Glama

Get price quote

get_price_quote
Read-onlyIdempotent

Use this when the user asks what it costs to send a physical letter by post (snail mail), including a registered letter. Returns the exact total incl. VAT (for a signed-in EU business customer with a confirmed VAT number: excl. VAT under the reverse charge), the line items, the envelope, the postal size class and zone and the typical delivery time for a page count, destination country and print options. Letters are printed and posted in Europe, so the sender can be anywhere in the world. Note: registered mail is international registered mail with tracking and signature on delivery; "certified" letters, Einschreiben, lettre recommandée and carta certificada mean this here (not a US certified-mail product). Works without sign-in. Set currency to get the total in USD, GBP or CHF (ECB rate plus currency margin). Does not cover email, fax, parcels or postcards.

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": {
      "pages": "<pages>",
      "country": "<country>"
    },
    "name": "get_price_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNo"bw" = black and white, "color" = colour printing (costs more per page). Default "bw".bw
pagesYesNumber of pages in the PDF, a whole number from 1 to 250, e.g. 2.
duplexNotrue = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false.
countryYesDestination country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US (list_destinations lists them all).
currencyNoCurrency for the total: "EUR", "USD", "GBP" or "CHF". Prices are set in EUR; for USD, GBP or CHF the result adds the total converted at the ECB rate plus a currency margin. Default "EUR".EUR
envelopeNo"DL" (220×110 mm, letter folded twice), "C5" (229×162 mm, folded once) or "C4" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused.
registeredNotrue = registered mail: tracking number and signature on delivery, for an extra fee (also what "certified" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false.
postal_codeNoDestination postcode, e.g. 07001. Optional: it only changes the price for the Spanish and Portuguese islands and enclaves (Balearic and Canary Islands, Ceuta, Melilla, Madeira, Azores).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / color / description
      Added value: +"\"bw\" = black and white, \"color\" = colour printing (costs more per page). Default \"bw\"."
    • changedInput schema / properties / country / description
      Previous value: -"Destination ISO country code, e.g. DE"New value: +"Destination country as an ISO 3166-1 alpha-2 code, e.g. DE, FR or US (list_destinations lists them all)."
    • addedInput schema / properties / currency / description
      Added value: +"Currency for the total: \"EUR\", \"USD\", \"GBP\" or \"CHF\". Prices are set in EUR; for USD, GBP or CHF the result adds the total converted at the ECB rate plus a currency margin. Default \"EUR\"."
    • changedInput schema / properties / duplex / description
      Previous value: -"Double-sided printing"New value: +"true = print on both sides of the paper (fewer sheets, so a lighter letter); false = one side only. Default false."
    • changedInput schema / properties / envelope / description
      Previous value: -"Omit to use the smallest envelope that fits"New value: +"\"DL\" (220×110 mm, letter folded twice), \"C5\" (229×162 mm, folded once) or \"C4\" (324×229 mm, flat). Omit to use the smallest envelope that holds the sheets (recommended); one too small for the page count is refused."
    • changedInput schema / properties / pages / description
      Previous value: -"Number of pages in the PDF"New value: +"Number of pages in the PDF, a whole number from 1 to 250, e.g. 2."
    • changedInput schema / properties / postal_code / description
      Previous value: -"Destination postcode (matters for Spanish/Portuguese islands)"New value: +"Destination postcode, e.g. 07001. Optional: it only changes the price for the Spanish and Portuguese islands and enclaves (Balearic and Canary Islands, Ceuta, Melilla, Madeira, Azores)."
    • changedInput schema / properties / registered / description
      Previous value: -"Registered mail with tracking and signature on delivery (also for 'certified', Einschreiben, lettre recommandée)"New value: +"true = registered mail: tracking number and signature on delivery, for an extra fee (also what \"certified\" letters, Einschreiben, lettre recommandée and carta certificada mean here; not a US certified-mail product). false = ordinary mail. Default false."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark it read-only, idempotent and non-destructive, but the description goes well beyond: VAT treatment incl. reverse charge for EU business customers, works without sign-in, currency conversion via ECB rate plus margin, and the exact registered-mail semantics. These are meaningful behavioral details not derivable from annotations.

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 usage trigger, then packs return contents and caveats efficiently. It is dense and fairly long, but nearly every sentence (VAT, registered definition, currency, Europe posting) carries distinct information.

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?

No output schema exists, but the description enumerates what is returned: exact total incl. VAT, line items, envelope, postal size class and zone, and typical delivery time. Combined with the when-to-use framing, an agent has everything needed to invoke it correctly.

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 100%, so the baseline is 3. The description restates the currency conversion and registered-mail meaning, which mostly duplicates the schema's own parameter descriptions (e.g. postal_code island caveat, envelope recommendation), adding limited new value beyond the structured fields.

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?

States a specific verb and resource: a price quote for sending a physical letter by post, including registered mail. It explicitly excludes email, fax, parcels and postcards, and the scope (printed/posted in Europe) distinguishes it clearly from compose_letter, create_letter, send_letter and get_balance.

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?

Front-loads the trigger condition ('Use this when the user asks what it costs to send a physical letter by post') and names out-of-scope cases (email, fax, parcels, postcards). It clarifies that no sign-in is needed and disambiguates 'certified'/Einschreiben/lettre recommandée/carta certificada, leaving little to inference.

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.