Skip to main content
Glama

AgentFeed

get_exit_quote

EXIT LIQUIDITY on seized collateral: what a liquidator ACTUALLY realises selling a Kamino reserve into live routing, versus the oracle price the protocol marks it at. Returns max_exitable_usd (largest clip whose liquidator margin is still positive, found by bisection, with its resolution width), the exitable fraction, the conservative bound at the 2% penalty floor, and for the nearest clip actually probed: realised USD, haircut bps and liquidator margin bps. Distinguishes a router that REFUSES to quote a token (permissioning, not illiquidity) from a book with no route (a real liquidity finding) - they are different facts and were one status until this split. A terminal verdict requires six consecutive agreeing observations from the symbol's own tape, so a single bad quote cannot produce a finding; withheld verdicts fall back to the last corroborated measurement with its age rather than returning null. Zero bad debt today does not disprove any of this - it means nobody has been forced to test it at size. Method, corroboration rules and row counts are free via get_exit_method. Costs $0.02 USDC per call (x402, Solana mainnet).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesreserve symbol e.g. SPYx, cbBTC, FWDI, CRCLx (get_exit_method lists all covered)
size_usdNoclip size in USD you would need to exit; the nearest MEASURED clip is returned, never interpolated

Schema Changelog

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

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

With no annotations provided, the description fully carries the burden of behavioral disclosure. It reveals the $0.02 USDC per-call cost, the six-consecutive-observation terminal verdict rule, fallback to the last corroborated measurement instead of null, and the status split between permissioning and actual illiquidity.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is long but dense, with the core purpose front-loaded and each sentence adding a specific detail. Some rhetorical asides, such as the zero-bad-debt caveat, are not strictly needed for invocation but contribute interpretive context. Overall it is structured and not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with no output schema, the description enumerates returned metrics, explains behavior around bad quotes and fallback, states the cost, and references the sibling for deeper methodology. An agent has enough information to call the tool correctly and interpret the result.

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 both parameters (symbol and size_usd). The description reinforces that the nearest measured clip is returned and never interpolated, but this is also present in the schema, adding minimal new value.

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 the tool measures exit liquidity on seized collateral, contrasting realised liquidation proceeds against the oracle mark price. It names specific returned fields and distinguishes router-refusal from true illiquidity, which clearly separates it from siblings like get_dex_quote or get_exit_method.

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 description gives clear context for when this tool is relevant: assessing what a liquidator actually realises when selling seized Kamino reserves. It explicitly points to get_exit_method for methodology and corroboration rules, though it does not enumerate exclusions or when to prefer a sibling like get_dex_quote.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.6/5.0
Disambiguation3/5

Many tools are tightly scoped and cross-referenced, but the set contains overlapping families: liquidation tools (alert/scan/history/stats/leaders/recent/heatmap) and redundant snapshots like get_market_snapshot vs get_trade_context, get_last_liquidation vs get_recent_liquidations, and get_cascade_forecast_free vs get_cascade_forecast. Agents will need to read descriptions carefully to avoid misselection.

Naming Consistency4/5

All tool names follow a consistent get_<domain>_<detail> snake_case pattern, which makes the API predictable. The only real deviations are the bare 'pricing' tool and the 'free' suffix on taster variants.

Tool Count1/5

At 52 tools, this far exceeds the 3-15 well-scoped range and crosses the 50-tool extreme threshold. The count is inflated by numerous paid/free taster pairs and many overlapping liquidation variants.

Completeness4/5

The surface covers prices, funding, open interest, orderbooks, liquidations, wallet/token data, Solana network health, DeFi TVL, and stablecoin flows—broad coverage for a crypto data feed. Gaps like historical OHLC/price candles, a machine-readable symbol list, and pagination endpoints are workable around but would round it out.