Skip to main content
Glama

get_billing_portal_url

Read-onlyIdempotent

Return a link to the Stripe billing portal for the signed-in person, where they can change their card, download invoices, or cancel a subscription. Does NOT charge anything and does NOT change anything: it returns a link the person must open themselves. Single-use and short-lived. Requires an OAuth 2.1 user access token.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false. The description adds critical behavioral details beyond these: 'single-use and short-lived', 'does NOT charge anything', and 'does NOT change anything: it returns a link the person must open themselves'. It also discloses the OAuth 2.1 user access token requirement, which is not implied by the annotations.

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

Conciseness5/5

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

The description is concise and well-structured: it leads with the core purpose in the first sentence, immediately clarifies side-effect absence in the second, and wraps up with security/time constraints in the third. Every sentence adds value with no filler, and the most important information is front-loaded.

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

Completeness5/5

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

For a tool with no parameters, no output schema, and comprehensive annotations (readOnly, idempotent, non-destructive), the description fully covers what an agent needs: what it returns, its single-use nature, short-lived validity, and auth requirements. There are no gaps that could cause incorrect invocation.

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?

The tool has zero parameters, and the schema coverage is 100% (empty properties). Since there are no parameters to describe, the description adds no parameter-specific semantics, but the baseline for 0 params is 4 per the rubric. The description's focus on the action and constraints is sufficient; there is nothing missing related to parameters.

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 explicitly states the verb ('Return a link') and the resource ('Stripe billing portal') and clarifies the purpose ('change card, download invoices, cancel subscription'). It distinguishes itself from siblings like purchase_plan (which charges) and get_billing_history (which lists), making the tool's role unmistakable.

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?

The description gives clear context on when to use the tool (for billing portal access) and notably clarifies that it does NOT charge or change anything, which helps disambiguate from purchase_plan and top_up_balance. It also mentions the OAuth token requirement, guiding on authentication prerequisites. However, it does not explicitly name sibling alternatives or provide conditions for when not to use it beyond its non-destructive nature.

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.