Skip to main content
Glama

ethereum_net_peerCount

Idempotent

Read net_peerCount from Ethereum (eip155:1). Costs 0.002500 test USDC on eip155:84532. Preserve the private idempotencyKey for retries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes
idempotencyKeyYesPrivate random 32-byte lowercase hex recovery key. Persist before payment and reuse only for retries of this same method and params. Never publish it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare openWorld, idempotent, non-read-only behavior, and the description adds real value beyond them by disclosing the payment requirement (0.0025 test USDC on eip155:84532) and the retry-key handling rule. This is meaningful operational context an agent needs before calling, though it stops short of describing the result of 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?

Three short sentences, each earning its place: the operation first, then the cost with its settlement chain, then the retry instruction. Zero filler and correctly front-loaded.

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

Completeness3/5

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

For a zero-argument RPC read with no output schema, the description covers chain, cost, and idempotency, but never explains what the call returns (the count of connected peers). With no output schema present, that return-value context would have been the description's job, leaving a real gap.

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?

The 'params' array is fixed to zero items and needs no documentation, and the only meaningful parameter (idempotencyKey) is fully described in the schema, including its format and never-publish warning. The description's retry instruction largely restates the schema rather than adding new semantics, so this sits at the baseline.

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?

States a clear verb (read) plus a specific resource (net_peerCount) scoped to Ethereum mainnet (eip155:1), so an agent immediately knows what operation this is. It does not, however, differentiate itself from adjacent network tools such as ethereum_net_listening or ethereum_net_version, which an agent could easily confuse for this one.

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

Usage Guidelines2/5

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

The description offers no when-to-use guidance, no prerequisites, and no comparison to alternative tools in the large RPC sibling set. The only contextual information given is transactional (cost and retry key), not about choosing this tool.

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