Skip to main content
Glama

BotSupply

Create checkout

create_checkout

Start a Stripe Checkout credit top-up. Same as POST /v1/wallets/:id/checkout. Returns the checkout url (open that URL; it keeps Stripe's hosted-page fragment). credits is an integer from 100 to 100000. Credits are applied only after Stripe reports the session paid. Returns the API error when Stripe is not configured.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNoWallet API key (bsk_…). Optional when the MCP client sends Authorization: Bearer. The local stdio process also reads BOTSUPPLY_API_KEY.
creditsYesCredits to buy. 1 credit = $0.01 USD. Same limits as POST /v1/wallets/:id/checkout.
wallet_idNoWallet to credit. Defaults to the wallet that owns the API key.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly=false, idempotent=false, destructive=false, openWorld=true). The description adds genuinely useful behavior: credits are applied only after Stripe reports the session paid, the returned URL must be opened as-is to keep the Stripe fragment, and an API error is returned when Stripe is unconfigured.

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?

Front-loaded with the core action, then the endpoint mapping, return value, and payment-settlement caveat. Four tight sentences with minimal waste; the credit-range restatement is the only mildly redundant element.

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 carries return-value burden and does so by describing the checkout URL and the unconfigured-Stripe error. Combined with full parameter coverage from the schema and annotation safety hints, an agent has enough to invoke it correctly, though sibling disambiguation remains 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?

Schema description coverage is 100%, so the schema already documents credits, wallet_id, and api_key fully. The description's restatement of the 100–100000 integer range and endpoint equivalence adds little beyond what structured fields provide, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Start a Stripe Checkout credit top-up') and even names the REST endpoint it mirrors, so the agent knows exactly what happens. It does not, however, distinguish itself from the sibling 'purchase' tool, leaving the agent to infer which one to pick.

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?

Use is implied (buying credits via Stripe's hosted checkout), but there is no explicit when-to-use or when-not-to-use guidance, and the near-identical sibling 'purchase' is never mentioned. The agent must guess between them.

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