Skip to main content
Glama

customer_portal_link

Return a bearer-owned Stripe-hosted billing-portal URL. The human manages or cancels there; this tool never moves money.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description adds behavioral context: 'bearer-owned' and 'never moves money' disclose that it's tied to the authenticated user and has no financial side effects. However, it does not disclose other behaviors such as session creation, expiration, or error conditions, leaving gaps.

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?

Two sentences, front-loaded with the primary action, and no filler. Each sentence adds distinct value: purpose and usage note.

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?

The tool is simple, has an output schema, and the description covers the core purpose, use case, and a safety guarantee. It lacks explicit parameter documentation, but the overall context is sufficient for an agent to select and call it correctly in most scenarios.

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?

The schema has zero parameter descriptions, but the description's phrase 'bearer-owned' implies that account_id refers to the authenticated user's account. This adds meaning beyond the raw schema, though it does not explicitly define the parameter or its constraints.

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 clearly states the tool's function with a specific verb ('Return') and resource ('bearer-owned Stripe-hosted billing-portal URL'). It distinguishes from sibling create_checkout_link by specifying 'billing-portal' rather than checkout.

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?

It provides a clear use case: 'The human manages or cancels there' – indicating when to use this tool. However, it does not explicitly name alternatives or state when not to use it, only implies via the 'never moves money' clause.

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.

TDQS

A3.8/5.0
Disambiguation4/5

Most tools have distinct purposes: plan retrieval, checkout, portal, status, usage, MRR. The main overlap is between create_account and record_subscription, as record_subscription can create an account for a new bearer, which may confuse agents about when to call which.

Naming Consistency4/5

The majority follow a verb_noun pattern (create_account, create_checkout_link, get_plan, list_plans, record_subscription). A few deviate: customer_portal_link (noun phrase), mrr_summary (acronym), and describe_agent (verb but not a subscription action), which slightly reduces consistency.

Tool Count5/5

Ten tools is well within the ideal range for a subscription management server. Each tool covers a distinct aspect of the domain—account, plans, checkout, portals, subscriptions, usage, MRR—so none feel redundant or missing.

Completeness4/5

The tool surface covers account creation, plan browsing, checkout session creation, subscription activation, status checks, usage summaries, and MRR. A notable gap is the lack of direct update/cancel subscription tools, though this is partially mitigated by the customer portal link, which delegates those actions to Stripe's hosted UI.