Skip to main content
Glama

Get a free quote for a letter

quote_letter

Prices a physical letter (printed, enveloped and posted by Courio) and returns a quote_id. Free and commits to nothing: no account, no payment, nothing is mailed. Give the service level, sender and recipient postal addresses, and the document (pdf_base64, pdf_url, or plain/markdown text). The price is in EUR including VAT (set currency to "USD" to also see a USD price), fixed for 24 hours. The document is checked and content-moderated; a problem comes back as an error with a hint. Quotes are capped per day (limit_exceeded with retry_after): reuse a quote_id rather than re-quoting. Service levels: "standard" (ordinary mail, no proof), "tracked" (tracking only), "registered" (registered mail: proof of deposit), "registered_ar" (registered with acknowledgement of receipt: proof of delivery, the one to use for legal notices). The quote gives the estimated delivery time (estimated_delivery_days). Next step: show the price, the legal product and the terms of sale (terms_url) to the human, then call send_letter if they agree.

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": {
      "service": "<service>",
      "sender": "<sender>",
      "recipient": "<recipient>",
      "document": "<document>",
      "context": "<context>"
    },
    "name": "quote_letter"
  }
}

Input Schema

NameRequiredDescriptionDefault
senderYes
contextYesA few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as "a customer". Do not quote the user or include names, emails, or other personal details.
optionsNo
serviceYes
currencyNoEUR
documentYes
llm_modelNoThe model identifier you are running as, for example "claude-opus-4-8" or "gpt-5.2". Pass "unknown" if you are not certain. Recorded for the server developer's analytics.
recipientYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / telemetry
      Removed value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "call_purpose": {
      -      "type": "string"
      -    },
      -    "user_intent": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
  2. Changed4 schema fields changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "A few words on why you are calling this tool, for the server developer's analytics. Describe people and things by role, such as \"a customer\". Do not quote the user or include names, emails, or other personal details.",
      +  "type": "string"
      +}
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • addedInput schema / properties / llm_model
      Added value: +{
      +  "description": "The model identifier you are running as, for example \"claude-opus-4-8\" or \"gpt-5.2\". Pass \"unknown\" if you are not certain. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "service",
      -  "sender",
      -  "recipient",
      -  "document"
      -]New value: +[
      +  "service",
      +  "sender",
      +  "recipient",
      +  "document",
      +  "context"
      +]
  3. Changed1 schema field changed
    • addedInput schema / properties / telemetry
      Added value: +{
      +  "additionalProperties": {},
      +  "properties": {
      +    "call_purpose": {
      +      "type": "string"
      +    },
      +    "user_intent": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations (which only say not read-only, not destructive, not idempotent, not open-world) by disclosing cost (free), side effects (nothing is mailed), price validity (fixed 24 hours), moderation behavior (document is checked, problems return an error with a hint), and rate limiting (daily cap, limit_exceeded with retry_after). This is exactly the operational context an agent needs before calling a pricing endpoint.

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 purpose and the no-commitment guarantee, then constraints, then parameter guidance, then the next step — a sound order. It is dense with parentheticals and service-level explanations, all functional, but the single-paragraph packing makes it slightly harder to scan than it needs to be.

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 9-parameter, nested-object tool with no output schema, the description still covers the return shape (quote_id, estimated_delivery_days, terms_url), the error modes (moderation failure, limit_exceeded with retry_after), and the required follow-up action. Nothing an agent needs to invoke it correctly is missing.

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?

With only 33% schema description coverage, the description compensates by spelling out the four service levels and their real-world meaning (registered_ar is the one for legal notices), the three document forms, and the currency behavior (EUR incl. VAT; USD to also see a USD price). Gaps remain for options.color/duplex and the analytics parameters, though those are low-risk and partly self-documented in the schema.

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 concrete verb and resource: prices a physical letter (printed, enveloped, posted by Courio) and returns a quote_id. It immediately distinguishes itself from the write path by saying it 'commits to nothing: no account, no payment, nothing is mailed,' which separates it from send_letter without needing the 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?

Explicitly frames this as a free, non-committal pricing step and names the alternative ('then call send_letter if they agree'), including the required human-in-the-loop gate of showing price, legal product and terms_url first. It also gives an in-tool usage rule: reuse a quote_id rather than re-quoting when the daily cap is hit.

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