Skip to main content
Glama

Start credit checkout

start_credit_checkout

Start a Stripe Checkout for one prepaid credit pack for the caller's organization, and return its page for the person to open and pay there. Nothing is charged until they pay on that page. Only organization owners and admins may call it. Needs a credential.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pack": "<pack>"
    },
    "name": "start_credit_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
packYesPrepaid credit pack, named by its price in US dollars. Credits are $0.05 each, and larger packs add bonus credits.

Output Schema

NameRequiredDescriptionDefault
urlYesThe Stripe page for the person to open in a browser and finish there. Stripe expires it, so call again for a fresh one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and openWorldHint=true; the description adds real context beyond them by disclosing the authorization requirement, the human-in-the-loop payment flow, and that no charge occurs at call time. It stops short of stating whether repeated calls create multiple concurrent checkout sessions or how long a session stays valid.

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?

Three short sentences that front-load the action and return value, then the payment-safety caveat, then the authorization constraint. No filler or repetition.

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 an output schema present and full parameter coverage, the description does not need to explain return values, and it covers the key concerns for a billing mutation: permissions and deferred charge. Minor gaps remain around idempotency and session lifetime, which an agent might want before calling twice.

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 the enum's own description already explains pricing, $0.05 credits, and bonus tiers. The description only adds that exactly one pack is selected per call, so the schema is doing the heavy lifting, which lands at the baseline 3.

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 uses a concrete verb+resource pair ('Start a Stripe Checkout for one prepaid credit pack') and names the caller scope (the caller's organization) plus what it returns (the checkout page to open). This clearly separates it from siblings like get_credits, open_billing_portal, and request_payout_account_setup.

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?

It gives the essential gating context: only organization owners and admins may call it, a credential is needed, and nothing is charged until payment happens on the returned page. It does not explicitly contrast with open_billing_portal or get_credits, so the when-to-use-vs-alternative link is left implicit.

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