Skip to main content
Glama

Customer portal link

customer_portal_link

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

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": {
      "account_id": "<account_id>"
    },
    "name": "customer_portal_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYesThe account id. Send the account key as the bearer token.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  2. Changed1 schema field changed
    • addedInput schema / properties / account_id / description
      Added value: +"The account id. Send the account key as the bearer token."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true; the description adds the genuinely non-obvious behavior that the human, not the agent, performs the action and that no money moves through this call. That hand-off detail is the key trait an agent needs and it is not derivable from the annotations. It does not mention link expiry or session lifetime, which keeps it from a 5.

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 short sentences with zero filler, and the core action plus the safety-relevant constraint ('never moves money') are 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?

With 1 required parameter, full schema coverage, an output schema, and annotations covering the safety profile, the description supplies everything an agent needs to decide to call it and what to expect afterward. Nothing material is missing for a tool of this complexity.

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?

Schema coverage is 100% and the single account_id parameter is already documented, including the bearer-token instruction. The description's phrase 'bearer-owned' is consistent with that and adds only a little framing, so the baseline 3 applies.

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?

Names a specific verb and resource: 'Return a bearer-owned Stripe-hosted billing-portal URL.' That is concrete enough for an agent to distinguish it from mutating billing tools like create_checkout_link or record_subscription, though it never names any sibling explicitly.

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 human manages or cancels there' gives a clear usage context: call this when the end user should self-serve plan changes or cancellation. It stops short of stating when not to use it or naming an alternative tool, so it does not reach the explicit-alternatives bar.

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.