Skip to main content
Glama

Deporte Total

checkout_review

Read-onlyIdempotent

The exact order that would be placed: lines, discounts, shipping, taxes, the total (total_cents and total formatted), the delivery address and the payment method, and the confirm_token that checkout_place needs. Read the total from here: never calculate it. If something is missing it says what. When no API key with the scope orders:create is sent, the shop emails a 6-digit verification code to the buyer for security and says so in "confirmation": tell the person, ask for the code and wait for it.

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_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
session_idNoOnly if your client does not keep the MCP session (the Mcp-Session-Id header): the session_id that an earlier answer of this server gave you. It keeps the same cart between calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say it is a safe, idempotent, non-destructive read; the description adds real behavior beyond that — it discloses the confirm_token handoff, that missing inputs are reported in the response, and, most importantly, the out-of-band side effect of emailing a 6-digit verification code and the required agent behavior (tell the person, ask for the code, wait). That email side effect is not inferable from readOnlyHint and is exactly the kind of context this dimension rewards.

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 response contents come first, the token/usage rule next, then the verification branch, so the important material is front-loaded and every clause carries information. The final sentence is long and packs three instructions into one run-on, which slightly hurts readability.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it enumerates them precisely, including both raw and formatted totals plus the confirm_token. It also covers the unusual authorization branch, leaving nothing an agent needs in order to call and interpret this 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?

There is a single optional session_id parameter and its schema description already covers it at 100%, explaining the Mcp-Session-Id fallback and cart persistence. The description adds nothing about it, so the baseline of 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?

The description states a concrete resource and scope: it returns 'the exact order that would be placed' — lines, discounts, shipping, taxes, totals, address, payment method and confirm_token. It also names checkout_place as the consumer of the returned confirm_token, so an agent can distinguish review from placement without opening 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 Guidelines4/5

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

Usage is strongly implied and partly explicit: call this to obtain the confirm_token that checkout_place needs, and 'read the total from here: never calculate it.' It adds a conditional branch (no orders:create API key → buyer gets a 6-digit code, ask the person and wait). It does not explicitly say when to prefer this over checkout_status, so it falls short of full when/when-not routing.

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