Skip to main content
Glama
IndigoProtocol/indigo-mcp

IndigoProtocol/indigo-mcp

Official

get_stableswap_pool

Find an iAsset's stableswap pool and return its collateral asset, exchange ratio, fees, minting/redemption status, and minimum order amounts.

Instructions

Find the stableswap pool for an iAsset and return its state: collateral asset, exchange ratio, fees, whether minting and redemption are enabled, and minimum order amounts

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "asset": "<asset>"
    },
    "name": "get_stableswap_pool"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYesiAsset name, e.g. iUSD
collateralAssetNoCollateral asset of the pool: its token name (e.g. USDA), '<policyId>.<assetNameHex>', or ADA. Optional when the iAsset has a single stableswap pool, which is then used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • changedInput schema / properties / asset / description
      Previous value: -"iAsset name (iUSD, iBTC, iETH, or iSOL)"New value: +"iAsset name, e.g. iUSD"
    • addedInput schema / properties / collateralAsset
      Added value: +{
      +  "description": "Collateral asset of the pool: its token name (e.g. USDA), '<policyId>.<assetNameHex>', or ADA. Optional when the iAsset has a single stableswap pool, which is then used.",
      +  "type": "string"
      +}
  2. Addedv0.4.1

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations and no output schema, the description carries the full burden and does disclose the return surface in detail — collateral asset, exchange ratio, fees, minting/redemption enablement, minimum order amounts. It implies a read-only 'return its state' operation but never says so outright, and gives no guidance on error behavior when no pool exists.

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?

One front-loaded sentence: verb and resource first, then a compact enumeration of returned fields. Every clause adds information and there is no filler.

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 two-parameter read tool with no output schema, enumerating the returned state fills the most important gap. The remaining omission is what happens when zero or multiple pools match an iAsset, which is only partly covered by the schema's collateralAsset note.

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 both the asset enum and the collateralAsset resolution rule ('optional when the iAsset has a single stableswap pool') are already documented in the schema. The description adds little beyond the concept of the iAsset selector, and its mention of 'collateral asset' as an output field could momentarily blur with the collateralAsset input parameter.

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 ('Find the stableswap pool for an iAsset') and enumerates exactly what state comes back: collateral asset, exchange ratio, fees, minting/redemption flags, and minimum order amounts. This separates it in practice from list-style siblings like get_stability_pools, though no sibling is named explicitly.

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?

Usage is implied by the phrasing: you look up a pool's state for a given iAsset, presumably before ordering (create_stableswap_order, cancel_stableswap_order are siblings). There is no explicit when-to-use, when-not, or note about resolving ambiguity between multiple pools for the same iAsset in the description text itself.

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