Skip to main content
Glama
routemesh

RouteMesh MCP Server

Official
by routemesh

Call contract

rpc_call_contract

Execute read-only smart contract calls on any EVM chain by sending pre-encoded calldata, returning data without modifying state.

Instructions

Execute a read-only contract call via eth_call using pre-encoded calldata.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
gasNo
dataYes
fromNo
valueNo
chainIdYesEVM chain ID (for example 1 for Ethereum mainnet)
blockTagNolatest
gasPriceNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description must carry the full behavioral burden. It does disclose the key trait: the call is read-only and uses eth_call. However, it does not mention what happens on revert, whether the response is raw ABI-encoded output, or how gas/from parameters may affect the call.

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?

The description is a single, front-loaded sentence with no filler. Every word adds information: read-only, contract call, eth_call, pre-encoded calldata. It is appropriately concise for a tool that relies on its schema for parameter details.

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?

Given the tool has 8 parameters, no output schema, no annotations, and sparse parameter descriptions, a single sentence is insufficient. There is no guidance on return value format, error behavior, or how this tool relates to sibling tools like rpc_call. The description is too thin to fully support correct invocation.

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 only 13%, so the description should compensate. It adds some meaning to 'data' by calling it 'pre-encoded calldata', but it gives no explanation for 'to', 'from', 'gas', 'value', 'blockTag', or 'gasPrice'. Most parameter semantics are left to the agent to infer from names and patterns.

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 states a specific action ('Execute'), a specific resource ('contract call'), and the exact mechanism ('via eth_call using pre-encoded calldata'). It also clarifies that the call is read-only, which distinguishes it from transaction-sending tools and from the more generic sibling 'rpc_call'.

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 the tool is for read-only contract calls with calldata already encoded, giving some usage context. However, it does not explicitly say when to choose this over sibling tools like rpc_call or rpc_get_balance, nor does it state when not to use it (e.g., for state-changing transactions).

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/routemesh/routemesh-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server