Skip to main content
Glama

Create top-up link (no payment taken)

create_topup
Destructive

Only mints a link: returns a hosted checkout_url for a credit top-up (pack_id small, medium or large), takes no card or payment details and charges nothing itself. Use this when your user asks for more credits, or an action they asked for ran out of them. Payment happens solely on that hosted checkout page, which your user opens in their own browser; the credits for growth work land once they pay. Requires the 'act' scope and the Founder plan (not a free trial). Always bound to your own enrollment.

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": {
      "pack_id": "<pack_id>"
    },
    "name": "create_topup"
  }
}

Input Schema

NameRequiredDescriptionDefault
pack_idYesThe refill pack size: small, medium or large. The founder sees the price on the checkout page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the annotations, it discloses the key behaviors an agent cannot infer: no payment details are handled, no charge occurs at call time, payment happens on the hosted page in the user's own browser, credits land only after payment, and it requires the 'act' scope plus the Founder plan (not a free trial). This pre-empts the two most likely agent errors — assuming money is taken and assuming credits are immediate.

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?

Front-loaded with the most important fact (link-only, no charge) and dense throughout, with each sentence carrying distinct information about cost, fulfillment, and eligibility. It runs long and parenthetical in places, which slightly hurts scannability.

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 single-parameter tool with no output schema, the description supplies the return value (checkout_url), the fulfillment timing, the plan/scope prerequisites, and the enrollment binding. Nothing material is left for the agent to guess.

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 description coverage is 100% and the enum is already defined, so the description's restatement of 'small, medium or large' adds nothing new. It does not explain sizing tradeoffs or how a pack maps to credit volume, so it holds at the baseline.

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?

The description states a precise verb and resource: it mints a link and returns a hosted checkout_url for a credit top-up, with explicit negative scope ('takes no card or payment details and charges nothing itself'). It is clearly a top-up-link tool rather than a generic checkout, but it never names the sibling create_checkout, so the differentiation is implied rather than explicit.

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?

It gives a concrete trigger condition: 'Use this when your user asks for more credits, or an action they asked for ran out of them,' which is actionable intent guidance. It lacks any explicit when-not or alternative-pointer (e.g., toward create_checkout for purchases), so it stops short of a full routing rule.

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