Skip to main content
Glama
hydracds

Cardexscan MCP Server

by hydracds

get_token_pools

Find available liquidity pools, DEX names, and pricing for a Cardano token pair across all DEXes to identify the best swap route.

Instructions

Get available liquidity pools for a token pair across all Cardano DEXes. Returns pool data including liquidity, DEX names, and pricing for finding the best swap routes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenInYesInput token identifier. Use 'lovelace' for ADA, or 'policyId.assetNameHex' format for native tokens
tokenOutYesOutput token identifier in 'policyId.assetNameHex' format
tokenInAmountYesAmount of input token to swap
blacklisted_dexesNoList of DEX names to exclude from results (e.g., ['Minswap', 'SundaeSwap'])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.4

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses what the call returns (liquidity, DEX names, pricing) which is real behavioral value, but it omits safety/permission requirements, rate limits, and whether results are exhaustive or paginated.

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 tight sentences, no filler. The purpose is front-loaded and the return-value context follows immediately; every clause earns its place.

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?

For a four-parameter read tool with no output schema, the description covers purpose and gives partial return-shape context. It is nearly complete, missing only auth/pagination details that a fuller definition would provide.

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 the schema already documents all four parameters including the blacklisted_dexes example. The description adds no parameter-level syntax or format detail beyond the schema, 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?

States a specific verb and resource ('Get available liquidity pools for a token pair across all Cardano DEXes') with clear scope. It doesn't explicitly name sibling alternatives like swap_aggregate or swap_build_cbor, but the discovery-vs-execution distinction is inferable.

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 phrase 'for finding the best swap routes' implies the usage context, but there is no explicit when-to-use versus sibling tools, nor any exclusions or prerequisites. Usage is implied rather than stated.

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