Skip to main content
Glama

AgentPay — Pay-per-call AI Microservices

buy-credits

buy-credits
Idempotent

Prepaid credit pack - one $5 USDC x402 payment mints 600 call-credits (1 credit = $0.01, usable on every endpoint via X-AgentPay-Token; saves 20% vs pay-per-call) ($5 USDC per call)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare it is non-read-only, open-world, non-destructive and idempotent, so the description adds real value by disclosing the payment rail (x402 USDC), the minted amount (600 credits), the credit value ($0.01), the auth token (X-AgentPay-Token) and the cost saving. The only gap is it does not reconcile the idempotentHint with a per-call payment.

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

Conciseness3/5

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

The purpose is front-loaded, but the single sentence is crowded with two parentheticals and repeats the '$5 USDC' cost at both the start ('one $5 USDC x402 payment') and the end ('($5 USDC per call)'). That trailing price is redundant and costs clarity.

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 parameters and no output schema, the description carries the load and does so reasonably: pricing, credit conversion, spending scope and token are all covered. It leaves only minor ambiguity about how repeated purchases behave given the idempotency annotation.

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?

The tool takes zero parameters, so per the baseline the schema fully documents the (empty) input contract and the description is not expected to add parameter meaning. The pricing detail it supplies is extra, not required.

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 resource ('prepaid credit pack') and the exact effect ('one $5 USDC x402 payment mints 600 call-credits'), so the agent knows precisely what this tool does. It is trivially distinguishable from all read-only analysis siblings, none of which are payment tools.

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

Usage Guidelines3/5

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

Usage is only implied via the value proposition 'saves 20% vs pay-per-call', which hints at when this is preferable, but there is no explicit when-to-use/when-not statement or named alternative. Adequate but leaves the agent to infer the purchasing context.

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.