Skip to main content
Glama

Eth call, HyperEVM contract call

hyperevm_call
Read-only

Read-only contract call on HyperEVM (eth_call): send ABI-encoded calldata to a contract at the latest block and get the raw return data, without a transaction or gas. Use to read any view function that has no dedicated tool (the example reads USDC totalSupply, selector 0x18160ddd); decode the result with the function's ABI. Calldata up to 8 KB; a call that reverts is 422 with the reason, uncharged. Example: to=0xb88339CB7199b77E23DB6E890353E22632Ba630f, data=0x18160ddd. Price $0.01/call via x402 USDC or a card key (/credits), first 25 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

Input Schema

NameRequiredDescriptionDefault
toYes0x contract address to call
dataYes0x ABI-encoded calldata: 4-byte selector plus arguments
fromNoOptional 0x sender address for calls that check msg.sender

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses the 8 KB calldata cap, that reverts return 422 with the reason and are uncharged, the $0.01 x402/card pricing, 25 free calls, and that repeats are billable. These are exactly the cost and failure behaviors an agent needs. It is not a 5 only because the return-data format (hex string vs. typed value) is described only loosely as 'raw return data'.

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?

Front-loaded with the operation and its purpose before pricing and limits, and the worked example sits mid-paragraph where it is easy to find. The parenthetical pricing and 'first 25 free' detail is dense but earns its place; the sentence is long and could be split for scanability.

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

Completeness5/5

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

No output schema exists, yet the description covers return shape ('raw return data', decode via ABI), error behavior (422 with revert reason), input limits (8 KB), block semantics (latest), and billing. An agent has everything needed to call it correctly and interpret failures without opening anything else.

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 `to`, `data` and the optional `from` are already documented. The description reinforces the calldata contract ('4-byte selector plus arguments', decode with the ABI) and gives a literal to/data pair, but never mentions the `from` parameter or when msg.sender-dependent calls need it. That is a baseline 3 – useful reinforcement, no new parameter semantics.

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

Purpose5/5

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

States a specific verb and resource on a specific chain: 'Read-only contract call on HyperEVM (eth_call)' that sends ABI-encoded calldata at the latest block and returns raw data. It explicitly says it is for view functions that have no dedicated tool, which separates it from hyperevm_token_balance, hyperevm_allowance and the other chain-specific siblings.

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

Usage Guidelines5/5

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

Gives an explicit inclusion rule ('Use to read any view function that has no dedicated tool') and an exclusion implication that sends routine reads to the dedicated siblings. It also supplies a concrete worked example (USDC totalSupply, selector 0x18160ddd) and tells the agent to decode with the ABI.

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