Skip to main content
Glama

Get a billing portal link

manage_billing
Read-onlyIdempotent

Get a Stripe billing-portal link for a Pro account: update the card, see invoices, switch between monthly and yearly, or cancel. A human must open it. Cancelling keeps Pro to the end of the paid period and never deletes a name. Answers 409 if the account has never subscribed (use upgrade_to_pro).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "manage_billing"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoYour AgentDomains API key (adom_…). Only needed when this MCP connection has no `Authorization: Bearer` header, for example right after calling signup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / api_key
      Added value: +{
      +  "description": "Your AgentDomains API key (adom_…). Only needed when this MCP connection has no `Authorization: Bearer` header, for example right after calling signup.",
      +  "type": "string"
      +}
  2. 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=true, openWorldHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description goes well beyond that with non-obvious behavior: the human-in-the-loop requirement, the cancellation semantics (Pro persists to the end of the paid period, names are never deleted), and the 409 failure mode with the recommended recovery tool.

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 short sentences, each doing distinct work: capability, human-operator constraint, cancellation semantics plus error path. The primary purpose and the human requirement are front-loaded, with the edge case deferred to the end.

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 one-parameter, non-destructive link generator with no output schema, the description covers what the tool yields, who must use it, what cancellation does and does not affect, and the one error path with its remedy. Nothing an agent needs to invoke it correctly is 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?

The single api_key parameter has 100% schema description coverage, including when it is needed (no Authorization header, e.g. right after signup), so the schema carries the full burden. The description adds no parameter-level meaning; baseline 3 applies when schema coverage is complete.

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?

States a specific verb and resource ("Get a Stripe billing-portal link") and then enumerates the concrete actions the link enables: update card, see invoices, switch billing period, cancel. This is scoped to Pro accounts and is clearly distinguishable from upgrade_to_pro, which it names.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives an explicit when-to-use context (Pro account billing self-service) and an explicit alternative with the condition that selects it: if the account has never subscribed and returns 409, use upgrade_to_pro. It also states a hard usage constraint — a human must open the link — so an agent won't try to consume it programmatically.

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.