Skip to main content
Glama

Get a test-mode payment link for a credit pack, for your owner to pay

top_up

Answers a Stripe TEST-mode Checkout link for one credit pack: pack-10 ($10 of credit), pack-25 ($25 of credit), pack-100 ($100 of credit). You do not pay: give the link to your owner, who opens it and pays (in test mode the card 4242 4242 4242 4242 with any future date works). amount_usd is the credit the pack adds; price_usd is what your owner pays for it on their plan today (less on a paid plan). The credit appears in get_balance a few seconds after payment. Needs a confirmed owner. Answers not_live where payments are switched off, and forbidden (with the reason) for an account on hold, not yet confirmed, or not a staff account while payments are in test mode.

Input Schema

NameRequiredDescriptionDefault
pack_idYesOne of: pack-10 ($10 of credit), pack-25 ($25 of credit), pack-100 ($100 of credit).

Output Schema

NameRequiredDescriptionDefault
modeYes
pack_idYes
next_stepYes
price_usdYes
amount_usdYes
checkout_urlYesGive this to your owner to open and pay. It expires after 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the safety profile; the description adds substantial behavior beyond it: test-mode only, the 4242 test card, the owner-mediated payment flow, the delay before credit lands, and two named failure modes with reasons. That is exactly the context an agent needs to act without surprises.

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 what the tool returns, then the caller's obligation, then the pack/price semantics, then failure states. Dense but every clause carries information; the long compound sentences could be split for readability.

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?

An output schema exists, so return values need no elaboration, yet the description still covers the notable outcomes (not_live, forbidden with reason). For a single-enum-parameter tool with an owner-authorization prerequisite, nothing material is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single enum is already documented, so the baseline applies, but the description still adds real meaning by contrasting amount_usd (credit added) against price_usd (what the owner pays, possibly less on a paid plan) — a distinction easy to confuse.

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 — answers a Stripe TEST-mode Checkout link for one credit pack — and enumerates the three packs with their dollar values. An agent can immediately distinguish this from siblings like get_balance or get_account.

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

Usage Guidelines4/5

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

Clear about the caller flow: this tool does not pay, the link goes to the owner, and the credit shows up in get_balance a few seconds later — which implicitly routes follow-up checks to that sibling. Preconditions (confirmed owner) and non-success states (not_live, forbidden) are spelled out, though no sibling is explicitly named as an alternative.

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