Skip to main content
Glama

Is the checkout paid?

get_checkout
Read-onlyIdempotent

Status of a checkout from create_checkout: pending (not paid yet; payment_started says whether the owner reached Stripe), paid (the license is on the account: call get_download), confirm (a free code made it $0: the owner must still open checkout_url and tick the license box), expired or failed; held or needs_refund when a payment arrived that could not be applied as quoted (the answer says what happened and that the owner is refunded or the payment is being checked: never pay again). cannot_pay (with a pending status) means the account changed since the checkout was made and the pay button would refuse it: don't send the owner to it. next_call, when present, is the exact next tool call (get_download once paid; create_checkout or renew_updates with the same order after expired, failed or cannot_pay). poll_after_seconds says how long to wait before checking again. pairs_well_with (when present) lists apps that work with these, best match first, with why, the real price (a companion price where it applies) and the license that price buys (license: site, for site_domain; or unlimited, for all the owner's sites): mention them briefly if useful; never add one or start a checkout for it unless the owner asks. Only your own checkouts are visible. Needs the checkout:create permission, like create_checkout.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "checkout_id": "<checkout_id>"
    },
    "name": "get_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
checkout_idYesThe checkout_id from create_checkout.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations: discloses visibility scoping ('Only your own checkouts are visible') and an auth requirement ('Needs the checkout:create permission, like create_checkout'). It also explains what each status means operationally, though it does not describe the response payload shape beyond the named fields.

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?

Nearly every clause carries actionable information, but it is delivered as one long semicolon-chained block with no list structure, which makes status definitions and side notes (pairs_well_with pricing rules) hard to scan. It is dense rather than wasteful, but the formatting works against quick parsing during a tool-selection decision.

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 single-parameter status tool with no output schema, this covers the full decision surface: every status value's meaning, the recommended next call per state, polling cadence, permission requirement, visibility scope, and how to treat companion app suggestions. Nothing an agent needs to act correctly is missing.

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?

Only one parameter and schema coverage is 100%, so the schema already documents checkout_id and its provenance from create_checkout. The description's added value here is the permission note and the ID linkage, not new meaning about the parameter itself; 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?

Opens with a specific verb+resource ('Status of a checkout') and anchors it to create_checkout, then enumerates the exact status vocabulary. An agent can tell instantly that this is a status-read tool and not get_download, create_checkout or renew_updates, which are all named explicitly.

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?

Gives explicit routing for each state: call get_download once paid, create_checkout or renew_updates on expired/failed/cannot_pay, and an explicit prohibition ('don't send the owner to it', 'never pay again'). next_call and poll_after_seconds tell the agent exactly how to proceed and how often to re-check.

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