Skip to main content
Glama

Hedera: hederaContractIdToEvmAddress

hederaContractIdToEvmAddress
Read-onlyIdempotent

Convert a Hedera contract ID in 'shard.realm.num' format to its 0x-prefixed EVM address. No network query required.

Instructions

Convert a Hedera contract ID in '0.0.x' realm-shard-num form to its 0x-prefixed EVM address representation. Pure conversion — does not query the network.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contractIdYesHedera contract ID in 'shard.realm.num' form (e.g. '0.0.731861').

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removedv1.1.0
  3. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds meaningful behavioral context by stating 'does not query the network,' which goes beyond the annotations and reassures the agent of no network dependencies or side effects.

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?

Single sentence with the verb 'Convert' at the start, followed by concise details. Every phrase earns its place; no filler or unnecessary repetition.

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 simple conversion tool with one parameter, no output schema, and full annotations, the description is sufficient. It clearly states the input format, the output representation, and the pure nature, allowing correct selection and invocation without ambiguity.

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 coverage is 100% with a clear description of the only parameter (contractId). The tool description repeats the format '0.0.x' but does not add additional semantics beyond the schema's 'shard.realm.num' form, so it meets the baseline without enhancement.

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?

Description uses specific verb 'Convert' and identifies the exact resource transformation (Hedera contract ID in realm-shard-num form to 0x-prefixed EVM address). It implicitly distinguishes from sibling hederaAccountIdToEvmAddress by specifying 'contract ID' rather than 'account ID'.

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?

States 'Pure conversion — does not query the network,' which clarifies appropriate use for offline conversions. However, it does not explicitly mention alternative tools like hederaAccountIdToEvmAddress or provide 'when not to use' guidance, so it falls short of full exclusion.

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