Skip to main content
Glama

Weekly / monthly billing links

get_billing_links
Read-onlyIdempotent

Secure Stripe checkout links to set up the recurring charge for a plan: weekly (billed every week), monthly (four weekly deliveries billed together, a little cheaper) and 6-month prepaid. Amounts include the weekly delivery & groceries fee. Give the customer the link; they enter their card on Stripe's page — never collect card details in chat.

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": "get_billing_links"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoPlan id. Omit to get every plan.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Adds meaningful context beyond the readOnly/idempotent annotations: amounts already include the weekly delivery & groceries fee, monthly is a little cheaper because four weekly deliveries are billed together, and card handling stays on Stripe. It does not describe the shape or number of returned links, which matters for a link-retrieval tool with no output schema.

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 what the tool yields, then the operational constraint. Every clause carries information: cadence definitions, pricing note, fee inclusion, and the card-handling rule.

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?

Because there is no output schema, the description carries the return-value burden and does so only loosely — it implies a link per plan but not how many links or cadences come back per call, nor how long links stay valid. Otherwise it is complete for a one-optional-param read tool.

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 plan enum is fully documented there, so baseline is 3. The description's discussion of billing cadences does not map to the single 'plan' parameter, so it adds no parameter-level clarity.

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?

Specific verb+resource ('Secure Stripe checkout links to set up the recurring charge for a plan') with the three billing cadences enumerated, so an agent knows exactly what comes back. No sibling could be confused with this one given the distinct Stripe/checkout subject matter.

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?

Establishes the hand-off workflow ('Give the customer the link; they enter their card on Stripe's page — never collect card details in chat'), which is a real usage rule. It stops short of naming an alternative tool or stating when this should not be called (e.g. after an order already exists).

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.