Skip to main content
Glama

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

ledger_check_precheck

FREE headline pre-check (100/day per wallet; pass caller). Returns assessability only - whether the sample is in the published form; no line is graded and no census is returned. The full signed census is the paid ledger_check_check call.

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": {
      "caller": "<caller>",
      "sample": "<sample>"
    },
    "name": "ledger_check_precheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
callerYesSolana base58 wallet of the operator; keys the free allowance (100/day per wallet).
sampleYesThe one payments-ledger sample to census: {lines: [ <ledger line objects> ]}. Processed in memory only, never stored.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does real work: it discloses a rate limit (100/day per wallet), the keying mechanism (caller wallet), and the exact output ceiling (no line graded, no census returned). It does not describe what an 'assessable' verdict looks like or what happens when the sample fails the published-form test, leaving a modest gap.

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?

Three short sentences, front-loaded with the free/scope framing before the paid alternative. Every clause carries information — cost, quota, output boundary, and routing — with no restatement of the tool name.

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?

For a two-parameter tool with a nested sample object, no annotations, and no output schema, the description covers cost, quota, output scope, and the paid alternative, which is most of what an agent needs. The remaining gap is the shape of the assessability response, which matters because no output schema exists to supply it.

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%, so both parameters are already documented, including the caller-wallet allowance and the in-memory, never-stored handling of the sample. The description only reinforces 'pass caller' and the requirement that the sample be in the published form, which is marginal added meaning over the schema.

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 verb and resource — a free headline pre-check of a payments-ledger sample — and immediately narrows the scope to 'assessability only'. It explicitly distinguishes itself from the sibling ledger_check_check, so an agent can tell the two apart without opening either 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?

Names the alternative (ledger_check_check) and the condition that selects it: the full signed census is paid, this is the free path. It also gives the allowance (100/day per wallet) that governs repeated calls. It stops short of an explicit 'when not to use' statement, e.g. when assessability alone is insufficient for a decision, so it lands at 4 rather than 5.

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