Skip to main content
Glama

MACH Base

base_eth_call

Execute one read-only eth_call against a Base contract at a chosen block tag. Costs $0.005 USDC via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
dataYes
blockNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the burden and does disclose that the operation is read-only and that it costs $0.005 USDC via x402. But it does not disclose return format, default block behavior, failure modes, or any ABI/decoding requirements, so coverage is partial.

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?

Two short sentences deliver operation, read-only nature, target, block tag, and pricing with no filler. Information is front-loaded and every clause earns its place.

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

Completeness2/5

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

There is no output schema and no annotation coverage, yet the description never states what an eth_call returns (raw ABI-encoded data), how that return should be decoded, or what the default block is. For a tool with three parameters and a non-trivial return type, this is a material omission.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only implies that 'to' is the contract and 'block' is a chosen block tag; 'data' is not explained as calldata or given encoding guidance. This is minimal added meaning over the raw schema.

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

Purpose5/5

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

The description names a specific verb ('Execute') and resource ('Base contract') with a precise operation ('read-only eth_call') and scope ('at a chosen block tag'). This distinguishes it from generic sibling tools like base_contract_code, base_erc20_balance, and base_logs, which target different data.

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

Usage Guidelines3/5

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

The description implies when to use it: whenever a read-only contract call is needed on Base. However, it does not explicitly mention alternatives or provide when-not-to-use guidance despite a large sibling list, leaving route selection to inference.

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