Skip to main content
Glama
Ethereum MCP
by ETHCF

set_node_url

Configure a local or self-hosted Ethereum JSON-RPC node URL so balances, blocks, transactions, gas, and logs query the node first, with Etherscan as fallback.

Instructions

Set a local/self-hosted Ethereum node URL for JSON-RPC queries. When configured, on-chain queries (balances, blocks, transactions, gas, logs) use the node as primary source with Etherscan as fallback.

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": {
      "url": "<url>"
    },
    "name": "set_node_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesNode JSON-RPC URL (e.g. http://localhost:8545)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the global effect on on-chain query routing and the Etherscan fallback, but says nothing about persistence across sessions, whether the URL is validated/probed, what happens if the node is unreachable despite 'fallback', or whether calling it again overwrites the previous value.

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 sentences, front-loaded with the action and followed by the consequence; every clause carries information and 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 single-parameter configuration tool with no output schema or annotations, the description covers purpose and side effects adequately. The remaining gap is operational: no stated way to clear the setting or behavior on an invalid/unreachable URL.

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

Parameters4/5

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

Only one parameter exists and the schema already documents it at 100% coverage with an example. The description still adds meaning the schema lacks by constraining it to 'local/self-hosted' nodes, telling the agent this is not for hosted provider endpoints.

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 gives a specific verb ('Set a local/self-hosted Ethereum node URL') plus the downstream effect ('for JSON-RPC queries'), which separates it cleanly from the sibling configuration tools like set_etherscan_key and set_chain.

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 second sentence explains what happens once configured (node becomes primary, Etherscan fallback), which implies why an agent would call it, but there is no explicit when-to-use/when-not guidance, no prerequisites (e.g. node must be reachable, http vs ws), and no mention of how to revert to the default.

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

Deploy Server

Other Tools