Skip to main content
Glama

create_checkout

Generate a Stripe checkout session URL to bill an organization for products such as balance top-up, tier plans, or email packs.

Instructions

Create a Stripe checkout URL for an organization. Products: balance_topup, tier, email_pack.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tierNoRequired for product=tier
org_idYesOrganization ID to bill
productYesCheckout product
cancel_urlNoOptional checkout cancel redirect URL
success_urlNoOptional checkout success redirect URL
amount_usd_microsNoRequired for product=balance_topup; amount in micro-USD (e.g. 5000000 = $5.00)
Behavior2/5

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

With no annotations, the description must fully disclose behavioral traits. It states 'Create' (indicating mutation) and 'Stripe checkout URL' (output), but it does not reveal authorization requirements, side effects (e.g., charges), error conditions, or the nature of the returned URL. The minimal detail leaves significant gaps for an agent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is extremely concise with two sentences, no filler, and front-loads the core purpose. Every word adds value, making it easy to parse quickly.

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

Completeness2/5

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

Despite having 6 parameters with conditional requirements, the description provides no overview of the workflow or constraints. It omits crucial context like that amount_usd_micros is required for balance_topup and tier for product=tier, which even the schema documents. The agent lacks sufficient guidance to invoke the tool correctly, especially without an output schema.

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 coverage is 100%, so the baseline is 3. The description adds only a list of 'Products: ...', which is already present in the schema's enum description. It does not clarify parameter relationships (e.g., amount_usd_micros required for balance_topup, tier for product=tier) beyond what the schema provides. Thus, no added semantic value.

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?

The description clearly states the tool's action ('Create a Stripe checkout URL') and the resource it operates on ('for an organization'). It lists the specific products, distinguishing it from sibling tools like billing_history or check_balance. This is a specific verb+resource combination, meeting the highest standard.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is given on when to use this tool versus alternatives. For example, it does not explain that this tool is for initiating a payment flow or that related tools like check_balance or get_quote are for pre-payment checks. This lack of comparative context reduces its utility for an AI agent deciding between tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MajorTal/run402'

If you have feedback or need assistance with the MCP directory API, please join our Discord server