Skip to main content
Glama

Get Checkout Summary

get_checkout_summary
Read-onlyIdempotent

Revalidate cart, discounts, points, addresses, and checkout total without placing an order.

Input Schema

NameRequiredDescriptionDefault
coupon_codeNo
billing_addressNo
points_to_redeemNo
shipping_addressNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / billing_address
      Added value: +{
      +  "maxLength": 500,
      +  "minLength": 10,
      +  "type": "string"
      +}
    • addedInput schema / properties / shipping_address
      Added value: +{
      +  "maxLength": 500,
      +  "minLength": 10,
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint true and destructiveHint false, so safety is covered. The description usefully reinforces that no order is placed, but says nothing about whether revalidation has hidden side effects (inventory hold, cart lock) or any auth/rate-limit requirements, so it adds modest value over the annotations.

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 sentence, zero filler, with the computed fields listed first and the critical non-mutating constraint front-loaded at the end of the same sentence.

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?

An output schema exists, so return values need no explanation, and the annotations cover the safety profile. The description is complete enough to call the tool, with the only residual gap being optional-parameter behavior for the four nullable inputs.

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 0% across 4 params, so the description must compensate; it does so only coarsely, mapping 'discounts' to coupon_code, 'points' to points_to_redeem, and 'addresses' to the two address strings. It never states that all inputs are optional or what happens when one is omitted, leaving real format/semantics gaps.

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 gives a specific verb ('revalidate') plus an enumerated resource set (cart, discounts, points, addresses, checkout total), which tells the agent exactly what is recomputed. The trailing clause 'without placing an order' separates it from the mutating sibling start_checkout, so no schema opening is needed to disambiguate.

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 only implied via 'without placing an order', which hints at a pre-purchase preview scenario, but no sibling (start_checkout, validate_coupon, get_cart) is named as an alternative and no prerequisites or exclusions are stated. An agent must infer the correct moment to call it.

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