Skip to main content
Glama

billing_portal_link

A one-hour signed-in link to the payment provider's billing page for a card subscription, where the customer changes the card that is charged or downloads receipts. The link is for the human to open in a browser — do not fetch it. A lease paid once or by bank transfer has no card on file, and the call says so.

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": {
      "access_token": "<access_token>"
    },
    "name": "billing_portal_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
access_tokenYesReturned by order_lease. The only credential for a lease.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses the one-hour expiry, that the link is signed-in and human-facing, that it must not be fetched by the agent, and that non-card leases produce an informative response rather than a link. It does not mention permissions beyond the token or any rate/caching behavior.

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?

Three tight sentences, front-loading what the tool returns, then the do-not-fetch constraint, then the edge case. Every sentence carries distinct information with no restatement of the name.

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?

There is no output schema and no annotations, so the description must cover behavior, and it does: expiry, link nature, agent handling, and the no-card edge case. Only the concrete return shape (field name holding the URL) is unstated, which is a minor gap.

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 access_token parameter is fully documented in the schema as coming from order_lease. The description adds no further meaning about the token, so the high-coverage baseline of 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?

States a specific resource – a one-hour signed-in link to the payment provider's billing page – and scopes it to card subscriptions where the customer changes the charged card or downloads receipts. The verb is implicit (the tool yields a link) rather than stated, and no sibling is named, but an agent can still tell what this produces.

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 use conditions (card subscription, card change or receipt download) and an explicit exclusion: a lease paid once or by bank transfer has no card on file and the call says so. It also warns the link is for a human browser and must not be fetched. Lacks only an explicit pointer to alternatives for non-card leases.

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