Skip to main content
Glama

mailer

Get a payment link for a new live key

buy_credits_link

Start buying credit for a NEW live key. Returns a Stripe Checkout URL that a HUMAN must open and pay. After they pay, the live key is emailed to them. Never try to pay on the human's behalf.

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": {
      "email": "<email>"
    },
    "name": "buy_credits_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesThe human's email; the live key is sent here.
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

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations by disclosing the multi-step human-in-the-loop flow: a Stripe Checkout URL is returned, the human pays externally, and the live key is delivered by email afterwards. It does not address link expiry or what happens if the tool is invoked repeatedly, although idempotentHint=false already signals non-idempotency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and the return value, with the safety rule last. Slight redundancy between 'a HUMAN must open and pay' and 'Never try to pay on the human's behalf', though the reinforcement is arguably justified for a payment flow.

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?

With no output schema, the description correctly explains the return value (a Checkout URL, with the key arriving by email). For a payment tool it is nearly complete; the only gaps are link lifetime and behavior on repeated calls.

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 schema descriptions already cover email (destination for the key) and pack_id (omit and send amount_cents for a 1:1 top-up), roughly two-thirds coverage. The description body adds no additional parameter meaning beyond that, so this sits at the baseline for a well-documented schema.

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 action ('Start buying credit for a NEW live key') and its output ('Returns a Stripe Checkout URL'), so an agent knows exactly what the call produces. The 'NEW live key' qualifier implicitly separates it from a top-up flow on an existing key, but it never names create_topup_link, which is the closest sibling.

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 a hard operational rule: a human must open and pay the URL, and the agent must never pay on their behalf. That is a clear usage boundary, though there is no explicit when-to-prefer-this-over sibling guidance (e.g. versus create_topup_link for an existing key or get_pricing for costs).

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