Skip to main content
Glama

Open billing portal

manage_billing
Read-onlyIdempotent

A link to Stripe’s billing portal for a paid site, where the OWNER sees invoices, changes the card, or cancels. The link is for the owner to open; this tool cannot cancel or pay. A cancellation takes effect when Stripe reports it; the site then returns to Free, its content kept.

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": {
      "siteId": "<siteId>"
    },
    "name": "manage_billing"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesSite id (from list_sites)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so the safety profile is covered. The description adds meaningful behavior beyond that: the output is a link meant to be opened by the owner, and the cancellation lifecycle (Stripe reports it, then the site reverts to Free with content retained).

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 short sentences, front-loaded with what the tool produces, followed by the constraint and the lifecycle note. No filler; the cancellation sentence earns its place by explaining what happens after the owner acts.

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 one-parameter tool with no output schema, the description covers the essentials: what is returned (a link), who can use it, and what it cannot do. Nothing critical to a correct invocation appears missing.

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?

There is a single required parameter with 100% schema description coverage, including a pattern and a pointer to list_sites. The description adds only the indirect constraint that the site must be paid; it does not restate or extend siteId semantics, so the schema carries the load.

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: it returns a link to Stripe's billing portal for a paid site, and enumerates what the OWNER does there (view invoices, change card, cancel). The scope ('for a paid site', 'for the owner to open') is precise, though it does not explicitly differentiate itself from any sibling billing-related tool.

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?

Gives clear context and an explicit negative boundary: 'this tool cannot cancel or pay', so the agent knows this is a hand-off link, not a mutation. Eligibility is implied by 'for a paid site' and 'for the owner'. It lacks an explicit pointer to an alternative tool for actually performing cancellation, which keeps it below a 5.

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