Skip to main content
Glama

start_checkout

Buy a plan (mode subscription, with plan and period) or credits (mode credits, with credits: 50-2000 in steps of 50, paid plans only) for the account of this request's API key. Returns a Stripe checkout_url for your user to pay (card or Link) and a checkout_id for get_checkout.

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": {
      "mode": "<mode>"
    },
    "name": "start_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
planNomode subscription only.
periodNomode subscription only.
api_keyNoOptional. Your vv_live_ API key, used only when this connection sends no Authorization header (e.g. the key from get_signup_status or verify_login_code).
creditsNomode credits only.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations supplied, the description carries the whole behavioral burden and does well: it discloses the account charging scope ("the account of this request's API key"), that the output is a Stripe checkout_url plus checkout_id, accepted payment methods (card or Link), and the credit purchase guardrail "paid plans only." It omits whether a checkout expires, whether repeat calls create duplicate sessions, and whether the purchase is only completed after the user pays.

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?

Two sentences, front-loaded with the core action, with no filler. The dense parenthetical packing of mode rules makes it slightly harder to scan than a bulleted form would be, but every clause carries information.

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?

For a 5-parameter mutation tool with no annotations and no output schema, the description covers the essentials: what is bought, per-mode requirements, constraints, and exactly what comes back. The remaining gap is lifecycle/idempotency behavior around the created checkout session.

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 already 80%, so the schema explains most fields; the description still adds real meaning by binding plan/period to subscription mode and credits to credits mode as a coherent rule, and by adding the "paid plans only" constraint that is absent from the schema. It does not add anything about the api_key parameter, which the schema already explains.

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 ("Buy") on a concrete resource (a plan or credits) and spells out the two operational modes (subscription vs credits) with their required parameters. It also names the follow-up sibling get_checkout, so the agent can distinguish this create-a-checkout tool from the tool that reads one.

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 clearly routes the agent between the two modes and states which parameters go with each, and it tells the agent that the returned checkout_id is consumed by get_checkout. It does not state when not to call it (e.g. existing pending checkout, non-paying flows), so it stops short of full alternative guidance.

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.