Skip to main content
Glama

Get checkout

agenta_pay_get
Read-only

Get checkout session status. Returns one checkout by sessionId: open, completed (paid), expired or cancelled, with amount, currency and link. Changes nothing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
businessNoAct for this business you manage (its id). Omit to act as yourself.
sessionIdYesThe checkout session id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false), so the bar is lower. The description still adds real value by enumerating the possible statuses (open, completed/paid, expired, cancelled) and the returned fields, which matters because there is no output schema.

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?

Three tight sentences, front-loaded with the action and immediately followed by the return contract. 'Changes nothing' is slightly redundant against readOnlyHint but otherwise there is no waste.

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 two-parameter read tool with no output schema, the description supplies exactly what is missing: the return shape, the status values, and the fields returned. An agent has everything needed to call and interpret it.

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 100%, so both parameters are already documented in the schema. The description mentions sessionId but adds no format or syntax detail beyond it, making the baseline 3 appropriate.

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?

States a specific verb and resource ('Get checkout session status') and pins down the exact return: one checkout by sessionId. It is clearly distinguishable from the sibling list (agenta_pay_list) and create (agenta_pay_checkout) tools.

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?

'Returns one checkout by sessionId' implies a singular lookup, which is enough to infer usage versus the list tool, but no explicit when-to-use, prerequisites, or named alternatives are given. Usage is implied rather than stated.

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