Skip to main content
Glama

Ekubo Protocol

Decode an Ekubo pool config

decode_pool_config
Read-only

Decode the packed bytes32 extension, exact uint64 Q64 fee, concentrated/stableswap discriminator, and tick spacing or stableswap parameters. The fee is never returned as a JSON number.

Input Schema

NameRequiredDescriptionDefault
configYesbytes32 hex

Output Schema

NameRequiredDescriptionDefault
feeNo
configNo
fee_hexNo
extensionNo
pool_typeNo
type_configNo
tick_spacingNo
stableswap_paramsNo
discriminator_bit_setNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false. The description adds useful output-behavior context beyond the annotations, notably that the fee is never returned as a JSON number, which prevents an agent from expecting numeric JSON for that field. It still does not describe invalid-config handling or chain-specific behavior, but the added transparency is meaningful.

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 tightly written sentences with no filler. The decoded fields are front-loaded, and the output caveat about the fee follows immediately as relevant supporting context.

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?

The tool takes one required input param, has an output schema, and carries read-only annotations, so the description does not need to explain return shape in full. It is complete enough for an agent to call it correctly, with the fee caveat adding important completeness; only edge-case error behavior is left unmentioned.

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 single parameter is documented as 'bytes32 hex'. The description adds context about what the packed bytes32 represents internally, but does not add syntax, validation, or formatting details beyond the schema's own description, so the 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?

The description uses a specific verb and resource: decode a pool config, and enumerates the exact packed fields returned (bytes32 extension, Q64 fee, discriminator, tick spacing/stableswap parameters). That is clearly distinct from sibling tools like get_pool or decode_uniswap_v4_position_info, though it does not explicitly name or contrast an alternative.

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?

The description says what the tool decodes but gives no explicit when-to-use context, prerequisites, or alternatives such as get_pool or derive_pool_id. The agent must infer that this is for raw bytes32 configs rather than general pool lookups.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.