Skip to main content
Glama

Generate Node KES Keys

cardano_node_key_gen_kes

Generate a KES key pair for a Cardano block-producing node by writing the verification and signing keys to specified output files.

Instructions

Generate KES (Key Evolving Signature) key pair for a block-producing node.

Args:

  • verification_key_file (string): Output path for the KES verification key

  • signing_key_file (string): Output path for the KES signing key

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
signing_key_fileYesOutput path for the KES signing key
verification_key_fileYesOutput path for the KES verification key

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the agent knows this is a non-destructive, non-idempotent write operation. The description adds that it generates a key pair for a block-producing node, which is useful context, but it doesn't mention overwrite behavior, key storage security, or whether files are created if they don't exist. With annotations covering safety, a 3 is appropriate.

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 front-loaded with the core purpose and then lists parameters, though the parameter list duplicates schema information without adding value. It is concise overall but the Args section is redundant given the schema.

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 two-parameter key generation tool with no output schema and full annotation coverage, the description is minimally adequate. It could mention what the generated keys are used for (e.g., operational certificate), whether existing files are overwritten, and how it relates to sibling key generation tools. The absence of these details leaves gaps for an agent to correctly infer usage.

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%, so both parameters are already fully documented in the schema. The description repeats the same parameter descriptions in its Args section, adding no new semantics beyond path meaning. Baseline 3 is correct when the schema does the heavy lifting.

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 specific verb and resource (generate KES key pair) and specifies the domain (block-producing node). It is distinguishable from siblings like cardano_stake_pool_kes_key_gen, though the description doesn't explicitly explain the difference between node KES keys and stake pool KES keys, which would require domain knowledge.

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?

The description implies usage by mentioning 'block-producing node', but it does not state when to use this tool versus alternatives like cardano_stake_pool_kes_key_gen or other key generation tools. The requirement for a block-producing node is implied but not framed as a condition.

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