Skip to main content
Glama

pay-test-0-10

Payment stack self-test at 0.10 USDC. A bare GET that answers the 402 challenge, settles 0.10 USDC on Base through x402, and returns a JSON receipt proving the caller's payment path works end to end: result, atomic amount, network, payment hash, and settle timestamp. Input: none. Output: one receipt. Price: $0.10 per call, paid in USDC on Base mainnet over x402; an unpaid call answers HTTP 402 with the exact machine-readable payment terms.

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": "pay-test-0-10"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the price ($0.10 per call), the payment rail (USDC on Base mainnet over x402), and the failure behavior (an unpaid call returns HTTP 402 with machine-readable terms). It is only short of a 5 because it does not mention idempotency, rate limits, or whether repeated calls are billable each time.

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?

Three sentences, front-loaded with the price and operation, followed by the input/output contract and the payment terms. There is mild redundancy between 'self-test ... proving the caller's payment path works end to end' and the later 'returns a JSON receipt' framing, and the field list is repeated implicitly by 'Output: one receipt'.

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 zero-parameter tool with no output schema, the description supplies everything needed: what it costs, how payment is settled, what happens when unpaid, and the shape of the returned receipt (result, atomic amount, network, payment hash, settle timestamp). No gap remains that would affect correct invocation.

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?

There are zero parameters, so the baseline is 4, and the description confirms 'Input: none', which tells the agent no arguments are needed. Nothing further is 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?

The definition names a specific operation on a specific resource: a bare GET that answers a 402 challenge, settles 0.10 USDC on Base, and returns a receipt. The 0.10 USDC price point also distinguishes it from the near-identical sibling pay-test variants priced differently. An agent knows exactly what this does before opening the 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?

It states the purpose condition clearly: proving the caller's payment path works end to end, with 'Input: none' setting expectations. It does not explicitly name an alternative or say when not to use it, but the fixed price and 'self-test' framing make the intended context unambiguous.

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