Skip to main content
Glama

Raw contract call

evm_call

Runs any read-only contract call (eth_call) with your own calldata and returns the raw result, on five chains, with no API key and no rate limit. The escape hatch for anything the typed endpoints do not cover. $0.005 per call, paid over x402 (USDC).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesContract address to call.
dataYes0x-prefixed calldata: 4-byte selector plus encoded arguments.
fromNoOptional caller address, for calls that check msg.sender.
blockNoBlock tag or number. Defaults to latest.
chainNobase | ethereum | polygon | arbitrum | optimism.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

No annotations, so the description must carry the burden, and it does disclose key behavioral traits: read-only only, five chains, no API key, no rate limit, and a concrete price ($0.005 via x402/USDC). It does not mention auth mechanics for x402 payment or what happens on revert, which keeps it short of a 5.

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

Conciseness5/5

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

Three tight sentences, front-loaded with what it does, then the differentiator, then the cost. Zero filler; every clause carries information.

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?

Complete enough for an agent to invoke: purpose, scope, chain options (in schema), and payment model are covered. With no output schema, the description still doesn't describe the return format beyond 'raw result,' and x402 payment flow isn't explained – minor gaps against a 5-param, no-annotation tool.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents every parameter (to, data, from, block, chain). The description adds only the 'your own calldata' framing, which is useful but doesn't extend beyond the schema's own definitions. Baseline 3 is appropriate.

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

Purpose5/5

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

States a specific verb (runs a read-only eth_call), the exact resource (raw contract call with your own calldata), and the return (raw result). The line 'The escape hatch for anything the typed endpoints do not cover' sharply distinguishes it from the many typed evm_* siblings like evm_erc20_balance and evm_storage.

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

Usage Guidelines4/5

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

Clear context: use this when the typed endpoints don't cover a call, i.e., when you have raw calldata. It implies the alternative (typed siblings) but doesn't name any specific one or spell out exclusions such as calling write methods.

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