Skip to main content
Glama
counter-measure

Everclear MCP Server

convert_chain_id_to_name

Converts numeric chain IDs into readable blockchain names like Arbitrum or Optimism, making API responses clearer. Returns 'Unknown Chain (ID)' when the ID is not found.

Instructions

Convert a chain ID to its human-readable name.

      WORKFLOW INSTRUCTIONS:
      - Use this to make API responses more readable
      - Chain IDs are numeric strings, names are like "Arbitrum", "Optimism"
      - Returns "Unknown Chain (ID)" if chain ID not found
      
      DATA FORMATTING:
      - Always use this before displaying chain information to users
      - Combine with other tools for complete chain analysis

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainIdYesThe chain ID to convert

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the input shape (numeric strings), the fallback behavior ('Unknown Chain (ID)' if not found), and the intended display workflow. It omits any note on case sensitivity, whitespace tolerance, or whether conversion is purely local/lookup-based.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core purpose, then organized under WORKFLOW INSTRUCTIONS and DATA FORMATTING headers. Slightly verbose – 'Combine with other tools for complete chain analysis' is generic filler – but no sentence is seriously wasted.

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

Completeness5/5

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

For a one-parameter lookup tool with no annotations and no output schema, the description supplies everything needed: input format, return value shape, and fallback behavior. Nothing an agent must know to call it correctly is missing.

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?

Schema coverage is 100%, so baseline is 3; the description adds real meaning by specifying that chain IDs are numeric strings and giving concrete output examples ('Arbitrum', 'Optimism'). The schema description ('The chain ID to convert') alone would not convey the expected format.

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?

States a specific verb+resource: converting a chain ID to its human-readable name. It is clearly distinguishable from the sibling convert_tickerhash_to_name, which handles a different identifier type.

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

Usage Guidelines4/5

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

Gives clear context ('use this to make API responses more readable', 'always use this before displaying chain information'). It does not name the sibling convert_tickerhash_to_name or state when not to use this tool, so it falls short of full alternatives-based guidance.

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