Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

validity_check_upto

$0.01 USDC on Solana per challenge - the payment buys one signed ceiling-exposure statement for the upto challenge you submit: the maximum signable amount (atomic + human), the machinery status, and the one-signature status.

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": {
      "challenge": "<challenge>"
    },
    "name": "validity_check_upto"
  }
}

Input Schema

NameRequiredDescriptionDefault
challengeYesThe one upto challenge: scheme, network, payTo, asset, max_amount_required (the ceiling), asset_decimals.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description usefully discloses the cost ($0.01 USDC on Solana), that payment is per challenge, and that the response is a signed statement with three components. It omits failure behavior (what happens if the challenge is malformed or over the ceiling), what the signature attests to, and whether calls are idempotent/chargeable twice.

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?

One tight sentence with the price front-loaded and the deliverable enumerated. Jargon like 'machinery status' and 'one-signature status' is undefined, which slightly undercuts clarity but the text is otherwise waste-free.

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 paid single-parameter tool with a nested object and no output schema, the description does cover the commercial model and enumerates returned fields. It still leaves the meaning of key returned statuses and error conditions unexplained, so an agent cannot fully predict outcomes.

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% and already describes the challenge object field-by-field, including max_amount_required as the ceiling. The description adds only that the submitted challenge must be an 'upto' challenge; it does not clarify format, network constraints, or how ceiling vs. actual amount is treated.

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?

Names the resource concretely ('signed ceiling-exposure statement for the upto challenge you submit') and what it contains (max signable amount, machinery status, one-signature status), which separates it from the validity_check_* siblings that presumably produce unsigned checks. The verb is implicit ('the payment buys') rather than stated as 'returns/generates', costing a point.

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?

Nothing says when to call this versus validity_check_precheck, validity_check_criteria, or validity_check_validity. The price hint implies it is the paid, terminal step after free checks, but that routing is left for the agent to infer.

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