Skip to main content
Glama

Base Chain Id

base_chain-id

Base mainnet chain ID (EIP-155) via eth_chainId - confirm which network you're actually talking to.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payloadYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

No annotations and no output schema, so the description carries the burden. It discloses the mechanism (eth_chainId / EIP-155), which usefully signals a non-destructive read, but it does not state the return format (hex string vs. numeric) or confirm read-only/idempotent behavior explicitly.

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?

A single front-loaded sentence with the resource first and the rationale trailing; zero filler, nothing to trim.

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 trivial getter the description is mostly adequate, but with no annotations and no output schema it should at least state what comes back (the EIP-155 chain ID value) and how it differs from base_network-info. These gaps keep it at minimum-viable.

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?

The single required parameter is an empty object (ChainIdInput with no properties), i.e. effectively a zero-argument call, so the baseline for no real params applies. The description adds nothing about the required empty payload wrapper, but there is no field-level semantics to document.

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 names a specific resource (Base mainnet chain ID), the standard (EIP-155), and the underlying method (eth_chainId), so an agent knows exactly what this returns. It does not, however, distinguish itself from the sibling base_network-info, which likely covers overlapping ground.

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?

"confirm which network you're actually talking to" implies a usage context (network verification) but gives no explicit when-to-use/when-not or any alternative routing. With base_network-info present as a sibling, the absence of differentiation leaves the agent to infer.

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.