Skip to main content
Glama

user_billing_portal

Create a Stripe-hosted Customer Portal session.

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_portal"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so safety is covered. Beyond that the description adds only 'Stripe-hosted', which hints at a redirect/URL result but never says so explicitly, nor whether the session expires, is idempotent, or requires billing setup. For a non-destructive write with no output schema, that is a thin disclosure.

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?

One front-loaded sentence with no filler or redundancy. It is efficient, though the brevity is under-specification rather than discipline, so it does not earn a 5.

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?

With no output schema and no annotations explaining return values, the description should say what a 'session' yields (a redirect URL?), what happens to an existing portal configuration, and what the preconditions are. None of that is present, so the agent is under-equipped relative to the tool's complexity.

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% and the single parameter is a nested object requiring workspaceSlug, so the schema alone does not explain it. The description mentions no parameters at all, leaving the agent to infer whether workspaceSlug scopes the Stripe customer and whether anything else can be passed.

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?

States a specific verb and resource: 'Create' a 'Stripe-hosted Customer Portal session'. That is clear enough to act on, but it does not differentiate from billing siblings such as user_billing_checkout, user_billing_subscription_checkout, or billing_get, so an agent cannot tell from the text alone which billing entry point to pick.

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 when-to-use guidance, no prerequisites (e.g. an existing subscription or customer record), and no mention of any alternative tool. The agent must infer the use case entirely from the name and the word 'Portal'.

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.