Skip to main content
Glama

mailer

Get a payment link to add credit

create_topup_link

Start a credit top-up for the key on this connection. Returns a Stripe Checkout URL that a HUMAN must open and pay. Credit appears on the key as soon as Stripe confirms the payment.

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

Input Schema

NameRequiredDescriptionDefault
pack_idNoCredit pack. Omit and send amount_cents for a 1:1 top-up.
amount_centsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true; the description adds the crucial behavioral fact that a HUMAN must open and pay the Stripe URL and that credit is granted asynchronously once Stripe confirms. That is real value beyond structured fields. It still does not say whether each call mints a new link, whether links expire, or what happens if the human never pays.

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, front-loaded with the action, then the return value, then the fulfillment condition. Nothing is redundant and the human-in-the-loop warning is placed where it will be read.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly explains the return (a Checkout URL) and the settlement condition, which covers the core flow. Gaps remain around link lifecycle, repeat-call semantics, and the overlap with buy_credits_link, which matter for an open-world, non-idempotent tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, so the description was expected to compensate, yet it mentions neither pack_id nor amount_cents. The agent must infer from the schema alone that pack_id and amount_cents are alternatives and that a 1000-cent minimum 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?

"Start a credit top-up for the key on this connection" plus "Returns a Stripe Checkout URL" gives a specific verb, resource, and output shape, so an agent knows exactly what the call produces. It does not, however, distinguish itself from the sibling buy_credits_link, which from its name sounds like the same operation.

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

Usage Guidelines2/5

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

The description never says when to choose this over buy_credits_link or get_pricing, and offers no prerequisites or exclusions. The only selection guidance in the whole definition ("Omit and send amount_cents for a 1:1 top-up") lives in the schema rather than the description.

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