Skip to main content
Glama

create_topup_intent

Reserve a unique USDC amount for this API key. Send that exact amount to PAYMENT_ADDRESS, then claim_payment. Receive-only; this server never holds a private key.

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_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
usdNoCustom USDC amount if not using a listed pack.
pack_idNoCredit pack id, e.g. pack_10, pack_25, pack_50, plan_desk.
from_addressNoOptional paying wallet (0x…). When set, only that sender can match this intent.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does disclose real behavior: the reserved amount is unique, the transfer must be exact, the server is receive-only and holds no private key. It omits operational details an agent would want, such as how long the reservation lasts, what happens on a wrong or partial amount, and whether repeated calls create new intents.

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 the core action, then the payment sequence, then a trust note. Every clause contributes and nothing is padded.

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?

For a three-parameter, no-annotation tool with no output schema, the flow is covered but the response is not: an agent is never told that the call returns the exact amount and destination address it must act on. It also leaves the all-optional parameters unexplained, so which of usd or pack_id to supply is guesswork.

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%, so the schema already documents usd, pack_id, and from_address, making 3 the baseline. The description adds only the concept that the resulting amount is a unique reserved figure rather than a plain price; it says nothing about the usd vs pack_id choice or which takes precedence, and from_address is not mentioned at all.

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: "Reserve a unique USDC amount for this API key." It also distinguishes itself from the named sibling claim_payment by describing that tool as the required follow-up step, so an agent can place this tool in the payment flow without opening another schema.

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?

The description gives an explicit ordered workflow: reserve, send the exact amount to PAYMENT_ADDRESS, then call claim_payment. It names the alternative/follow-up tool and its trigger condition. It does not address when to prefer this over create_invoice for a comparable payment, nor what to do if the payment is never sent.

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