Skip to main content
Glama

Query Protocol Parameters

cardano_query_protocol_parameters
Read-onlyIdempotent

Query current Cardano protocol parameters as JSON, with an option to write them to a file for transaction fee calculation.

Instructions

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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
out_fileNoFile path to write protocol parameters JSON to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior1/5

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

Annotations declare readOnlyHint=true, but the description states it can 'write to a file', which modifies the filesystem environment. This directly contradicts the read-only annotation. Without this contradiction, the annotations would have covered safety; as written, the mismatch is serious.

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?

Two concise sentences plus a structured Args/Returns block. The core purpose is front-loaded and every element earns its place.

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?

No output schema exists, and the description explicitly states the return format ('Protocol parameters as JSON'). Together with the parameter description and annotations, an agent has enough to invoke correctly.

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%, and the description's Args section repeats the schema's description verbatim. It adds no syntax, format, or example beyond what the schema already provides, so baseline 3 applies.

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: 'Query current protocol parameters.' This clearly identifies the tool's function. It does not explicitly differentiate from siblings like cardano_query_pool_params, but the resource name is distinct enough for an agent to distinguish.

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?

Only guidance is the optional file output for fee calculation. There is no explanation of when to use this query versus other query tools (e.g., pool params, treasury) or prerequisites. Usage is left to inference.

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