Skip to main content
Glama

Get Address Key Hash

cardano_address_key_hash
Read-onlyIdempotent

Generate the hexadecimal hash of a Cardano payment verification key by providing its file path. Use it to derive key hashes for address and credential operations.

Instructions

Get the hash of a payment verification key.

Args:

  • payment_verification_key_file (string): Path to the payment verification key file

Returns: The key hash as hex string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
payment_verification_key_fileYesPath to the payment verification key file

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds the return format ('key hash as hex string'), which is genuinely useful since there is no output schema, but says nothing about file-access requirements or failure modes.

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?

The description is short and front-loads the purpose before the Args/Returns block. The Args section duplicates the schema field description, which is minor waste but does not obscure the definition.

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, read-only derivation tool with no output schema, stating the return type (hex string) covers the main gap. What is missing is only routing versus the near-identical sibling tool and any precondition on the key file.

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 description coverage is 100% and the single parameter is fully documented in the schema; the description merely restates the same text verbatim. Baseline 3 is appropriate since it adds no meaning beyond the schema.

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 states a specific verb and resource ('Get the hash of a payment verification key'), which is unambiguous on its own. However, it does not differentiate from the very similar sibling cardano_key_verification_hash, leaving the agent to guess which one applies to a payment verification key.

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?

There is no when-to-use guidance, no prerequisites (e.g., the key file must exist locally), and no mention of alternatives such as cardano_key_verification_hash. The agent is left to infer usage entirely from the name.

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