Skip to main content
Glama

evm multicall

evm_multicall
Read-only

Read up to 50 contract view functions in one call, decoded: give each call a contract address, a plain function signature ("balanceOf(address) returns (uint256)") and arguments; we encode them, run them at the same block through Multicall3 and return each result decoded to JSON, or the revert for that call alone. No ABI files, no RPC key. Base, Ethereum, Arbitrum, Optimism, Polygon. $0.004 for the whole batch. Costs $0.004 USDC per call (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "calls": "<calls>"
    },
    "name": "evm_multicall"
  }
}

Input Schema

NameRequiredDescriptionDefault
blockNoblock number, default latest
callsYesup to 50 of {to, fn, args}
chainNobase (default), ethereum, arbitrum, optimism, polygon

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations cover only readOnly and openWorld, so the description carries the rest and does so well: atomic same-block execution via Multicall3, per-call revert isolation instead of whole-batch failure, no ABI upload, and x402 payment. Its only flaw is a redundant, slightly inconsistent pricing pair ('$0.004 for the whole batch' vs 'Costs $0.004 USDC per call').

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

Conciseness4/5

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

One front-loaded paragraph that leads with the capability, then mechanics, then chains and cost. It loses a point for restating pricing twice in conflicting terms and for a mild run-on density that could be split into a limit sentence and a payment sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the definition still explains the return shape ('each result decoded to JSON, or the revert for that call alone'), which is the key thing an agent needs. Remaining gaps are minor: no note on batch-level failure modes, partial decode failures, or page/response size.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and block/chain defaults are already documented there, but the schema declares calls items as a bare object with no sub-fields. The description compensates by defining the {to, fn, args} shape, the 50-item ceiling, and the plain-signature format ('balanceOf(address) returns (uint256)'), which is real added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: 'Read up to 50 contract view functions in one call, decoded'. It also distinguishes itself from raw alternatives implicitly ('No ABI files, no RPC key'), though it never names a sibling tool such as rpc or encode.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

It clearly states the context for use — batching view calls against one block across five named chains — and gives cost/payment conditions. It stops short of explicit exclusions (e.g., use rpc for a single call, or when you need state-changing transactions).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources