Skip to main content
Glama
IndigoProtocol

IndigoProtocol/indigo-mcp

Official

liquidate_cdp

Liquidate undercollateralized CDPs through the stability pool by generating an unsigned Cardano transaction (CBOR hex) ready for client-side signing.

Instructions

Liquidate an undercollateralized CDP through the stability pool — builds an unsigned transaction (CBOR hex) for client-side signing

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
assetYes
addressYesUser Cardano bech32 address (addr1... or addr_test1...)
cdpTxHashYesTransaction hash of the CDP UTxO
cdpOutputIndexYesOutput index of the CDP UTxO

Schema Changelog

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

  1. Changed1 schema field changedv0.4.1
    • changedInput schema / properties / asset / enum
      Previous value: -[
      -  "iUSD",
      -  "iBTC",
      -  "iETH",
      -  "iSOL"
      -]New value: +[
      +  "iUSD",
      +  "iBTC",
      +  "iETH",
      +  "iSOL",
      +  "iEUR",
      +  "iJPY",
      +  "iADA"
      +]
  2. First observedv0.2.14

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explicitly reveals that the tool builds an unsigned transaction for client-side signing, meaning it does not submit or execute on-chain actions. It also names the stability pool mechanism, providing useful context beyond the schema.

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 fluff. It front-loads the primary action and resource, then adds the crucial implementation detail about building an unsigned CBOR hex transaction. Every word 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?

Despite having no output schema and no annotations, the description conveys the core action, the output format, and the signing workflow. It is adequate for a four-parameter tool, though it could briefly clarify which asset is being liquidated or the relationship between asset and CDP.

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 75%, so most parameters are already documented in the schema. The description does not add specific parameter-level detail, but it provides enough context to infer that address is the signer and cdpTxHash/cdpOutputIndex identify the CDP UTxO. The asset parameter's role remains somewhat ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Liquidate'), a clear resource (undercollateralized CDP), and the exact mechanism (through the stability pool). It further clarifies the deliverable as an unsigned CBOR hex transaction for client-side signing, which distinguishes it from related CDP operations like redeem_cdp or close_cdp.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'Liquidate an undercollateralized CDP' clearly implies the tool should be used when a CDP is undercollateralized and liquidation is desired. It does not explicitly name alternatives or provide exclusion criteria, but the context is clear enough for an agent to select it appropriately.

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