Skip to main content
Glama

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

txcheck_check

Pre-sign verdict for an unsigned Solana transaction. $0.01 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: POST https://exchangerebel.com/toll/txcheck/check.

Input Schema

NameRequiredDescriptionDefault
txYesstring - base64 unsigned transaction (required)
policyNoobject (optional): {max_sol_out_lamports, max_token_out_bps_by_mint {mint: bps}, allowed_programs, blocked_programs, blocked_addresses, fail_on_unknown_program}

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag openWorld=false? no — openWorldHint=true and readOnlyHint=false; the description adds the two things annotations cannot convey: a $0.01 per-call cost and the exact x402 payment handshake. It does not describe what a verdict contains or failure modes, keeping it below a 5.

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?

Two sentences, purpose front-loaded before payment mechanics, and no filler. The parenthetical payment walkthrough is long but operationally necessary for a paid tool.

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?

Payment and transport (MCP vs HTTP POST equivalent) are fully covered, but with no output schema the description never says what the 'verdict' returns — pass/fail shape, risk reasons, or how policy violations are reported. An agent knows how to pay but not what it will receive.

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 tx and the nested policy object are documented in the schema itself. The description only contributes the 'unsigned' constraint on tx and says nothing about policy semantics, so 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?

States a specific verb+resource+scope: a pre-sign verdict for an unsigned Solana transaction. The 'Solana' and 'unsigned' qualifiers implicitly separate it from EVM-oriented siblings like evm_tx_decode and from broadcast/submit tools, but no sibling is named explicitly.

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?

Clear context for when to call it (before signing a transaction) and a concrete invocation procedure for the paid path: call without payment to receive the PaymentRequired challenge, then retry with payment at _meta["x402/payment"]. No explicit when-not-to-use guidance or named alternatives, so it falls short of a 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