Skip to main content
Glama

user_billing_subscription_checkout

Create a Stripe-hosted Checkout session for a server-resolved subscription plan. Answers a user API key.

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": {
      "body": "<body>"
    },
    "name": "user_billing_subscription_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.8/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, non-destructive, closed-world mutation, so the safety profile is covered. The description adds real context by naming Stripe as the host of the checkout page and indicating the plan is resolved server-side, which implies an external redirect flow and server-trusted plan selection. It still omits what gets created, whether repeated calls create duplicate sessions, and what the caller receives back.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence is tight and front-loaded with the key verb and resource. The second sentence, 'Answers a user API key', is garbled and ambiguous — it is unclear whether it means the tool requires a user API key or returns one — so a third of the description does not earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a mutation with a nested required body, zero schema descriptions, and no output schema, so the description should explain the outcome (a checkout URL or session handle) and the post-call flow. Instead it stops after two sentences, leaving an agent unable to predict the response or the effect on billing state.

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

Parameters2/5

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

Schema description coverage is 0% for a nested body containing workspaceSlug and a plan enum, so the description must carry the load and does not. It never explains what workspaceSlug identifies or what the starter/pro/max values mean, and 'server-resolved subscription plan' is confusing next to a schema that requires the caller to supply plan explicitly.

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 states a specific verb and resource: creating a Stripe-hosted Checkout session scoped to a 'server-resolved subscription plan'. That is far more informative than the bare name. It does not, however, distinguish this from the sibling user_billing_checkout, leaving an agent to guess which checkout route applies.

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

Usage Guidelines2/5

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

There is no statement of when this tool should be used versus user_billing_checkout, user_billing_portal, or marketplace_subscription_create, and no prerequisites are given. The only hint is the phrase 'server-resolved subscription plan', which implies a plan must already exist but never says so explicitly.

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.