Skip to main content
Glama

Create checkout

agenta_pay_checkout

Create a checkout session. Creates a one-off checkout for an amount and returns its checkoutUrl to send to the buyer, its sessionId and when it expires. The buyer pays by card; tax is added by AgentaOS. Follow up with agenta_pay_get.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
emailNoPre-populate buyer email
amountYesPayment amount (e.g. 50.00)
businessNoAct for this business you manage (its id). Omit to act as yourself.
currencyNoCurrency code (e.g. EUR, USD)
descriptionNoDescription shown on checkout page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare the mutation and open-world profile; the description adds genuinely useful behavior beyond that: the returned checkoutUrl/sessionId/expiry, that the buyer pays by card, and that tax is added by AgentaOS. It stops short of stating auth/permission requirements or whether the session can be cancelled or re-issued.

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 short sentences, front-loaded with the core action and value of the return payload. The opening 'Create a checkout session. Creates a one-off checkout...' is mildly redundant, but nothing else is wasted.

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?

With no output schema, the description correctly carries the return-value burden (checkoutUrl, sessionId, expiry) plus payment and tax behavior, which is enough for a five-parameter tool. It leaves out error/expiry handling and currency defaults, minor gaps.

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% and each of the five parameters is documented inline, so baseline 3 applies. The description only echoes amount ('for an amount') and adds no meaning for email, currency, business, or description beyond what the schema already says.

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 ('Create a checkout session') and immediately narrows scope to 'a one-off checkout for an amount', which separates it from the subscription siblings. An agent can act on this without opening the schema.

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?

It provides a clear follow-up path ('Follow up with agenta_pay_get') which gives some routing signal, but never states when to use this tool versus alternatives such as agenta_products_create or the subscription tools, nor any exclusions or prerequisites. Usage is implied rather than explained.

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