Skip to main content
Glama

BorshLab | Solana No-IDL TX Decoder

Buy Api Pack

buy_api_pack

Buy a prepaid API key pack via x402 USDC ('starter': $2 / 1,000 calls, 'pro': $15 / 10,000 calls).

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

Input Schema

NameRequiredDescriptionDefault
packNostarter

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose genuinely behavioral facts: the payment rail (x402 USDC) and exact prices ($2 and $15). That is real value beyond the name. However, it omits the traits that matter most for a spend operation: whether the charge is irreversible, what happens if payment fails, whether a key is returned and whether it is idempotent.

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?

One sentence, front-loaded with the action and followed by the decision-relevant pricing detail. No filler, no restatement of the title, and every clause carries information the agent needs to pick a pack.

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?

An output schema exists, so return values need not be explained, and the parameter is well covered. What is missing is proportionate to the tool's financial risk: no statement of wallet/auth prerequisites, charge finality, or failure behavior, which for a purchase tool is a meaningful omission even at low complexity.

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

Parameters4/5

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

Schema description coverage is 0% and the single `pack` parameter has no enum, so the description must define the allowed values, which it does completely: 'starter' at $2/1,000 calls and 'pro' at $15/10,000 calls. This fully compensates for the schema gap; only the default ('starter') is left to the schema to convey.

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?

"Buy a prepaid API key pack" states a specific verb and resource, and the parenthetical names the two concrete products with prices and call quotas. It is unambiguous on its own; the only gap is that it never references the related sibling check_api_balance, so the agent must infer that a balance check is a plausible prerequisite.

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 says what the tool buys but not when to buy it, whether a balance check should come first, or what prerequisites exist (e.g. a funded USDC wallet). There is no when-not-to-use guidance and no mention of the alternative path of checking an existing balance via check_api_balance.

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