Skip to main content
Glama
IndigoProtocol

IndigoProtocol/indigo-mcp

Official

redeem_rob

Redeem iAssets by selecting one or more ROB positions for a given iAsset and generate an unsigned CBOR transaction for client-side signing.

Instructions

Redeem iAssets against one or more ROB positions for a given iAsset. Returns an unsigned transaction (CBOR hex) for client-side signing.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetYesiAsset being redeemed against the ROB positions
addressYesUser Cardano bech32 address
redemptionRobsYesArray of ROB positions and amounts to redeem against

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed9 schema fields changedv0.4.1
    • addedInput schema / properties / asset
      Added value: +{
      +  "description": "iAsset being redeemed against the ROB positions",
      +  "enum": [
      +    "iUSD",
      +    "iBTC",
      +    "iETH",
      +    "iSOL",
      +    "iEUR",
      +    "iJPY",
      +    "iADA"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / iassetOutputIndex
      Removed value: -{
      -  "description": "Output index of the iAsset UTxO",
      -  "type": "number"
      -}
    • removedInput schema / properties / iassetTxHash
      Removed value: -{
      -  "description": "Transaction hash of the iAsset UTxO",
      -  "type": "string"
      -}
    • removedInput schema / properties / priceOracleOutputIndex
      Removed value: -{
      -  "description": "Output index of the price oracle UTxO",
      -  "type": "number"
      -}
    • removedInput schema / properties / priceOracleTxHash
      Removed value: -{
      -  "description": "Transaction hash of the price oracle UTxO",
      -  "type": "string"
      -}
    • addedInput schema / properties / redemptionRobs / items / properties / amount
      Added value: +{
      +  "description": "Payout amount for this redemption (iAssets for buy orders, collateral for sell orders)",
      +  "type": "string"
      +}
    • removedInput schema / properties / redemptionRobs / items / properties / iAssetAmount
      Removed value: -{
      -  "description": "Amount of iAssets to redeem against this ROB",
      -  "type": "string"
      -}
    • changedInput schema / properties / redemptionRobs / items / required
      Previous value: -[
      -  "txHash",
      -  "outputIndex",
      -  "iAssetAmount"
      -]New value: +[
      +  "txHash",
      +  "outputIndex",
      +  "amount"
      +]
    • changedInput schema / required
      Previous value: -[
      -  "address",
      -  "redemptionRobs",
      -  "priceOracleTxHash",
      -  "priceOracleOutputIndex",
      -  "iassetTxHash",
      -  "iassetOutputIndex"
      -]New value: +[
      +  "address",
      +  "asset",
      +  "redemptionRobs"
      +]
  2. First observedv0.2.14

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly states the tool returns an unsigned CBOR hex transaction for client-side signing, which implies no on-chain execution and is a meaningful behavioral trait. It does not mention prerequisites or eligibility of ROB positions, but the core non-submitting behavior is transparent.

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 sentence with no filler: it front-loads the verb and resource, then states the output format and signing context. Every part 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?

The description covers the key runtime behavior that is not captured by the schema: the tool returns an unsigned transaction rather than executing a redemption. Combined with 100% schema parameter coverage, an agent can call it correctly. Minor gaps remain around eligibility of ROB positions and explicit rules for combining multiple positions.

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 baseline is 3. The description adds only loose context such as 'one or more ROB positions' for the redemptionRobs array and 'for a given iAsset' for the asset parameter, without enriching the schema-provided parameter definitions.

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 ('Redeem'), names the resource ('iAssets against one or more ROB positions'), and states the output (unsigned CBOR hex transaction). It differentiates from CDP-related siblings like redeem_cdp by targeting ROB positions, though it does not explicitly name alternative tools.

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 description implies the tool is for redeeming iAssets against ROB positions and returning a transaction for client-side signing, which gives clear context. However, it provides no explicit when-not-to-use guidance and does not mention related alternatives such as claim_rob or redeem_cdp, leaving an agent to infer the boundaries.

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

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/IndigoProtocol/indigo-mcp'

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