Skip to main content
Glama

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

validity_check_validity

$0.01 USDC on Solana per payload - the payment buys one signed validity-window evaluation of the payload you submit at the evaluation instant you state: remaining seconds and the verdict against the published TIGHT thresholds.

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": {
      "payload": "<payload>",
      "evaluation_at_unix": "<evaluation_at_unix>"
    },
    "name": "validity_check_validity"
  }
}

Input Schema

NameRequiredDescriptionDefault
payloadYesThe one signed-payload descriptor whose validity window is evaluated: rail plus its validity fields (e.g. valid_before for EVM).
evaluation_at_unixYesThe evaluation instant, unix seconds. The window is evaluated at this instant, never at a hidden clock.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied the description carries the full burden, and it does real work: it discloses the price and payment rail ($0.01 USDC on Solana), that one payment buys exactly one evaluation of one payload, that the evaluation instant is caller-supplied rather than a hidden clock, which threshold set is applied (TIGHT), and what the response contains. It stops short of failure behavior, e.g. whether a rejected payload still costs $0.01 or whether the thresholds can be selected.

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?

A single dense sentence with no filler. The price is front-loaded, which is defensible for a paid tool but pushes the actual function past the first clause; splitting price from capability would read faster without losing anything.

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?

The tool has a nested payload object, no output schema, and no annotations, so the description must cover behavior and returns. It does state the two return components and the cost, but leaves the verdict's shape unresolved, never explains what 'the published TIGHT thresholds' refers to (presumably validity_check_criteria), and says nothing about error or refund behavior for a paid call.

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 both parameter descriptions are already detailed, including the 'never at a hidden clock' wording, so the schema does the heavy lifting. The description reinforces the one-payload-per-call and caller-stated-instant semantics but adds no format, structure, or constraint information beyond what the schema already states; baseline 3 applies.

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?

The description names a specific action (a signed validity-window evaluation of a submitted payload at a stated instant) and states what comes back (remaining seconds and a verdict against TIGHT thresholds). It is clear what the tool does, but it never names or distinguishes itself from its close siblings validity_check_criteria, validity_check_precheck, and validity_check_upto, so an agent must infer the split from the names alone.

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: the mention of a per-payload charge signals this is the paid endpoint, which hints the sibling precheck is the cheaper first step, but that inference is never made explicit. There is no statement of when this tool should be chosen over validity_check_upto or validity_check_criteria, and no prerequisites or exclusions are given.

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