Skip to main content
Glama

checkout

Idempotent

Optional consent workflow only: create unpaid checkout with independently returned exact browser consent. Reuse preparation/consent on retries and reopen an existing order_url. Default website handoff can finish payment without this agent bounce. Redirects never prove payment.

Input Schema

NameRequiredDescriptionDefault
consent_idYes
preparation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Beyond the annotations, the description adds useful behavior: the checkout is unpaid, consent is returned independently by the browser, retries should reuse preparation/consent, and redirects do not prove payment. These are meaningful operational caveats for a payment-adjacent tool. It does not contradict the annotations and adds context beyond idempotent/non-destructive hints.

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 and optional-workflow constraint are front-loaded, and the following sentences cover retries, the default alternative, and a payment-proof caveat without filler. The wording is dense and somewhat jargon-heavy, but each sentence carries relevant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a consent-based checkout tool with no output schema and no parameter descriptions, the description covers the workflow, retry behavior, alternative path, and payment-proof caveat. However, it remains unclear what the tool returns, how the required IDs are validated, or what happens on failure. It is minimally adequate but has clear completeness gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must explain the two required IDs, but it only vaguely references 'preparation/consent' and 'browser consent.' It does not say what preparation_id identifies, where consent_id comes from, or how the two relate. This leaves the required parameters under-specified.

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 a specific action: create an unpaid checkout under an optional consent workflow. It also distinguishes this path from the default website handoff, which helps separate it from sibling checkout/payment tools. The phrase 'independently returned exact browser consent' is opaque, but the core verb and resource are identifiable.

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?

It explicitly scopes use to the optional consent workflow and notes that the default website handoff can finish payment without this agent step. It also gives retry guidance: reuse preparation/consent and reopen an existing order_url. The main gap is that it does not name prepare_checkout directly or spell out prerequisites for obtaining the two IDs.

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