get_checkout_session
Read a checkout session's status, amounts and expiry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Checkout session id |
Read a checkout session's status, amounts and expiry.
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Checkout session id |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It conveys read-only semantics and hints at the returned fields (status, amounts, expiry), but says nothing about permissions, error behavior for unknown/expired session ids, or idempotency. A 3 reflects adequate but thin disclosure for a parameterless read.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One front-loaded sentence with zero filler; the verb and resource lead and the returned fields follow immediately.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple single-parameter read tool with a fully documented schema, this is nearly complete. The mention of returned fields (status, amounts, expiry) partly compensates for the absent output schema, though the description could note failure modes.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% for the single sessionId parameter, so the schema already defines it. The description adds no format or sourcing detail beyond what the schema provides, making the baseline 3 appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (read) and resource (checkout session) plus what is retrieved (status, amounts, expiry). This clearly distinguishes it from sibling writes like cancel_checkout_session and create_checkout_session, though it doesn't name a sibling explicitly.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no explicit when-to-use guidance or named alternative. The agent must infer that this is the lookup-by-id complement to create/cancel, with no stated prerequisites or exclusions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.