Skip to main content
Glama
Codex-Data

Codex MCP Server

Official
by Codex-Data

get_liquidity_metadata

Retrieve liquidity details for a pair, covering both unlocked and locked liquidity, by providing the network ID and pair contract address.

Instructions

Get liquidity metadata for a pair, including both unlocked and locked liquidity data

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYesThe pair contract address
networkIdYesThe network ID the pair is on
Behavior3/5

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

There are no annotations, so the description carries the full burden. It does add useful content disclosure by noting that both unlocked and locked liquidity data are returned, but it does not explain what 'liquidity metadata' concretely includes (e.g., amounts, time locks, formats) or any other behavioral traits like network-specific behavior or potential errors.

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?

The description is a single, front-loaded, efficient sentence that states the core purpose and a key detail in under 10 words. No filler or redundant phrases.

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?

With no output schema and no annotations, the description should offer more context about what 'unlocked and locked liquidity data' means in practice. The current text is adequate but vague, leaving the agent uncertain about the exact return shape. Given the low complexity (2 params), this is acceptable but not complete.

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%, with both 'address' and 'networkId' having clear descriptions. The tool description itself adds no extra meaning to the parameters, so the baseline of 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 specifies a clear verb ('Get') and resource ('liquidity metadata for a pair'), and adds the scope 'including both unlocked and locked liquidity data,' which helps distinguish it from sibling tools like get_liquidity_locks. However, it does not explicitly name alternatives or differentiate itself beyond that scope, so it stops short of a 5.

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 provides no guidance on when to use this tool versus alternatives such as get_pair_metadata or get_liquidity_locks. It implies usage for a specific pair, but there are no explicit exclusions, prerequisites, or alternative tool references.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Codex-Data/codex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server