Skip to main content
Glama

billing_checkout_create

A hosted Stripe Checkout URL for upgrading the organisation to a paid plan. For an organisation that has never paid, nothing changes yet: the plan updates when Stripe confirms the subscription. For one that already pays, the existing subscription changes plan in place straight away, with no Checkout page.

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": {
      "plan": "<plan>",
      "success_url": "<success_url>",
      "cancel_url": "<cancel_url>"
    },
    "name": "billing_checkout_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesThe plan to subscribe to.
confirmNoRequired for destructive operations. Without it a destructive call returns its plan and refuses, exactly as dry_run would.
dry_runNoReturn the plan without applying it: the resources it would create, change or destroy, and an estimated monthly cost. Free, and has no side effects. Call this before any change you have not made before.
cancel_urlYesWhere Stripe redirects the customer if they back out.
success_urlYesWhere Stripe redirects the customer after a completed payment.
idempotency_keyNoReplaying the same key returns the original result instead of acting twice. Strongly recommended for anything that creates a resource or spends money.

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 only declare the safety profile (readOnlyHint=false, idempotentHint=false, destructiveHint=false); the description adds genuinely non-obvious behavior. It discloses that a never-paid organisation sees no change until Stripe confirms the subscription, while an already-paying organisation has its subscription changed in place immediately with no Checkout page at all. Missing are auth/permission requirements and error behavior, but the branching mutation semantics are well covered.

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?

Three tight sentences, front-loaded with what the tool yields, then the two behavioral branches. No filler, though the opening noun fragment lacks a verb and the two-branch contrast could be signposted slightly more sharply.

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?

This is a billing mutation tool with no output schema and six parameters, so the description carries weight. It covers the return artifact (a Checkout URL), the dual behavior paths, and the fact that no URL appears for existing subscribers. It stops short of stating what happens with dry_run or confirm, but those are fully documented in the 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 description coverage is 100%, so all six parameters including plan, success_url, cancel_url, confirm, dry_run, and idempotency_key are already documented. The description adds no additional meaning about parameter values or interactions, 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?

The description names a specific resource and effect: a hosted Stripe Checkout URL used to upgrade an organisation to a paid plan. It is slightly weakened by being a noun phrase with no verb ('creates'/'returns'), and it never names a sibling such as billing_portal_create, but an agent can tell what the tool produces.

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?

Usage is implied through two scenarios (an organisation that has never paid vs one that already pays), which tells the agent what to expect in each case. It does not say when to prefer this over billing_portal_create or cost_estimate, nor does it state prerequisites such as ownership or admin rights, so the guidance is inferential rather than explicit.

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