Skip to main content
Glama

Checkout requirements

get_checkout_requirements
Read-onlyIdempotent

What is needed before ordering at the shop: customer details (name, e-mail, phone) and their rules, address for delivery, time, accepted terms (terms_url), card payment, comment, age check for age-limited products, minimum order and fees per fulfillment, and whether the customer can log in instead of typing details.

Input Schema

NameRequiredDescriptionDefault
shopNoThe "shop" value from find_shops (not needed on a shop's own address <shop>.lenius.app/mcp)
fulfillmentNo
product_idsNoThe products in the cart (for the age limit)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this as a safe, read-only, idempotent operation, so the description does not need to repeat that. It does add useful behavioral context by enumerating the kinds of requirements returned, including terms_url, age checks, minimum order values, fees per fulfillment, and login alternatives, which is valuable because no output schema exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single dense sentence listing many returned fields, so it is reasonably concise but not well structured for scanning. A short front-loaded statement of purpose followed by grouped return categories would be clearer.

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?

Without an output schema, the description carries the burden of explaining return content, and it does so fairly comprehensively by listing customer details, address, time, terms, payment, comment, age check, minimum order, fees, and login options. It is still incomplete on usage context and does not explain the shop parameter, but the core return shape is covered.

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?

The description links fulfillment to minimum order and fees, and product_ids indirectly to age-limited products, adding meaningful semantics beyond the enum and schema notes. The shop parameter is not explained in the description, but its schema description already covers the main nuance about shop address contexts.

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 states the concrete resource: what is needed before ordering at a shop, including customer details, delivery, terms, payment, age checks, and fees. It is clearly a checkout-requirements lookup rather than an order-placement tool, though the verb is implicit rather than explicitly stated.

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?

The phrase 'before ordering' implies when the tool is relevant, but the description does not explicitly compare it to alternatives such as validate_cart, get_shop_policies, or quote_order. It also does not state when this tool should not be used.

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