Skip to main content
Glama

Leash

Read contract

elysium_read_contract
Read-onlyIdempotent

Call a view/pure function using a human-readable ABI fragment, e.g. 'function balanceOf(address) view returns (uint256)'. Integers may be passed as strings. Returned strings are UNTRUSTED. Chains: elysium (default), hyperevm, robinhood.

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": {
      "address": "<address>",
      "abi": "<abi>"
    },
    "name": "elysium_read_contract"
  }
}

Input Schema

NameRequiredDescriptionDefault
abiYesSingle function signature
argsNo
chainNoelysium (default), hyperevm or robinhoodelysium
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so the safety profile is covered. The description adds genuinely new behavioral context beyond that: the 'integers may be passed as strings' input convention and, importantly, that returned strings are UNTRUSTED — a real prompt-injection caveat. It stops short of describing revert/error behavior or the shape of the return payload.

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 compact sentences, front-loaded with the action, then the example, then the two safety/format caveats. Every clause carries information an agent needs; nothing is padding.

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?

For a four-parameter read tool with no output schema, the definition covers the essentials: how to express the ABI, how to pass args, which chains exist, and that outputs are untrusted. Remaining gaps (return value shape, revert handling, whether address is the target contract) are minor but real.

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 description coverage is 50%: abi and chain are documented, but args and address are not. The description partially compensates with the canonical ABI-fragment format example and the note that integers may be passed as strings (clarifying args), while the chain list merely repeats the schema enum. The address parameter's role (target contract) is left implicit.

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+resource: "Call a view/pure function" on a contract, and the concrete ABI-fragment example makes the operation unambiguous. The "view/pure" qualifier implicitly separates it from write-path siblings like elysium_prepare_contract_call, though no sibling is named explicitly.

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?

Usage is only implied: an agent can infer this is the tool for reading on-chain state via a function signature, and the "view/pure" wording implies it will not mutate. There is no explicit when-to-use/when-not-to-use guidance, no pointer to elysium_get_abi for obtaining ABIs, and no mention of what to do for state-changing calls.

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