kosyak-evm-mcp-server

v2.35.0
kosyak-evm-mcp-server Checked 2 days ago Published 11 days ago

MCP server for EVM blockchains — 69 tools, 10 prompts, 86 networks (plus any chain ID)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_wallet_address

Address of the configured signing wallet (EVM_PRIVATE_KEY): the sender of every write and signature tool. isError when no key is set.

ParameterTypeDescription
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_chain_info

Node-reported chain ID, head block, RPC endpoints, explorer, Tenderly status, `vm`, `readLanes` (log-scan requests in flight at once: >1 only through the proxy pool on a keyless endpoint; scan_blocks uses max(8, it), multicall min(16, max(4, it)) batches). `chainIdMismatch` = endpoint serves ANOTHER chain; trust nothing from it. `vm: EraVM` = EVM bytecode tools don't apply; `vm: unknown` = the chain's VM probe got no answer (`vmNote`). `probe` adds `capabilities` (archive, getLogsWindow, blockReceipts, debugTrace, traceModule, multicall3…): check before planning traces or wide log scans; a c…

ParameterTypeDescription
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
probebooleanProbe the first endpoint that serves the chain (~10 small requests). Default false.
probeAllbooleanProbe every endpoint, not just the primary.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_supported_networks

Every chain by `chainId` with its name and accepted `aliases`, plus chains that exist only through EVM_RPC_URLS (`source: custom-rpc`). ANY chain ID works as `network` beyond this list when viem's registry knows it (its default RPC, checked to answer as that chain before use) or EVM_RPC_URLS gives it an endpoint. Call once, not per query.

ParameterTypeDescription
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_gas_price

Base fee, the node's suggested tip, and tips actually included over the last 20 blocks (`priorityFeeObservedGwei` p10/p50/p90). Set tips from p50 (p90 to land fast): the suggestion can be ~0 (`priorityFeeWarning`). `totalGwei` and `typicalCosts` (native token) use base fee + the suggestion; `usd: true` adds `nativeUsdPrice` (CoinGecko) and `typicalCostsUsd`. On rollups that fold data availability into gas, a real transfer costs more than 21k: estimate_gas says (`gasModel`).

ParameterTypeDescription
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
usdbooleanAdd the native coin's USD price and typicalCostsUsd (one CoinGecko request).

resolve_ens_name

ENS name → `resolvedAddress`. Address params accept ENS directly, so use this only to show the address. A chain without its own ENS, or whose own ENS does not know the name (Linea), resolves against mainnet; `answeredBy` names the chain that answered. Unresolvable name → isError.

ParameterTypeDescription
ensName *stringe.g. 'vitalik.eth'.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

lookup_ens_address

Reverse ENS: address → primary name (the Ethereum primary name; ENSIP-19 per-L2 names are not queried). `ensName` is null when there is none, with `status` no_primary_name, or reverse_record_mismatch (a reverse record whose name does not resolve back: no resolver, no addr(), or another address; `detail` says which — `claimedName`, present when ENS reports it, is NOT a primary name). A chain without its own ENS, or whose own ENS has no name for it (Linea), is answered by mainnet ENS; `answeredBy` names the chain. A lookup that failed → isError, never null.

ParameterTypeDescription
address *string
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_block

Block header + transactionCount; optionally transactions, EIP-1559 burn, and all receipts (status, gasUsed, logCount) in one call. `from`/`to`/`participant` keep only the transactions (and receipts) of that address — the block is filtered on the server, `matchingTransactions` counts them. `receiptsUnavailable` = node can't serve them (use get_transaction_receipt); `receiptMismatch` = receipts from another block state, don't pair. Caps: 500 receipts (`receiptsOmitted`), 300 logs (`logsOmitted`); counts stay exact. Which block changed a value: find_change_block.

ParameterTypeDescription
blockIdentifier *stringDecimal or 0x-hex number, 0x block hash, latest/pending/earliest/safe/finalized, or a time ("2026-09-01T12:00Z", "@1727740800", "2h").
fromstringOnly transactions sent by this address (implies includeTransactions).
includeBurnedFeebooleanAdd burnedFeeWei/burnedFeeEther (baseFee × gasUsed). Default false.
includeReceiptsbooleanAdd every receipt (eth_getBlockReceipts). Default false.
includeTransactionsbooleanFull transaction objects, not just transactionCount. Default false.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
participantstringOnly transactions this address sent or received directly.
receiptLogsbooleanWith includeReceipts: add decoded logs (cap 300). Default false; for events prefer get_logs.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
tostringOnly transactions sent to this address (implies includeTransactions).

get_latest_block

Head block: header + transactionCount. Same as get_block 'latest', minus receipts.

ParameterTypeDescription
includeBurnedFeebooleanAdd burnedFeeWei/burnedFeeEther (baseFee × gasUsed). Default false.
includeTransactionsbooleanFull transaction objects, not just transactionCount. Default false.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_balance

Native gas-token balance (ETH/POL/BNB…) as `balance.wei` and `balance.ether` (18-decimal units); `quorum` asks 2-5 endpoints at one block. One ERC-20 → get_token_balance; every token held → get_token_holdings. A balance at several times: multicall `blockNumbers`; when it became zero: find_change_block.

ParameterTypeDescription
address *string
blockNumberstringEchoed (as a number) only when given.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
quorumintegerAlso put the same question to this many of the chain's endpoints (2-5; your rpcUrls when given) and compare: `quorum.verdict` known / not_known_and_sure (every endpoint asked answered "absent") / not_…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_token_holdings

Every token (ERC-20/721/1155) an address holds, from the Blockscout indexer — the way to list holdings without knowing the contracts (get_token_balance needs one). Tokens only; native coin → get_balance. Ranked by `valueUsd`, the indexer's quote: check `thinMarket`/`balanceExceedsSupply` before calling a top row a real position. `unpriced` present ⇒ NOT ranked by value (top rows are likely spam). `totalCount` is a floor, not exhaustive. NFT `balance` is a count. isError on chains with no Blockscout instance (Boba's explorer is Routescan, which has no holdings endpoint).

ParameterTypeDescription
address *string
limitnumberMax rows, 1-500 (default 100). Up to half may be spent showing one row of each standard held; `standardsMissing` names any that did not fit.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
typestringDefault 'all'.

get_token_balance

Balance of one ERC-20 token for an address: raw, decimals-formatted, symbol. Native coin → get_balance; which tokens an address holds → get_token_holdings. A series over time: multicall `blockNumbers`; when it changed: find_change_block (token_balance).

ParameterTypeDescription
address *string
tokenAddress *string
blockNumberstringEchoed (as a number) only when given.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_allowance

ERC-20 allowance an owner granted a spender: raw `allowance`, `formatted`, `isInfinite` (≥ 2^255 counts as unlimited). `decimalsAssumed: true` ⇒ decimals() failed and `formatted` assumed 18 — use the raw value. Check before calling approve_token_spending. Many owners/tokens, or NFTs: approval_exposure.

ParameterTypeDescription
spenderAddress *string
tokenAddress *string
blockNumberstring
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
ownerAddressstringDefault: the configured wallet.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_transaction

Transaction as submitted (from/to/value/input/gas/nonce), also while pending (`blockNumber` null). Success/revert, gasUsed and logs → get_transaction_receipt. `decodedInput` appears only for well-known selectors; otherwise use decode_transaction_input.

ParameterTypeDescription
txHash *string
includeTimestampbooleanAdd timestamp_msk (block time; +1 RPC call). Default false.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
quorumintegerAlso put the same question to this many of the chain's endpoints (2-5; your rpcUrls when given) and compare: `quorum.verdict` known / not_known_and_sure (every endpoint asked answered "absent") / not_…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_transactions

Many transactions by hash in one call (up to 1000; past 200 needs outFile): a compact row per hash — from, to, nonce, value (wei), blockNumber, type, selector, inputBytes; `receipts: true` adds status, gasUsed, effectiveGasPrice, contractAddress, logCount. `status`: found / not_found (at least two endpoints answered "not found" and none was silent: `checkedEndpoints`) / not_found_unconfirmed (only one could be asked) / unread (no answer — not absence). Pending txs have blockNumber null.

ParameterTypeDescription
hashes *array
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
receiptsbooleanAdd each mined transaction's receipt fields (+1 request per hash). Default false.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_transaction_receipt

Receipt: `status` success/reverted, gasUsed, effectiveGasPrice, logs with `decoded` events (47+ known ones, the rest by the emitter's verified ABI or exact signature fits — `decoded.source`, `decodedByEvidence`, `undecodedLogs`), `assetSummary` (amounts in raw base units). `summary: true` drops the raw logs and logsBloom (keeps logCount, event names, assetSummary). `netFor: [addresses]` nets each address's token flow from the Transfer/Mint/Burn events (`netFor[].tokens[].net`; native value is not in logs — get_transaction_trace has it). `resolveTokens: true` adds symbol/decimals and `forma…

ParameterTypeDescription
txHash *string
decodeUnknownbooleanDecode logs the built-in table does not know (default true): by the emitter's verified ABI (a changed proxy: the implementation set at the log's block), else by signature databases when topics and dat…
includeTimestampbooleanAdd timestamp_msk (block time; +1 RPC call). Default false.
netForarrayAddresses to net token flows for ("how much of each token reached X").
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
quorumintegerAlso put the same question to this many of the chain's endpoints (2-5; your rpcUrls when given) and compare: `quorum.verdict` known / not_known_and_sure (every endpoint asked answered "absent") / not_…
resolveTokensbooleanRead symbol/decimals of the tokens moved (one multicall) and add formatted amounts.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
summarybooleanOmit raw logs and logsBloom.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

wait_for_transaction

Polls until mined with N confirmations. `status`: confirmed | failed (mined, reverted) | `replaced (…)`: a same-nonce tx mined instead, and `minedTxHash`, block, gas, assetSummary describe the REPLACEMENT. A timeout is isError, not a failed tx; check get_transaction_receipt.

ParameterTypeDescription
txHash *string
confirmationsintegerDefault 1, max 1000.
networkstring
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutSecondsintegerMax 3600. Default 180, or 60 + 15 per confirmation if larger.

get_transaction_trace

Call tree of a mined tx. `backend` says who answered: 'tenderly' (a TENDERLY_RPC_URLS gateway: call tree, state changes, decoded logs, asset/balance changes) or, with no gateway for the chain or when it fails, 'rpc:debug_traceTransaction' / 'rpc:trace_transaction' from the chain's own nodes (the primary, then up to 2 alternates per method; get_chain_info probeAll shows which endpoints serve them): call tree, `firstRevertedCall`, `nativeTransfers`, receipt logs decoded + `assetSummary` — no stateChanges/balanceChanges. Frames left unnamed get `selectorGuess`/`revertGuess` from signature datab…

ParameterTypeDescription
txHash *string
backendstringDefault auto: Tenderly when configured for the chain, else (or on its failure) the node.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
summarybooleanDrop the call tree (trace[], stateChanges[]); keep status, gas, logs and value movements. Default false.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

decode_transaction_input

Decode calldata into `decoded` {signature, args, source}. Tries abiJson, contractAddress's verified ABI (proxy-aware), then signature databases (a candidate must re-encode to exactly these bytes), then Tenderly; else a structural guess from word shapes (`structure`). `source` containing UNVERIFIED, or `unverifiedSignature` beside `candidates` → a lead, not a fact. `signatureSourcesFailed` → lookup incomplete; retry before calling the selector unknown.

ParameterTypeDescription
data *string0x calldata; under 4 bytes is decoded structurally.
abiJsonstringABI JSON; tried first.
contractAddressstringContract the calldata was sent to; its verified ABI is tried before the signature databases.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
noSelectorbooleanDecode the whole payload as arguments (no 4-byte selector).
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
structurebooleanAlso return the structural decode when a signature matched (default false).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_token_price

CoinGecko spot price + 24h change by ticker or CoinGecko id, not by contract address. `warning` = input was not a known ticker and was queried as a CoinGecko id, which may be a DIFFERENT asset; verify or pass the exact id.

ParameterTypeDescription
token *stringTicker (ETH, USDC) or CoinGecko id (ethereum, usd-coin).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
vsCurrencystringusd, eur, btc… Default usd.

get_address_history

Explorer-indexed history of an address as a PARTICIPANT (sender/receiver) — not every transfer of a token contract (that is get_logs). type: native txs, internal (value moved by contract calls), or erc20/erc721/erc1155 transfers. `valueSummary` sums this page only. `pageFull: true` ⇒ more rows exist: follow `continueWith` (cursor `nextStartBlock`/`nextEndBlock`, or `nextPage`). Merging pages: drop this page's rows in `boundaryBlock` (the next call returns that block whole) and sum `valueSummary.completeBlocks` (present on every page) — never de-duplicate by hash/traceId/logIndex: two rea…

ParameterTypeDescription
address *string
type *string
contractAddressstringOnly this token contract (token types only).
endBlocknumber
explorerstringForce a block-explorer backend. Default: Etherscan V2 where it serves the chain, otherwise the chain's Blockscout instance.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
offsetnumberRows per page (default 100; Etherscan free tier caps at 1000).
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
pagenumberDefault 1. page × offset must stay ≤ 10000; go further by moving startBlock/endBlock.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
sortstringBy block; default desc (newest first).
startBlocknumber
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

find_recent_calls

Reverse-engineer an unverified contract from its recent successful DIRECT txs (explorer history; calls arriving via routers/other contracts are invisible), grouped by 4-byte selector in `bySelector`: count, calldata length, `staticSlots` (per 32-byte word: `typeHint` + samples), sample txs, `knownSignature`. `noDispatcher: true` → the first 4 bytes are not function selectors; `notInDispatcher` → that group hits the fallback.

ParameterTypeDescription
address *stringContract that received the txs.
explorerstringForce a block-explorer backend. Default: Etherscan V2 where it serves the chain, otherwise the chain's Blockscout instance.
limitintegerTxs fetched from the address history, sent and received (default 100, max 500).
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
samplesPerSelectorintegerSample values per slot and sample txs per selector (default 3, max 10).
selectorstring0x + 8 hex; only this selector (default: all, most-called first).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_contract_abi

Contract ABI plus `readableFunctions`/`readableEvents`. For a proxy `abi` is proxy ∪ implementation (∪ every diamond facet) — use it on the proxy address; `proxyAbi`/`implAbi` split it. Unverified code gets a reconstruction: `abiSource` 'ipfs-metadata' (exact), '…-unconfirmed' (hint) or 'recovered' (input types only, no outputs) — for an implementation in `implRecovered`, never merged into `abi`. `implAbiFetchTransient` → retry, not unverified; `facetAbiFailures`/`facetsOmitted` → functions missing from `abi`. "Does it have withdraw/exit?": format 'signatures' + match 'withdraw|e…

ParameterTypeDescription
contractAddress *string
formatstring'signatures': one line per entry (selector/topic0, canonical signature, mutability, returns) instead of ABI JSON — about 60× smaller. Default 'json'.
matchstringKeep only entries whose name contains this (case-insensitive; 'withdraw|unstake|exit' for alternatives).
mutabilityarrayKeep only functions of these kinds (drops events and errors).
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
resolveProxybooleanMerge the implementation ABI (default true); false = the address's own verified ABI only, no reconstruction.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

read_contract

eth_call one function (nothing is sent) and decode `result`. ABI: abiJson, else the verified proxy+implementation ABI, else built-in ERC-20 views (name, symbol, decimals, totalSupply, balanceOf, allowance), else, only when no verified ABI exists, the ABI recovered from the bytecode — or pass a full signature as functionName (a verified ABI still supplies its output types). Without known output types the answer is `returnData` + `interpretations` (guesses), not `result`; overloads are chosen by arg count. A revert is isError with a decoded `revert`; classification 'method_not_found_or_bare_re…

ParameterTypeDescription
contractAddress *string
functionName *stringName (e.g. 'balanceOf'), or a full signature ('owner()', 'balanceOf(address) returns (uint256)') to call a function no ABI declares.
abiJsonstringABI JSON; default: auto-fetched.
argsarray
blockNumberstring
fromstringmsg.sender for the call, for sender-dependent functions.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
stateOverridearrayPer-account overrides applied before the call ('what if X were Y'); same shape as simulate_call.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
valuestringNative value to attach, in ether (e.g. '0.1').

write_contract

State-changing contract call from the configured wallet. A DRY_RUN revert is isError with no trace — debug it with simulate_transaction. view/pure functions are refused (read_contract). Unverified contract: pass abiJson.

ParameterTypeDescription
contractAddress *string
functionName *stringName only, e.g. 'mint'. Overloads are picked by args count; if still ambiguous, pass abiJson with just that overload.
abiJsonstringDefault: verified ABI, auto-fetched (proxy-aware).
argsarrayuints in base units, NOT scaled by decimals.
confirmstring
gasstring
gasPriceGweistring
maxFeePerGasGweistring
maxPriorityFeePerGasGweistring
networkstring
nonceinteger
valuestringNative value in ether (payable functions).

send_raw_transaction

Broadcast a signed raw tx; returns txHash (unmined) + decoded `parsed`. DRY_RUN only decodes — no simulation, balance or nonce check. `warning` flags a pre-EIP-155 tx (replayable on any chain) or a signed chainId ≠ network, which CONFIRMED refuses. Bypasses the wallet nonce manager.

ParameterTypeDescription
rawTx *stringSigned serialized tx, 0x-hex.
confirmstring
networkstringMust match the tx's signed chainId.

multicall

Read calls at ONE block (pinned, echoed as `blockNumber`) — or the same calls at each of `blockNumbers` (time series, a manual bisection; rows then carry their `blockNumber`). ABI resolved per call as in read_contract, or give `functionName` as a full signature. Up to 2000 reads inline (calls × blocks), or 50,000 from `callsFile` with `outFile` (rows to disk, summary in the reply). Per-call `status`: success → `result`; reverted → `error` + `decodedRevert`; no_data → no contract or no such function (not zero); unread → no usable answer (transport, or output that did not decode, kept…

ParameterTypeDescription
allowFailurebooleanDefault true; false → isError at the first call that is not success.
batchSizeintegerCalls per Multicall3 batch (default 100).
blockNumberstringOne block for every call; a tag or a time ("30d", "2026-09-01", "@1727740800") is resolved once.
blockNumbersarrayRead every call at each of these blocks (numbers, tags or times; max 100). Not with blockNumber.
callsarrayMax 2000. Or callsFile.
callsFilestringAbsolute path to a JSON array or JSONL of the same call objects, max 50,000; more than 2000 need outFile.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

transfer_native

Send the native coin (ETH/POL/BNB…) from the configured wallet. Tokens: transfer_erc20.

ParameterTypeDescription
amount *string
to *string
confirmstring
gasstring
gasPriceGweistring
maxFeePerGasGweistring
maxPriorityFeePerGasGweistring
networkstring
nonceinteger

transfer_erc20

Send ERC-20 tokens from the configured wallet; DRY_RUN details show the scaled `rawAmount` and `decimals`. Insufficient token balance surfaces as a revert (isError).

ParameterTypeDescription
amount *string
to *string
tokenAddress *string
confirmstring
gasstring
gasPriceGweistring
maxFeePerGasGweistring
maxPriorityFeePerGasGweistring
networkstring
nonceinteger

approve_token_spending

Set an ERC-20 allowance for spenderAddress from the configured wallet. Replaces the current allowance (read it first: get_allowance); some tokens (USDT) revert on non-zero → non-zero, so set '0' first.

ParameterTypeDescription
spenderAddress *string
tokenAddress *string
amountstring'0' revokes. Exactly one of amount / infinite is required.
confirmstring
gasstring
gasPriceGweistring
infinitebooleanApprove max uint256. isError if combined with amount.
maxFeePerGasGweistring
maxPriorityFeePerGasGweistring
networkstring
nonceinteger

get_nft_info

ERC-721 name/symbol and one token's tokenURI; `resolveMetadata` also fetches the JSON (data:, ipfs://, ar://, http(s); untrusted text). Not the owner (read_contract ownerOf), not ERC-1155 uri(). A failed tokenURI sets `tokenUriStatus`: only 'nonexistent' proves the token is missing; 'node_error' = the call never ran.

ParameterTypeDescription
contractAddress *string
tokenId *string
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
resolveMetadatabooleanDefault false.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

nft_recent_activity

Transfer activity of an NFT collection over the last `blocks` blocks (eth_getLogs scan). ERC-721 unless standard:'erc1155' (not auto-detected). `summary`: transferCount, mintCount, burnCount, uniqueAddressesInvolved, hasSecondaryTransfers; plus the newest `transfers`. excludeMints filters the list only, never the counts. On `partialScan`, hasSecondaryTransfers is null, never false. Whether it can be sold: nft_check_transferability.

ParameterTypeDescription
collection *string
blocksnumberBlocks back from head (default 10000; 200-1000 on free-tier RPCs — larger takes minutes).
chunkSizenumberBlocks per eth_getLogs request (default 10).
excludeMintsbooleanDrop mints from `transfers` (default true).
limitnumberMax transfers listed (default 50).
maxChunksnumberChunk cap (default: what the range needs; hard max 2000). A range needing more is refused — raise chunkSize.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
requestDelayMsnumberMs between chunks per lane (default 50); through the proxy pool several lanes run at once (get_chain_info readLanes).
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
standardstringDefault 'erc721'.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

nft_check_transferability

Can this collection's NFTs be transferred/sold? ERC-721 or ERC-1155 (auto-detected). Simulates a transfer from a current holder (Tenderly if configured, else eth_call), probes an ERC-721-C validator's marketplace allowlist (ERC-721 only), and checks recent on-chain transfers, which override a failed simulation. `classification`: open / marketplace_only / frozen / likely_soulbound / inconclusive; `transferable: null` = unknown, not 'no'; `confidence` drops a step on partialScan. An unusable tokenId is replaced by another token (or by none): `targetTokenId` is the id actually tested, and `answer…

ParameterTypeDescription
collection *string
blocksnumberBlocks of transfer history to scan (default 10000; 200-1000 on free-tier RPCs).
deadAddressstringSimulated recipient; default 0x…dEaD. Use an EOA: a contract's onERC721/1155Received hook can make the safe-transfer simulation revert.
knownOperatorsarrayOperator addresses or ENS names to test on the validator allowlist; replaces the built-in OpenSea/Blur/LooksRare/X2Y2 list. Entries that do not resolve are listed in `unresolvedOperators`; if none res…
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
requestDelayMsnumberMs between log-scan chunks per lane (default 50); through the proxy pool several lanes run at once (get_chain_info readLanes).
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
tokenIdstringToken to simulate (default: one from recent transfers, then ownerOf(1)/(0), then totalSupply-1).

get_erc1155_balance

ERC-1155 balance of one tokenId for an address, as a raw integer (ERC-1155 has no decimals).

ParameterTypeDescription
address *stringOwner.
contractAddress *string
tokenId *string
blockNumberstringEchoed (as a number) only when given.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_logs

Event logs by emitting `address` and/or `topics`, with 47+ known events decoded (`decoded`, `eventSummary`); `eventSignature` sets topic0. Filtered ranges of 500+ blocks on Etherscan chains go to the explorer (1000 logs per call), else eth_getLogs — `source` says which. `incompleteRange` present ⇒ only `rangeCovered` was scanned and `totalCount` covers just that: continue from `resumeFromBlock` or the block it names. `limit` keeps the EARLIEST logs. The node's getLogs window up front: get_chain_info probe (`getLogsWindow`). One wallet's own transfers: get_address_history. Not the logs but…

ParameterTypeDescription
fromBlock *stringBlock number (decimal or 0x) or tag; 'pending' is refused.
addressstringEmitting contract.
aggregatestringReturn `groups` instead of logs: each distinct emitter / topic0 / indexed topic with count, firstBlock, lastBlock (a padded address topic also as `address`). Holders of a token: Transfer + 'topic2'. R…
autoChunkstringeth_getLogs strategy. 'onError' (default): one request, adaptive rescan if the node refuses the range. 'adaptive': window follows the node's limits; stops at its budget with `resumeFromBlock`. 'always…
chunkSizenumberBlocks per chunk in fixed mode (default 10); starting window in 'adaptive'. Setting it makes the onError rescue fixed-size.
confirmEmptybooleanAn empty eth_getLogs answer is re-read on a SECOND endpoint (default true): `emptyCheck` says confirmed, contradicted (its logs are used) or unconfirmed.
crossCheckintegerWindows (default 1; 0 = none) re-read on a SECOND endpoint when eth_getLogs returned logs, centred on blocks that have some, and compared log by log (block, logIndex, tx): `completeness` says verified…
decodeUnknownbooleanDecode logs the built-in table does not know (default true; the returned logs only): by the emitter's verified ABI (a changed proxy: the implementation set at the log's block), else by signature datab…
eventSignaturestringe.g. 'Transfer(address,address,uint256)' (param names/indexed allowed); computes topic0.
explorerstringLogs never come from Blockscout: 'blockscout' is rejected.
forcebooleanScan even when the node's STATED block limit puts the range out of the request budget's reach (default false: the scan stops at once with `scanRefused` — the requests it would need — instead of co…
limitnumberMax logs returned (default 100); totalCount/eventSummary still count all.
maxChunksnumberFixed mode: max chunks (default 50; more throws). Adaptive: max requests before returning a cursor (default 200).
maxRetriesPerChunknumberRate-limit retries per chunk, exponential backoff (default 3).
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
requestDelayMsnumberMs between chunks per lane (default 50); through the proxy pool several lanes run at once (get_chain_info readLanes).
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
sampleWidthintegerBlocks per sample window (default: the width this endpoint last answered, else 2,000).
sampleWindowsintegerRead only this many windows spread evenly over the range (a census of a long history): `sampled` says how much was read — a SAMPLE, never a complete answer.
sourcestring'auto' (default): explorer only for a filtered range of 500+ blocks on an Etherscan chain, falling back to eth_getLogs. 'rpc': eth_getLogs only. 'explorer': force it (needs a filter).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
toBlockstringSame format; default 'latest'. Clamped to the head.
topicsarrayUp to 4; each 32-byte hex (addresses left-padded) or null = any. A null topic0 is filled from eventSignature.
verbosebooleanKeep raw topics/data beside `decoded` (default false).

estimate_gas

eth_estimateGas for a raw to/value/data tx, plus its cost at the current gasPrice, and `gasModel` — what the number IS on this chain: plain (execution, an L1) | l1-fee-separate (the chain's L1 fee oracle answers — OP stack, Scroll: an L1 data fee is charged on top, `l1FeeUpperBoundWei`) | da-in-gas-units (Arbitrum, Etherlink: data availability folded into the gas units — a bare transfer can cost 600k; `plainTransferEstimate`) | eravm-pubdata (ZK stack: `zks` gives gasPerPubdataLimit for a 0x71 tx) | nonstandard-gas-units (a bare transfer is not 21k, reason not identified) | unknown (an L…

ParameterTypeDescription
to *string
datastringCalldata, 0x-hex.
fromstringDefault: the configured wallet, else none (node default).
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
valuestringNative value in ether.

compute_selector

keccak256 of a signature, locally: functions/errors → 4-byte selector, events → 32-byte topic0 (for get_logs). Returns `hash` + `canonical`; with `signatures` (up to 500) a row per signature, a bad one an `error` row. Selector → name is lookup_selector.

ParameterTypeDescription
kind *string
signaturestring'transfer(address,uint256)' or a full Solidity declaration with names.
signaturesarrayMany at once (same kind); instead of `signature`.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

encode_calldata

ABI-encode a function call locally (no RPC, no ABI fetch): returns `calldata` (0x selector + args), `selector`, `canonical`. Arg count must match the signature.

ParameterTypeDescription
signature *string'transfer(address,uint256)' or a full Solidity declaration with names.
argsarrayIntegers decimal or hex; addresses as 0x hex (no ENS); bytes as hex.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_code

Bytecode at an address: `accountType` EOA / 'EIP-7702 delegated EOA' (`delegatedTo`, `isEIP7702Delegation`) / contract; an EOA or delegated one also gets its `nonce` at that block (activity: a delegated wallet with a large nonce and no balance is being used by someone else), `codeSize`, `codeHash`, `compilerMetadata`, `vm` ('EraVM' → EVM analysis tools do not apply). 'EOA' only means no code at that block (also undeployed or self-destructed); `eoaCheck` says whether another endpoint confirmed it; `quorum` asks 2-5 endpoints. Deployment block: get_contract_creation, or find_change_block with…

ParameterTypeDescription
address *string
blockNumberstring
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
quorumintegerAlso put the same question to this many of the chain's endpoints (2-5; your rpcUrls when given) and compare: `quorum.verdict` known / not_known_and_sure (every endpoint asked answered "absent") / not_…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
saveTostringAbsolute file path to write the hex to (never overwrites); the response then omits the bytecode.
summarybooleanOmit the bytecode; return only size and first/last 32 bytes.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_proxy_implementation

Proxy detection (latest block) → `isProxy`, `proxyType`, `implementation`: EIP-1967 (+`admin`, beacons resolved), EIP-1822, Zeppelin slots, EIP-1167 clones, delegatecall proxies with an implementation()/masterCopy() getter, EIP-2535 diamonds (`facets` + `facetSelectors`, no single implementation). `isProxy: false` = no known pattern matched.

ParameterTypeDescription
address *string
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_storage_at

One raw storage slot `value` + `interpretations` (asAddress, asUint256, asBool, isEmpty) of the whole 32-byte word — a packed slot holds several variables, split it yourself. Several slots at one block: read_storage_batch.

ParameterTypeDescription
address *string
slot *string0x hex slot index.
blockNumberstring
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

find_storage_slot

The storage slot a getter reads — no layout arithmetic, no source needed (forge's stdstore, over RPC): every candidate slot gets its own random sentinel in a storage-override eth_call (≤ 2,048 per call), and the sentinel the getter returns names the slot. Candidates, most common first: base slots fromBaseSlot..maxBaseSlot−1 (default 0..511), Solidity keccak(key . slot) and Vyper keccak(slot . key) with nested keys in order, a struct member +1..+memberOffsets−1 past the mapped slot, pre-0.3 Vyper's keccak(mapped) + member, and — when the last argument is an integer — that argument a…

ParameterTypeDescription
address *stringThe contract whose getter is called (a proxy: its own address — the storage is the proxy's).
argsarrayThe getter's arguments (mapping keys), raw ABI values.
blockNumberstring
fromBaseSlotintegerFirst base slot tried (default 0): search a far window without repeating the near one.
getterstringThe view function: 'balanceOf(address)', 'usedNonces(bytes32)', 'allowance(address,address)'.
maxBaseSlotintegerBase slots tried up to this, exclusive (default 512, max 32768): upgradeable contracts' __gap arrays push mappings past 256.
memberOffsetsintegerStruct member offsets tried past the mapped slot, 0..N−1 (default 4); also array element sizes 1..N. Candidates (bases × layouts × offsets) are capped at 65,536.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
variablestringInstead of getter: a public state variable's name, its getter's types taken from the verified ABI.

read_storage_batch

Up to 256 storage slots at ONE pinned block (echoed as `blockNumber`): pass `slots` or `start`+`count`, and/or packed fields. A slot whose read failed carries `error` instead of `value` — unread, not zero. `fields`: values cut out of their words by byte `offset` (from the right — find_storage_slot's packed.offset) and width, decoded as their type. `struct`: members as declared (['address owner', 'uint64 startTimestamp', 'bool burned', 'uint40[65535] checkpoints', 'mapping(address => uint256) balances']) laid out from a slot as solc packs them — one call for a whole struct or contract lay…

ParameterTypeDescription
address *string
blockNumberstringEvery slot is read at this one block; a tag is resolved once, 'pending' is refused.
countintegerConsecutive slots from `start` (max 256).
decodebooleanAdd `typeHint` (address, short string, uint size…) + `decoded` per slot.
fieldsarrayPacked fields to read and decode.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
slotsarray0x hex slot indexes.
startstringFirst slot of a range (hex or decimal); use with `count`.
structobjectA struct or a run of state variables, laid out as solc packs them and decoded (fixed arrays shown up to 64 elements; nested structs, mappings, dynamic arrays, string, bytes start their own slot, and s…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

wait_for_storage_value

Poll one storage slot (latest block) until it equals `expected`, or with `change: true` differs from its value at the start (`baseline`). Returns `matched`, `value`, `attempts`, `elapsedMs`; a timeout is `matched: false, timedOut: true` (not isError) with `lastValue` ('0x' = no read succeeded).

ParameterTypeDescription
address *string
slot *string0x hex slot index.
changebooleanWait for any change from the current value. Exclusive with `expected`.
expectedstringHex value, left-padded to 32 bytes ('0x1' works). Exclusive with `change`.
networkstring
pollIntervalMsintegerDefault 2000, min 500.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerDefault 60000, max 300000.

get_contract_interfaces

ERC-165 probe of known IDs (ERC-721 +Metadata/Enumerable, ERC-1155, ERC-2981, AccessControl, Seaport, receivers) → `supported`. `probesFailed`: those negatives are unproven. `spamWarning`: it claims the invalid ID 0xffffffff too; trust no result. isError if no probe answered — also the case for a contract with no supportsInterface.

ParameterTypeDescription
address *string
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_token_metadata

ERC-20 profile of an unknown token in one call: name, symbol, decimals, totalSupply, isProxy/proxyType/implementation, verified. Placeholders are flagged (`nameUnavailable`, `decimalsAssumed`, `totalSupplyUnknown`); `error` ⇒ the values are defaults, not on-chain data. A missing `isProxy` or `verified` means undetermined, not false. `tokens` (up to 1000; past 500 needs outFile): name/symbol/decimals/totalSupply only, all at one block (`blockNumber`) — a field that did not come back is in `notRead` with how its read ended, `notErc20` when every read reverted or returned nothing; no proxy or…

ParameterTypeDescription
blockNumberstringWith `tokens`: the block to read at (default latest, pinned once).
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
tokenAddressstring
tokensarrayMany token addresses (0x, no ENS) instead of tokenAddress.

get_contract_source

Verified source + compiler metadata in `source` (explorer, else Sourcify); `source.verified: false` when neither has it. For big multi-file contracts use `index: true` (file list), `files` (chosen files), `grep` (matching lines with context; `truncated` when capped) or `definition` (a function/modifier/struct/event/error/enum/contract/state variable by name, WHOLE — bodies by their braces, every overload, in every file, each with its `container` contract, so an inherited definition is found where it really is; events/errors with elementary types carry `topic0`/`selector`) — these need fiel…

ParameterTypeDescription
contractAddress *string
caseSensitivebooleanDefault false.
contextLinesintegerDefault 5.
definitionstringAn identifier: every definition of it, whole (e.g. 'redeem', 'V3RelayData', 'usedNonces').
explorerstringForce a block-explorer backend. Default: Etherscan V2 where it serves the chain, otherwise the chain's Blockscout instance.
fieldsstring'minimal' = name, compiler, proxy; 'metadata' = all but source code; 'full' (default).
filesarrayOnly files whose path contains one of these (case-sensitive); also scopes grep and definition.
grepstringSubstring (regex with regex: true); returns matching lines ± contextLines.
indexbooleanFile list only (path, lines, bytes).
kindsarrayWith definition: only these kinds.
maxMatchesintegerDefault 200.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
regexbooleanDefault false.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

get_contract_creation

Per contract (max 5): `contractCreator`, `txHash`, `createdVia` (direct deployment or factory; `factoryOrEntrypoint` is the tx's `to`, not necessarily the factory), `constructorArguments` + `constructorArgumentsDecoded` with `constructorArgumentsBasis` — a basis starting 'heuristic' is unverified; an unknown boundary gives only `constructorArgumentsNote`. Explorer, else Sourcify, else the chain itself (`source: 'rpc'`: the creation block by bisection over eth_getCode — archive reads — and the transaction from the block's receipts or trace, `txBasis` says which; a factory creation the nod…

ParameterTypeDescription
contractAddresses *arrayMax 5.
explorerstringForce a block-explorer backend. Default: Etherscan V2 where it serves the chain, otherwise the chain's Blockscout instance.
fromBlockstringChain search only: start here (a block, or a time: '2024-03-01', '@1709251200'). If the code is already there the search goes below it (`hintTooHigh`).
includeCreationCodebooleanInclude the creation bytecode hex (large); default: only its size.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
saveTostringAbsolute DIRECTORY to write <address>.creation.hex files into (never overwrites).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

simulate_transaction

Tenderly simulation (needs TENDERLY_RPC_URLS): `simulation` has status, gasUsed, logs, assetChanges, balanceChanges, trace. On revert, `revert` has topLevelRevert, firstRevertedCall (originating frame), revertClassification, decodedInput. Without a usable gateway (unconfigured, unsupported chain, denied, rate-limited) falls back to eth_call: backend:'native-fallback', no trace/logs/asset changes, and simulation.rpcRejected / executionFailed mean it did NOT revert — read hint. Prefer functionName+args over raw data.

ParameterTypeDescription
from *stringThe real signer (msg.sender). A contract here gets revert.fromContractWarning on failure.
to *string
abiJsonstring
argsarrayStrings preferred: bare JSON numbers above 2^53 are rejected.
blockNumberstring
datastringCalldata, 0x-hex. Exclusive with functionName.
functionNamestringName only; ABI auto-fetched (proxy-aware) unless abiJson.
gasstringGas limit.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
summarybooleanDrop trace and stateChanges (revert fields kept). Default false.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
valuestringNative value in ether.

simulate_call

Plain eth_call, optionally with stateOverride (fake balance/nonce/code/storage); no trace/logs/asset changes — simulate_calls with `sequential` + `assetDelta` gives value moved, simulate_transaction a full trace. `status`: success (returnData, decodedReturn) | reverted (revert.name/args/classification) | rpc_rejected (node refused before running, e.g. funds — not a revert; see skipBalanceCheck) | state_unavailable (node lacks that block's state) | execution_failed (ran, failed with no revert data: out of gas or stripped reason) | rpc_unavailable (isError; nothing ran) | override_not_applie…

ParameterTypeDescription
to *string
abiJsonstring
argsarrayStrings preferred: bare JSON numbers above 2^53 are rejected.
asEOAbooleanSimulate `from` as a plain EOA: its code (an EIP-7702 delegation, a sweeper) is removed for the call by a code override, checked as applied (`stateOverrideApplied`).
blockNumberstring
datastringCalldata, 0x-hex. Exclusive with functionName.
delegateTostringSimulate `from` delegating to this contract (EIP-7702): its code set to 0xef0100 ‖ address for the call.
eraPaymasterobjectZK-stack only: also run the paymaster's validation (eth_estimateGas with paymasterParams) for `from` — `paymasterCheck` passed/failed. Nothing is signed.
fromstringmsg.sender; default zero address.
functionNamestringA name (ABI auto-fetched, proxy-aware, unless abiJson) or a full signature "claim(address,uint256) returns (bool)". Enables decodedReturn.
gasstringGas limit (decimal).
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
requireStateOverridebooleanRefuse (isError) rather than answer when no endpoint applies stateOverride.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
skipBalanceCheckbooleanGive `from` a huge balance so a funds check cannot reject the call.
stateOverridearrayApplied before the call. slot/value: 32-byte 0x-hex. An unknown key in an entry is refused: an override that silently did not apply would be simulated as if it had.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
valuestringNative value in ether.

simulate_calls

Many eth_calls at ONE pinned block, each classified exactly as simulate_call classifies one: success (returnData, decodedReturn) | reverted (revert decoded: name/args/classification) | rpc_rejected | state_unavailable | execution_failed | rpc_unavailable (nothing ran) | error (could not be prepared: `message`) | not_run (time budget spent: `incomplete.resumeFromIndex`). blockNumber 'pending' is refused (the batch pins one block). One row per call in input order (`index`, your `label`); `summary` counts the statuses. `calls` inline (max 500) or `callsFile` (absolute path, JSON array or JSONL of…

ParameterTypeDescription
asEOAbooleanSimulate the batch `from` as a plain EOA: its code (an EIP-7702 delegation, a sweeper) is removed for the call by a code override, checked as applied (`stateOverrideApplied`).
assetDeltaarrayAddresses whose native + token balances to measure before/after the batch (implies sequential).
assetTokensarrayTokens to measure besides those whose Transfer events name a watched address.
blockNumberstringOne block for every call (a tag or time is resolved once; default latest).
callsarray
callsFilestringAbsolute path to a JSON array or JSONL of call objects (same fields), max 20,000.
delegateTostringSimulate the batch `from` delegating to this contract (EIP-7702): its code set to 0xef0100 ‖ address for the call.
fromstringDefault msg.sender for every call; zero address if unset.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
requireStateOverridebooleanIndependent mode: refuse each call (override_not_applied) when no endpoint applies stateOverride.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
sequentialbooleanRun the calls in order in one simulated block, state carried from call to call.
skipBalanceCheckbooleanGive each sender a huge balance so a funds check cannot reject a call.
stateOverridearrayApplied before the call. slot/value: 32-byte 0x-hex. An unknown key in an entry is refused: an override that silently did not apply would be simulated as if it had.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

decompile_local

Decompile an address's code with a local heimdall binary (PATH or HEIMDALL_PATH): pseudo-Solidity, ABI or disassembly. Output is heimdall's guess — bytes/array params often shown as uint256, spurious require(msg.value), inverted SLT conditions; `crossCheck` compares its functions with the real dispatcher, `unresolvedFunctions` gives database names for the ones it left unnamed, and `ambiguousNames` lists names it picked for a selector several plausible signatures share. Never take heimdall's own names or types as signatures; for the function list use analyze_bytecode (the dispatcher's real se…

ParameterTypeDescription
address *string
extraArgsarrayExtra heimdall CLI args, verbatim (e.g. ['--include-yul']).
networkstring
outputModestring'selectors' (~1 KB): selector, name, inputs per function. 'abi_only' (~10 KB): abi.json only. 'full' (default, can exceed 80 KB): every artifact incl. decompiled.sol. Trimming applies to decompile onl…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
subcommandstringheimdall subcommand (default decompile).
timeoutMsintegerDefault 90000, max 600000.

sign_message

EIP-191 personal_sign with the configured wallet; returns signature + signer. 0x-hex `message` is signed as raw BYTES, anything else as UTF-8 text. A bare 32-byte hex digest (blind signing) is refused unless ALLOW_MAINNET_WRITE=true. For EIP-712 use sign_typed_data.

ParameterTypeDescription
message *string
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

sign_typed_data

Sign EIP-712 typed data with the configured wallet; returns signature + signer. Refused when domain.chainId is missing or a mainnet (unknown chains count as mainnet) unless ALLOW_MAINNET_WRITE=true — Permit/Permit2/order signatures can move funds with no tx from this wallet.

ParameterTypeDescription
domainJson *stringJSON {name, version, chainId, verifyingContract, salt}; omit unused fields.
messageJson *stringJSON. Write uint values as strings — bare numbers above 2^53 silently lose precision.
primaryType *stringe.g. 'Permit'.
typesJson *stringJSON types map; omit EIP712Domain (derived from the domain).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

verify_signature

`valid` for an EIP-191 message signature by `address`: 0x-hex `message` is checked as raw BYTES, other text as UTF-8 (like sign_message). `method` says what decided: `ecrecover` (recovers to `address` → valid with no RPC; for an address without code, the recovery is the verdict and `recoveredSigner` names the actual signer), `erc1271` (the wallet contract's isValidSignature), `erc6492` (wrapped signature, counterfactual wallets included), `erc8010`. On-chain checks run on `network` (the wallet's own chain) at `block`. `valid: false` always carries `reason` (+ `revert` when the wallet reverte…

ParameterTypeDescription
address *stringClaimed signer.
message *string
signature *string
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

analyze_bytecode

Static analysis of an address's code (or raw `bytecode`), no ABI needed — the recovered interface of an unverified contract: `functions` (selectors the dispatcher actually compares, named via signature databases), customErrors, events, erc165InterfaceIds (known ids the code compares outside the dispatcher — a strong hint; proof is read_contract supportsInterface(bytes4)), compilerMetadata, opcode `flags` (delegatecall, selfdestruct, create2…), storage counts, minimalProxy. Notes say when the function list is incomplete (proxy, diamond); `otherPush4`/`heuristicSelectors` are not proven fu…

ParameterTypeDescription
addressstringOmit when passing `bytecode` or `addresses`.
addressesarrayMany contracts (0x, no ENS): a compact row each instead of the full analysis.
blockNumberstringRead the code at this block. `proxyImplementation` is looked up only at latest.
bytecodestringRuntime bytecode to analyze instead of fetching `address`.
includeOpcodesbooleanAdd the full opcode histogram (default false).
matchstringWith addresses: report the named functions matching this (case-insensitive; 'withdraw|unstake|exit|claim').
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
recoveredAbibooleanAlso return an ABI built from the unambiguous names: inputs only, outputs/mutability unknown (default false).
resolveNamesbooleanName selectors/topics via signature databases (default true).
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

lookup_selector

Reverse lookup: 4-byte function/error selector or 32-byte event topic → candidate signatures (verified ABIs seen, openchain, 4byte). Pass `data` (full calldata or revert data) to settle collisions: `roundTrip` holds the candidate that decodes AND re-encodes to exactly those bytes (an array when several do), `ruledOut` those that do not; if none fits, `structure` is a layout-only decode. With `sourcesFailed`, an empty result is not a definitive miss. Calldata sent to a known contract: decode_transaction_input also tries its ABI.

ParameterTypeDescription
selector *string4-byte selector, 32-byte event topic, or full calldata (its first 4 bytes are the selector and the rest is round-tripped as `data`).
datastringFull calldata or revert data (selector + args).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

approval_exposure

Live exposure of given owners to ONE spender at one pinned block (owners unknown: find_approvals). `status`: exposed / approved_no_balance / no_approval / unknown (`unknownReason`: unmeasured, not safe). ERC-20: exposure = min(allowance, balance). ERC-721/1155: isApprovedForAll + balance; ERC-1155 balances and ERC-721 single-token approvals are read only for `tokenIds` — an ERC-721 holder with ForAll false stays unknown until every token it holds is listed. `simulate`: drainSimulation.verdict would_transfer / reverts / returns_false is evidence; inconclusive / not_run is not.

ParameterTypeDescription
owners *arrayOwners × tokens must be ≤ 5000 pairs.
spender *stringThe approved address (e.g. an exploited router).
tokens *arrayERC-20/721/1155 contracts; the standard is detected.
blockNumberstring
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
simulatebooleanSimulate the drain transfer AS the spender (eth_call) for every exposed pair (default false).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
tokenIdsarrayNFT ids checked on every NFT pair (pairs × ids ≤ 20000): ERC-1155 balances need them; ERC-721 gets ownerOf/getApproved per id, and the drain simulation moves one the owner holds.

find_approvals

Everyone who approved a spender: Approval/ApprovalForAll logs naming it (any token), folded to each owner's last grant, then (liveCheck, default) re-read at `toBlock` as in approval_exposure → `exposure.summary` / `exposed` / `unknown` (unknown = unmeasured, not safe). The revoke list after an approval exploit. `incomplete` → grants from `resumeFromBlock` on are missing: call again with that fromBlock. ERC-721 single-token grants in `grants` are candidates; `exposure.tokenApprovalsConfirmed` is the on-chain count.

ParameterTypeDescription
spender *string
fromBlockstringDefault: the spender's creation block via the explorer (then required if unknown; 0 = genesis). Grants before it are not scanned.
liveCheckbooleanRe-read allowance/approval + balances for the grants found (default true).
maxPairsintegerCap on (owner, token) pairs live-checked (default 1000); the rest are `skippedPairs`, unmeasured.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
simulatebooleanWith liveCheck: also simulate the drain for exposed pairs, as in approval_exposure (default false).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
toBlockstringScan end and the block the live check reads. Default latest.

find_deployments

Which chains have code at this address: checks every configured mainnet (or `networks`) in parallel and groups identical bytecode by codeHash (`identicalCodeGroups`) — for CREATE2/CREATE3 contracts. Per-chain `status`: code / eip7702_delegation (an EOA, not a deployment) / no_code (`confirmed` by a second RPC, or not) / error (unread, not absent).

ParameterTypeDescription
address *string0x address; ENS is not accepted (it can resolve differently per chain).
includeTestnetsbooleanWith no `networks`: include testnets too (default false).
networksarrayOnly these networks. Default: every configured mainnet.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

simulate_deploy

Run a contract CREATION as eth_call. `status`: deployed (runtimeSize, runtimeHash, compilerMetadata — not the code) / constructor_reverted (decoded `revert`) / constructor_failed (halt, EIP-170 size, 0xEF) / initcode_too_large / insufficient_funds (isError: the sender cannot fund `value`). node_refused / empty_runtime (isError): the nodes did not visibly run it — no constructor verdict. `compareWith` → `comparison.verdict`: identical / identical_except_metadata / same_layout_values_differ (immutables) / other same_* (constants or data differ) / different / no_code_at_address; `dataReadBy…

ParameterTypeDescription
blockNumberstringDefault: the block before creationTxHash's (head if no endpoint has that state), else latest.
compareWithstringAddress whose deployed code the result is compared with.
constructorArgsstringABI-encoded args appended to the initcode.
creationTxHashstringReplay a DIRECT creation tx: its input, sender and value. Factory deployments: pass initcode instead (get_contract_creation includeCreationCode).
fromstringDeployer (msg.sender; sets the CREATE address). Default: the creation tx sender, else a fresh synthetic address.
initcodestringCreation bytecode, constructor args appended if any.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
stateOverridearrayPer-account overrides, as in simulate_call (balance in wei).
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
valuestringNative value (ether) for the constructor. Default 0, or the creation tx's.

scan_blocks

Block-range census, aggregates only (max 2000 blocks; default the last 100): tx counts, who holds the top slots (`topOfBlock`: first/second/third per sender, shareOfFirstSlots, and the effective `gasPriceGwei`/`priorityFeeGwei` p50/max of their first-slot txs — what it takes to win the race), topSenders, topRecipients, `txTypes` (counts by type: an eip7702 count > 0 is evidence the chain ACCEPTS type 4), and for a focus `address` (sender or recipient) its 0-based positions (median/min/p90), firstInBlock, blocks and gas prices. For ordering/FCFS questions. Positions count ordinary txs only: p…

ParameterTypeDescription
addressstringFocus address, matched as sender or recipient.
fromBlockstringDefault toBlock − 99.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
outFilestringWrite the full answer to this file and reply with a summary. A .json/.jsonl/.ndjson/.csv name: absolute local path, or relative under EVM_OUTPUT_DIR (default <os temp>/evm-mcp). Never overwrites (a ta…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
toBlockstring
topNintegerEntries per ranking (default 10).

cctp_message

A Circle CCTP transfer, from its SOURCE transaction to its state on the destination, in one call: every MessageSent in the receipt decoded (version 1/2, domains, nonce, sender, recipient, destinationCaller; `burn` — token, mintRecipient, amount, fees — only when Circle's TokenMessenger sent it, else the raw `body`), the attestation from Circle's Iris API, and `usedNonces` on the destination MessageTransmitter (whose localDomain() and version() are checked first). `verdict`: delivered (the nonce is used) | attested_not_received (`receiveMessage` holds to=/data= of the claim, RUN at the chec…

ParameterTypeDescription
txHash *stringThe source transaction (the burn).
destinationNetworkstringThe destination chain, when its domain is not in the built-in map.
destinationTransmitterstringThe destination MessageTransmitter, overriding the built-in address (still checked by localDomain() and version()).
networkstringThe SOURCE chain.
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

quote_swap

A swap quote WITH the depth of the pool it comes from, all read at ONE block: amountOut for the size, the same quote at 1/probeDivisor of it (the marginal price), the pool's reserves, and `shareOfReserve` = amountOut / the pool's tokenOut. A quote that takes most of the reserve is what someone PUT in the pool, not the token's value (`quoteConvergesToReserve` at ≥ 50%) — the bait shape. V2 (any getAmountsOut router: Uniswap V2, Sushi, Pancake…): `router`; V3: `quoter` (QuoterV2) with `fee`, or every standard tier when omitted. The factory and pool are read from the router/quoter itself (`…

ParameterTypeDescription
amountIn *stringHuman units of tokenIn (scaled by its decimals; excess precision refused).
tokenIn *string0x token sold (wrapped native for the coin).
tokenOut *string0x token bought.
blockNumberstringThe one block everything is read at (default latest, pinned once).
feeintegerV3 fee tier (100, 500, 3000, 10000); default all four.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
probeDivisorintegerThe marginal quote is at amountIn / this (default 100).
quoterstringUniswap V3 QuoterV2 (quoteExactInputSingle, factory).
routerstringV2-style router (getAmountsOut, factory).
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

find_change_block

The block at which a value changed, by bisection on the server: ~log2(range) archive reads in ONE call (≈26 over 30M blocks). `read`: native_balance | token_balance (`token`) | call (contract `address`, `functionName` — a name or full signature — `args`, `abiJson`) | code | nonce | storage (`slot`), of `address`. `predicate`: became_zero, became_nonzero, changed (from the value at fromBlock), code_appeared (= code became non-empty: the deployment block). Returns `changeBlock` with the values read just before and at it, plus `transactions` that touched the address in that block (balances:…

ParameterTypeDescription
address *stringThe holder (balances, nonce) or the contract (call, code, storage).
predicate *string
abiJsonstring
argsarray
fromBlockstringDefault: genesis.
functionNamestringcall: a name or full signature ("getReserves() returns (uint112,uint112,uint32)").
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
readstringWhat to read; default native_balance (code for code_appeared).
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
slotstringstorage: 0x-prefixed 32-byte slot.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…
toBlockstringDefault: latest.
tokenstringtoken_balance: the token contract.

get_transaction_count

An account's transaction count (nonce): `latest` (mined, at blockNumber) and `pending` (the node's mempool view), `inflight` = pending − latest — accepted but not yet mined. Read before signing anything nonce-bound (an EIP-7702 authorization with a stale nonce is skipped SILENTLY). A node without a mempool view answers pending = latest, so inflight 0 is not proof that nothing is pending — use quorum. `quorum` asks 2-5 endpoints: `latest` must agree (pinned to one block); `pending` views may legitimately differ.

ParameterTypeDescription
address *string
blockNumberstringBlock for `latest` (default the head); inflight only at the head.
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
quoruminteger
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

wait_for_balance_change

Poll an address's native or token balance until it changes (or `timeoutSeconds`), then name the change: the exact block, before/after/delta, and the `transactions` that moved it with sender, position in block and effective `gasPriceGwei` — who swept it and at what price. Between two polls up to 16 blocks are read one by one (a deposit and a sweep that net to zero are still seen); a longer gap is bisected per change, so a change that was undone within it can be missed. Blocks are tied by hash: a reorg sends the walk back to a block that still holds (`reorgNote`). Changes the other way go to `…

ParameterTypeDescription
address *string
directionstringDefault any; a change the other way is recorded and the wait goes on.
networkstring
pollMsintegerDefault 2000.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
timeoutSecondsintegerDefault 120.
tokenstringERC-20 token; default the native coin.

get_proof

eth_getProof for an account and storage slots at ONE block, VERIFIED by hashes — the account proof against the block header's stateRoot, each storage proof against the account's storageHash (a Merkle-Patricia walk: every node must hash to what its parent references; an absent key is PROVEN absent, never assumed). The node's claimed fields are compared with what the proof shows. Returns `account` (nonce, balance, storageHash, codeHash, exists), `storage` (value per slot), `accountProof` / `storageProof` (the RLP nodes, ready as calldata), `blockHash`, `stateRoot`. A node without that block's…

ParameterTypeDescription
address *stringThe account (0x address or ENS name).
blockNumberstringDefault latest (resolved once; 'pending' refused).
networkstring
networksarrayAsk the same question on several chains at once (up to 60, 8 at a time) instead of `network`: `results` has a row per chain — status ok (+ `answer`), error (+ `error`), or not_run (the whole call's…
opStackOutputRootbooleanAlso compute the OP Stack output root at this block.
rootClaimstringWith opStackOutputRoot: the claimed root (0x, 32 bytes) to compare.
rpcUrlsarrayEndpoints for THIS call only (http/https, up to 5): the network's reads go to these and no others (no Tenderly either) — the first is the primary, the rest its failover; each must PROVE it answers a…
slotsarrayStorage slots (0x or decimal), up to 256.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

compute_storage_slot

A storage slot BY FORMULA, no node needed: a base (`base` number, `erc7201` namespace id, or `named` string — keccak, or keccak − 1 with minusOne, EIP-1967 style) and a `path` of steps as solc/vyper derive them — mapping key (Solidity keccak(h(key) . slot), h = 32-byte padding for value types, the raw bytes of a string/bytes key; or Vyper), a key the contract hashes itself (`keyFrom`, abi.encode or encodePacked), dynamic array element (keccak(slot) + i × size), fixed array element, struct member (`add`), keccak(slot) (`hash`). Nested mappings: one key step per level, `add` between them…

ParameterTypeDescription
basestringThe variable's base slot, decimal or 0x (default 0).
erc7201stringInstead of base: an ERC-7201 namespace id ('openzeppelin.storage.ERC20'): keccak(abi.encode(uint256(keccak(id)) − 1)) & ~0xff.
matchobjectReverse: which key (Solidity or Vyper, at which base and member offset) produced `slot`. bases × keys ≤ 1,000,000.
minusOnebooleanWith named: keccak(string) − 1.
namedstringInstead of base: keccak(string) — a named position ('eip1967.proxy.implementation' with minusOne).
patharraySteps from the base, in order.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…

compute_contract_address

The address a deployment gets, by formula: CREATE from `deployer` + `nonce` (keccak(rlp(deployer, nonce))), CREATE2 from `deployer` + `salt` + `initCode` or `initCodeHash` (keccak(0xff . deployer . salt . keccak(initCode)))). With `target` and `maxNonce`: which CREATE nonce of `deployer` (0..maxNonce, ≤ 1,000,000) gives that address. Pure arithmetic: nothing is read.

ParameterTypeDescription
deployer *stringThe creating account or factory (0x address).
initCodestringCREATE2: the creation code with constructor arguments (0x hex).
initCodeHashstringCREATE2: keccak(initCode), instead of initCode.
maxNonceintegerWith target: nonces 0..maxNonce are tried (default 10,000).
noncestringCREATE: the deployer's nonce at the deployment (a contract's starts at 1).
saltstringCREATE2: the 32-byte salt (0x hex).
targetstringFind the CREATE nonce that gives this address.
timeoutMsintegerThis call's deadline in ms (1,000-600,000; default EVM_TOOL_TIMEOUT_MS, 5× for scanners). Past it the call is abandoned; when no endpoint answered at all the answer says so (`no endpoint answered`) a…