Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CARDANO_CLI_PATHNoPath to the CLI binary. Set to 'torsten-cli' for Torsten nodes.cardano-cli
CARDANO_TESTNET_MAGICNoTestnet magic number (e.g., '1' for preprod, '2' for preview). Leave unset for mainnet.
CARDANO_NODE_SOCKET_PATHNoPath to the cardano-node Unix domain socket.node.sock

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
cardano_query_tipA

Query the current tip of the blockchain including slot, block number, epoch, and sync progress.

cardano_query_utxoA

Query UTxO entries. Filter by address and/or specific transaction inputs.

Args:

  • address (string, optional): Bech32 address to query UTxOs for

  • tx_ins (string[], optional): Specific UTxO references in format "tx_hash#index"

At least one of address or tx_ins must be provided.

Returns: UTxO set as formatted text.

cardano_query_protocol_parametersB

Query current protocol parameters. Optionally write to a file for use in transaction fee calculation.

Args:

  • out_file (string, optional): File path to write protocol parameters JSON to

Returns: Protocol parameters as JSON.

cardano_query_stake_distributionB

Query the current stake distribution across all stake pools.

cardano_query_stake_address_infoB

Query information about a stake address including delegation and rewards.

Args:

  • address (string): Bech32 stake address to query

Returns: Stake address info including delegation and reward balance.

cardano_query_gov_stateB

Query the current governance state including proposals, DReps, and committee info.

cardano_query_drep_stateB

Query DRep (Delegated Representative) state. Optionally filter by DRep key hash.

Args:

  • drep_key_hash (string, optional): Hex-encoded DRep key hash to filter by

Returns: DRep state information.

cardano_query_committee_stateB

Query the current constitutional committee state.

cardano_query_tx_mempoolA

Query the transaction mempool. Supports three subcommands: info (mempool stats), next-tx (next transaction), has-tx (check if a specific tx is in mempool).

Args:

  • subcmd (string): One of "info", "next-tx", "has-tx" (default: "info")

  • tx_id (string, optional): Transaction ID hash for has-tx subcommand

Returns: Mempool information based on subcommand.

cardano_query_stake_poolsA

Query all registered stake pool IDs.

cardano_query_stake_snapshotB

Query stake snapshots (mark, set, go). Optionally filter by stake pool ID.

Args:

  • stake_pool_id (string, optional): Bech32 or hex stake pool ID

Returns: Stake snapshot data.

cardano_query_pool_paramsB

Query stake pool parameters. Optionally filter by stake pool ID.

Args:

  • stake_pool_id (string, optional): Bech32 or hex stake pool ID

Returns: Pool parameter details.

cardano_query_treasuryA

Query the current treasury and reserves balances.

cardano_query_constitutionB

Query the current on-chain constitution.

cardano_query_ratify_stateC

Query the current governance ratification state.

cardano_query_leadership_scheduleA

Calculate the leadership schedule for a stake pool operator.

Args:

  • vrf_signing_key_file (string): Path to VRF signing key file

  • epoch_nonce (string): 64-character hex epoch nonce

  • epoch_start_slot (number): Slot number at the start of the epoch

  • epoch_length (number, optional): Epoch length in slots (default: 432000)

  • relative_stake (number): Pool's relative stake as a decimal (e.g., 0.001)

  • active_slot_coeff (number, optional): Active slot coefficient (default: 0.05)

Returns: List of slots where the pool is elected to produce blocks.

cardano_address_key_genB

Generate a payment address key pair (verification key and signing key).

Args:

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

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

Returns: Confirmation that keys were generated.

cardano_address_key_hashB

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.

cardano_address_buildB

Build a Cardano address from verification keys.

Args:

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

  • stake_verification_key_file (string, optional): Path to stake verification key file (for base addresses)

  • out_file (string, optional): File path to write the address to

Returns: The bech32 address.

cardano_address_infoC

Decode and display information about a Cardano address.

Args:

  • address (string): Bech32-encoded Cardano address

Returns: Address type, network, and credential information.

cardano_key_generate_paymentC

Generate a payment signing and verification key pair.

Args:

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

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

Returns: Confirmation that keys were generated.

cardano_key_generate_stakeB

Generate a stake signing and verification key pair.

Args:

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

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

Returns: Confirmation that keys were generated.

cardano_key_verification_hashB

Get the hash of a verification key.

Args:

  • verification_key_file (string): Path to the verification key file

Returns: The key hash as hex string.

cardano_transaction_buildA

Build a transaction body. Supports inputs, outputs, change address, fees, TTL, certificates, withdrawals, metadata, collateral, required signers, and minting.

Args:

  • tx_ins (string[]): Transaction inputs in format "tx_hash#index"

  • tx_outs (string[]): Transaction outputs in format "address+amount" (amount in lovelace, or "address+amount+multi_asset")

  • change_address (string, optional): Address to send change to (required for auto-balancing)

  • fee (number, optional): Transaction fee in lovelace (if omitted, auto-calculated when change_address provided)

  • ttl (number, optional): Transaction time-to-live (slot number)

  • certificate_files (string[], optional): Paths to certificate files to include

  • withdrawals (string[], optional): Stake withdrawals in format "stake_address+amount"

  • metadata_json_file (string, optional): Path to metadata JSON file

  • tx_in_collateral (string[], optional): Collateral inputs in format "tx_hash#index"

  • required_signer_hashes (string[], optional): Required signer key hashes

  • mint (string[], optional): Minting operations in format "policy_id.asset_name+/-quantity"

  • out_file (string): Output path for the transaction body file

Returns: Confirmation with estimated fee (if auto-calculated).

cardano_transaction_signC

Sign a transaction body with one or more signing keys.

Args:

  • tx_body_file (string): Path to the transaction body file

  • signing_key_files (string[]): Paths to signing key files

  • out_file (string): Output path for the signed transaction

Returns: Confirmation that transaction was signed.

cardano_transaction_submitB

Submit a signed transaction to the blockchain via the node.

Args:

  • tx_file (string): Path to the signed transaction file

Returns: Confirmation that the transaction was submitted, or validation error details.

cardano_transaction_txidA

Get the transaction ID (hash) from a transaction file.

Args:

  • tx_file (string): Path to the transaction file (signed or unsigned)

Returns: The transaction ID as hex string.

cardano_transaction_calculate_min_feeA

Calculate the minimum fee for a transaction.

Args:

  • tx_body_file (string): Path to the transaction body file

  • witness_count (number, optional): Number of witnesses (default: 1)

  • protocol_params_file (string): Path to protocol parameters JSON file

Returns: The minimum fee in lovelace.

cardano_transaction_viewB

Display the contents of a transaction file in human-readable format.

Args:

  • tx_file (string): Path to the transaction file

Returns: Transaction details.

cardano_transaction_witnessB

Create a witness for a transaction body using a signing key.

Args:

  • tx_body_file (string): Path to the transaction body file

  • signing_key_file (string): Path to the signing key file

  • out_file (string): Output path for the witness file

Returns: Confirmation that witness was created.

cardano_transaction_assembleC

Assemble a transaction from a body and witness files.

Args:

  • tx_body_file (string): Path to the transaction body file

  • witness_files (string[]): Paths to witness files

  • out_file (string): Output path for the assembled signed transaction

Returns: Confirmation that transaction was assembled.

cardano_transaction_policyidB

Compute the policy ID from a minting policy script file.

Args:

  • script_file (string): Path to the minting policy script file

Returns: The policy ID as hex string.

cardano_stake_address_key_genC

Generate a stake address key pair.

Args:

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

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

cardano_stake_address_buildB

Build a stake address from a stake verification key.

Args:

  • stake_verification_key_file (string): Path to stake verification key file

  • out_file (string, optional): File path to write the address to

Returns: The bech32 stake address.

cardano_stake_address_registration_certificateC

Create a stake address registration certificate.

Args:

  • stake_verification_key_file (string): Path to stake verification key file

  • key_reg_deposit_amt (number, optional): Key registration deposit amount in lovelace (Conway era)

  • out_file (string): Output path for the certificate file

cardano_stake_address_deregistration_certificateB

Create a stake address deregistration certificate.

Args:

  • stake_verification_key_file (string): Path to stake verification key file

  • key_reg_deposit_amt (number, optional): Key registration deposit amount in lovelace (Conway era)

  • out_file (string): Output path for the certificate file

cardano_stake_address_delegation_certificateB

Create a stake delegation certificate to delegate to a stake pool.

Args:

  • stake_verification_key_file (string): Path to stake verification key file

  • stake_pool_id (string): Bech32 or hex stake pool ID to delegate to

  • out_file (string): Output path for the certificate file

cardano_stake_address_vote_delegation_certificateB

Create a vote delegation certificate to delegate voting power to a DRep, or to always abstain/no-confidence.

Args:

  • stake_verification_key_file (string): Path to stake verification key file

  • drep_verification_key_file (string, optional): Path to DRep verification key file

  • always_abstain (boolean, optional): Delegate to always-abstain

  • always_no_confidence (boolean, optional): Delegate to always-no-confidence

  • out_file (string): Output path for the certificate file

Exactly one of drep_verification_key_file, always_abstain, or always_no_confidence must be provided.

cardano_stake_pool_key_genC

Generate stake pool cold key pair and operational certificate counter.

Args:

  • cold_verification_key_file (string): Output path for the cold verification key

  • cold_signing_key_file (string): Output path for the cold signing key

  • operational_certificate_counter_file (string): Output path for the op cert counter

cardano_stake_pool_idA

Get the pool ID from a cold verification key.

Args:

  • cold_verification_key_file (string): Path to the cold verification key file

Returns: The pool ID as bech32 string.

cardano_stake_pool_vrf_key_genC

Generate a VRF (Verifiable Random Function) key pair for a stake pool.

Args:

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

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

cardano_stake_pool_kes_key_genC

Generate a KES (Key Evolving Signature) key pair for a stake pool.

Args:

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

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

cardano_stake_pool_issue_op_certC

Issue an operational certificate for a stake pool.

Args:

  • kes_verification_key_file (string): Path to KES verification key file

  • cold_signing_key_file (string): Path to cold signing key file

  • operational_certificate_counter_file (string): Path to op cert counter file

  • kes_period (number): Current KES period

  • out_file (string): Output path for the operational certificate

cardano_stake_pool_retirement_certificateC

Create a stake pool retirement certificate.

Args:

  • cold_verification_key_file (string): Path to cold verification key file

  • epoch (number): Epoch in which the pool will be retired

  • out_file (string): Output path for the certificate file

cardano_stake_pool_registration_certificateB

Create a stake pool registration certificate with full pool parameters.

Args:

  • cold_verification_key_file (string): Path to cold verification key file

  • vrf_verification_key_file (string): Path to VRF verification key file

  • pledge (number): Pledge amount in lovelace

  • cost (number): Fixed cost per epoch in lovelace

  • margin (number): Pool margin (0.0 to 1.0)

  • reward_account_verification_key_file (string): Path to reward account verification key

  • pool_owner_verification_key_files (string[]): Paths to pool owner verification keys

  • pool_relay_ipv4 (string[], optional): IPv4 relays in format "IP:port"

  • single_host_pool_relay (string[], optional): DNS relays in format "hostname:port"

  • multi_host_pool_relay (string[], optional): Multi-host DNS relays

  • metadata_url (string, optional): Pool metadata URL

  • metadata_hash (string, optional): Pool metadata hash (hex)

  • out_file (string): Output path for the certificate file

cardano_governance_drep_key_genB

Generate a DRep (Delegated Representative) key pair.

Args:

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

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

cardano_governance_drep_idB

Get the DRep ID from a verification key file.

Args:

  • drep_verification_key_file (string): Path to DRep verification key file

  • output_format (string, optional): Output format: "bech32" (default) or "hex"

Returns: The DRep ID.

cardano_governance_drep_registration_certificateC

Create a DRep registration certificate.

Args:

  • drep_verification_key_file (string): Path to DRep verification key file

  • key_reg_deposit_amt (number): Registration deposit in lovelace

  • anchor_url (string, optional): DRep metadata anchor URL

  • anchor_data_hash (string, optional): DRep metadata anchor data hash

  • out_file (string): Output path for the certificate

cardano_governance_drep_retirement_certificateB

Create a DRep retirement certificate.

Args:

  • drep_verification_key_file (string): Path to DRep verification key file

  • deposit_amt (number): Deposit refund amount in lovelace

  • out_file (string): Output path for the certificate

cardano_governance_drep_update_certificateC

Create a DRep update certificate to update anchor metadata.

Args:

  • drep_verification_key_file (string): Path to DRep verification key file

  • anchor_url (string, optional): Updated anchor URL

  • anchor_data_hash (string, optional): Updated anchor data hash

  • out_file (string): Output path for the certificate

cardano_governance_vote_createA

Create a governance vote file for a governance action.

Args:

  • governance_action_tx_id (string): Transaction ID of the governance action

  • governance_action_index (number): Index of the governance action in the transaction

  • vote (string): Vote choice: "yes", "no", or "abstain"

  • drep_verification_key_file (string, optional): Path to DRep verification key (for DRep voter)

  • cold_verification_key_file (string, optional): Path to cold verification key (for SPO voter)

  • cc_hot_verification_key_file (string, optional): Path to CC hot verification key (for CC voter)

  • anchor_url (string, optional): Vote rationale anchor URL

  • anchor_data_hash (string, optional): Vote rationale anchor data hash

  • out_file (string): Output path for the vote file

Exactly one voter key file must be provided (DRep, SPO, or CC).

cardano_governance_action_create_infoA

Create an informational governance action (no on-chain effect, used for signaling).

Args:

  • anchor_url (string): Anchor URL for the action metadata

  • anchor_data_hash (string): Anchor data hash

  • deposit (number): Governance action deposit in lovelace

  • return_addr (string): Bech32 stake address for deposit return

  • out_file (string): Output path for the action file

cardano_governance_action_create_no_confidenceB

Create a motion of no confidence in the current constitutional committee.

Args:

  • anchor_url (string): Anchor URL

  • anchor_data_hash (string): Anchor data hash

  • deposit (number): Deposit in lovelace

  • return_addr (string): Stake address for deposit return

  • prev_governance_action_tx_id (string, optional): Previous governance action tx ID

  • prev_governance_action_index (number, optional): Previous governance action index

  • out_file (string): Output path

cardano_governance_action_create_constitutionB

Create a new constitution governance action.

Args:

  • anchor_url (string): Anchor URL

  • anchor_data_hash (string): Anchor data hash

  • deposit (number): Deposit in lovelace

  • return_addr (string): Stake address for deposit return

  • constitution_url (string): Constitution document URL

  • constitution_hash (string): Constitution document hash

  • constitution_script_hash (string, optional): Guardian script hash

  • prev_governance_action_tx_id (string, optional): Previous action tx ID

  • prev_governance_action_index (number, optional): Previous action index

  • out_file (string): Output path

cardano_governance_action_create_hard_forkC

Create a hard fork initiation governance action.

Args:

  • anchor_url (string): Anchor URL

  • anchor_data_hash (string): Anchor data hash

  • deposit (number): Deposit in lovelace

  • return_addr (string): Stake address for deposit return

  • protocol_major_version (number): Target major protocol version

  • protocol_minor_version (number): Target minor protocol version

  • prev_governance_action_tx_id (string, optional): Previous action tx ID

  • prev_governance_action_index (number, optional): Previous action index

  • out_file (string): Output path

cardano_governance_action_hash_anchor_dataA

Compute the hash of anchor data from a file.

Args:

  • file_binary (string, optional): Path to binary file to hash

  • file_text (string, optional): Path to text file to hash

Exactly one of file_binary or file_text must be provided.

Returns: The blake2b-256 hash of the file contents.

cardano_governance_action_create_protocol_params_updateC

Create a governance action to update protocol parameters.

Args:

  • anchor_url (string): Anchor URL

  • anchor_data_hash (string): Anchor data hash

  • deposit (number): Deposit in lovelace

  • return_addr (string): Stake address for deposit return

  • protocol_parameters_update (string): Path to JSON file with parameter updates

  • constitution_script_hash (string, optional): Guardian script hash

  • prev_governance_action_tx_id (string, optional): Previous action tx ID

  • prev_governance_action_index (number, optional): Previous action index

  • out_file (string): Output path

cardano_governance_action_create_update_committeeC

Create a governance action to update the constitutional committee.

Args:

  • anchor_url (string): Anchor URL

  • anchor_data_hash (string): Anchor data hash

  • deposit (number): Deposit in lovelace

  • return_addr (string): Stake address for deposit return

  • threshold (string): Quorum threshold as "numerator/denominator"

  • remove_cc_cold_verification_key_hashes (string[], optional): CC member key hashes to remove

  • add_cc_cold_verification_key_hashes (string[], optional): CC members to add as "key_hash,expiry_epoch"

  • prev_governance_action_tx_id (string, optional): Previous action tx ID

  • prev_governance_action_index (number, optional): Previous action index

  • out_file (string): Output path

cardano_governance_action_create_treasury_withdrawalB

Create a governance action to withdraw funds from the treasury.

Args:

  • anchor_url (string): Anchor URL

  • anchor_data_hash (string): Anchor data hash

  • deposit (number): Deposit in lovelace

  • return_addr (string): Stake address for deposit return

  • funds_receiving_stake_verification_key_file (string): Path to stake verification key of funds recipient

  • transfer (number): Amount to withdraw in lovelace

  • out_file (string): Output path

cardano_node_key_genB

Generate node cold key pair and operational certificate counter.

Args:

  • cold_verification_key_file (string): Output path for the cold verification key

  • cold_signing_key_file (string): Output path for the cold signing key

  • operational_certificate_counter_file (string): Output path for the op cert counter

cardano_node_key_gen_kesB

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

cardano_node_key_gen_vrfB

Generate VRF (Verifiable Random Function) key pair for a block-producing node.

Args:

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

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

cardano_node_issue_op_certC

Issue an operational certificate for a block-producing node.

Args:

  • kes_verification_key_file (string): Path to KES verification key file

  • cold_signing_key_file (string): Path to cold signing key file

  • operational_certificate_counter_file (string): Path to op cert counter file

  • kes_period (number): Current KES period

  • out_file (string): Output path for the operational certificate

cardano_node_new_counterB

Create a new operational certificate counter with a specified value.

Args:

  • cold_verification_key_file (string): Path to cold verification key file

  • counter_value (number): Counter value to set

  • operational_certificate_counter_file (string): Output path for the counter file

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 64 tools

Disambiguation2/5

Several tool pairs appear to perform identical or near-identical operations, such as cardano_address_key_gen vs cardano_key_generate_payment, cardano_stake_address_key_gen vs cardano_key_generate_stake, and the stake-pool/node key duplication (e.g., cardano_stake_pool_key_gen vs cardano_node_key_gen). While many query and governance tools are distinct, these overlapping boundaries make misselection likely.

Naming Consistency3/5

All names use snake_case with a cardano_ prefix, but ordering conventions are inconsistent: some use domain_action (cardano_transaction_build), others use action_domain (cardano_key_generate_payment), and some duplicate concepts use different patterns. The names are still mostly readable, but the mixed verb/noun ordering reduces predictability.

Tool Count2/5

64 tools is far beyond the typical 3-15 range and includes many redundant or alias-like commands that could be consolidated. The Cardano node domain is broad, so some scale is justified, but the set feels heavy and over-provisioned for a single MCP server.

Completeness4/5

The surface covers a wide range of Cardano node operations: queries, address/key generation, transaction lifecycle, stake address/pool management, governance actions, and DRep operations. Only minor gaps or redundancies are present, so agents can accomplish most intended workflows.

Maintenance

ActivityInactive
ResponsivenessNo issues