Skip to main content
Glama

GELATO.cz

Checkout preview

checkout_preview
Read-only

Preview the order before placing it: final items, totals including VAT and transport, delivery address and payment/delivery methods. Always call this before place_order.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "checkout_preview"
  }
}

Input Schema

NameRequiredDescriptionDefault
delivery_address_idNoDelivery address id from list_delivery_addresses; the default address when omitted

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / delivery_address_id / description
      Added value: +"Delivery address id from list_delivery_addresses; the default address when omitted"
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered; the description reinforces this by framing the call as a preview that precedes placement. It also discloses the content of the result (totals with VAT and transport, resolved address and methods), which is more than the annotations provide. It stops short of stating things like whether totals are guaranteed at placement time or what happens on invalid cart state.

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?

One front-loaded sentence that first names the action, then lists the output contents, then closes with the required sequencing rule. No filler and nothing that could be trimmed without losing 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?

For a simple read-only, single-optional-parameter tool, the definition covers purpose, returned content, and required call ordering. The absence of an output schema is mitigated by the description enumerating the fields the preview returns.

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?

With a single parameter and 100% schema description coverage, the schema already explains delivery_address_id and its default-when-omitted behavior. The description adds no additional meaning about that parameter, so baseline 3 applies.

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 ('Preview the order') and enumerates exactly what the preview contains: items, totals including VAT and transport, delivery address, and payment/delivery methods. This is clearly a non-mutating pre-checkout step, which an agent can distinguish from place_order without inspecting either 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?

Provides an explicit sequencing rule ('Always call this before place_order') that names the relevant sibling and the condition under which this tool should be used. That is the key decision an agent faces in this flow, and it is stated outright rather than implied.

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