Skip to main content
Glama

Hand the organiser a payment page for the option they chose.

order

Returns a payment link for one of the ways to keep the book: voices, which brings the book online with it, or keepsake, which is the printed hardcover. It returns the price for this book in the money of the buyer’s country when the country is given, from the same table as the site: the keepsake’s price depends on the kind of book, and a book over 400 printed pages pays the page charge on every copy when it prints. Stripe’s page takes the card and, on the keepsake, the postal address. This tool never takes a card.

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": {
      "book": "<book>",
      "option": "<option>"
    },
    "name": "order"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookYesThe book’s handle.
optionYesvoices or keepsake. Only the keepsake is printed and posted. book is taken as voices, which includes the book online.
countryNoThe buyer’s country as a two-letter code, such as US, GB or DE, so the price comes back in their money.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / country
      Added value: +{
      +  "description": "The buyer’s country as a two-letter code, such as US, GB or DE, so the price comes back in their money.",
      +  "type": "string"
      +}
    • changedInput schema / properties / option / description
      Previous value: -"voices, book, or keepsake. Only the keepsake is printed and posted."New value: +"voices or keepsake. Only the keepsake is printed and posted. book is taken as voices, which includes the book online."
  2. Changed1 schema field changed
    • changedInput schema / properties / book / description
      Previous value: -"The handle start_book gave you."New value: +"The book’s handle."
  3. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare a non-read-only, open-world, non-idempotent, non-destructive operation. The description adds meaningful behavior beyond those hints: it explains that the tool returns a link while Stripe’s page collects the card and, for keepsake, the postal address, and it explicitly states that this tool never takes a card. It still does not describe side effects or idempotency caveats, but it adds useful context for an agent.

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 purpose is front-loaded in the first sentence, and subsequent sentences cover options, pricing, and payment handling without major repetition. Some details, such as the page-charge rule and the phrase “from the same table as the site,” are more elaborate than strictly necessary, but they are relevant and the description remains readable.

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?

For a three-parameter payment-link tool with no output schema, the description explains what is returned (a payment link and price), how pricing varies, and where card data is collected. It does not cover link expiry, error behavior, or authentication needs, but it is otherwise complete enough for an agent to call the tool correctly.

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 coverage is 100%, so the baseline is 3. The description adds pricing semantics beyond the schema: country causes the price to be returned in the buyer’s currency, keepsake pricing depends on the kind of book and page count over 400, and voices includes the online book. The book handle itself is not further explained, but the added meaning for the key parameters is substantial.

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?

The description specifies a concrete verb and resource: it returns a payment link for the chosen option (voices or keepsake). The two options are clearly distinguished, including that keepsake is the printed hardcover. However, it does not contrast this tool with siblings such as order_status, so an agent must infer when this tool is preferable.

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

Usage Guidelines3/5

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

Usage is implied by the purpose: call this when you need a payment link for a book option. The description does not explicitly state when not to use it or name an alternative tool for checking payment status. Guidance therefore exists but is not fully spelled out.

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