Skip to main content
Glama

P0: wallet balances and EVM reads

EVM transaction

evm_transaction
Read-onlyIdempotent

Use when you need a transaction by hash on Base, Ethereum, Arbitrum, Polygon or Optimism: from, to, value, nonce, gas and fee fields, block, confirmations, method id and input (first 1 KB). Returns the exact paid x402 request for your input (GET /evm/tx, $0.002 per call), with a link to the full schema; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge. Returns the transaction itself; to know whether it succeeded (status, gas used, logs) use evm_receipt. With a P0 access key (header Authorization: Bearer p0k_…, buy one at https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/keys/buy?usd=5) this tool makes the paid call itself and returns the data, deducting the listed price.

Input Schema

NameRequiredDescriptionDefault
hashYesTransaction hash (0x + 64 hex)
chainNoChain; default basebase

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent/openWorld annotations: it discloses the price ($0.002 per call), the HTTP endpoint (GET /evm/tx), that invalid input is rejected before any charge, that input is truncated to the first 1 KB, and how a P0 bearer key changes behavior (the tool makes the paid call itself and deducts the price). Minor deduction because the two response modes – 'returns the exact paid x402 request' vs 'call that URL … to get the data' vs the keyed mode returning data directly – are worded densely enough that an agent could misread which it will receive.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the evm_receipt disambiguation are front-loaded well, but the middle is a run-on sentence chaining price, endpoint, schema link and client instructions, and the payment-mode explanation is split awkwardly across the paragraph. Every fact is arguably useful, yet the payment logistics could be compressed or moved to a trailing clause.

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?

With no output schema, the description correctly compensates by enumerating the returned fields, and for a paid open-world tool it covers auth (bearer key, where to buy one) and billing. The remaining gap is the ambiguity about whether a plain call returns data or merely a payable URL, which matters for a tool whose whole point is a paid fetch.

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 description coverage is 100% and both parameters (hash pattern, chain enum with base default) are already fully documented, so the baseline is 3. The description adds the chain roster and the 1 KB input truncation, but nothing about the hash format or chain selection semantics beyond 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 transaction by hash') plus the exact return contents (from, to, value, nonce, gas/fee fields, block, confirmations, method id, input) and the supported chains. It also explicitly distinguishes itself from the sibling evm_receipt, so an agent can pick correctly 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Opens with an explicit trigger ('Use when you need a transaction by hash'), and names the alternative with its selecting condition: 'to know whether it succeeded (status, gas used, logs) use evm_receipt'. The payment path options (x402/MPP client vs P0 access key) are also spelled out as a decision the caller must make.

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