Skip to main content
Glama

ASPERN: counterparty checks for agents

Exit window: out before or after the largest holders

vault_exit_window
Read-onlyIdempotent

Can I still get out if the big holders leave first? For one vault: what can be withdrawn now, what would be left if its largest holder and its five largest holders left first, how many of them it takes to empty the instant exit, who they are where an operator names them (Spark, Grove liquidity layers), and the run across markets: other tracked vaults lending into the same markets and the pro-rata exit if all of them withdrew at once. With position (USD) and address: the share of your position that could leave now, after the largest holder, after the five largest. Without vault: the vaults it takes the fewest holders to empty, tightest first. Queues and locks are said apart. A scenario under stated assumptions, not a forecast. FREE.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vault_exit_window"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoWithout vault: how many vaults (default 20, at most 200).
vaultNoA vault slug or id. Omit for the tightest vaults.
addressNoWith position: your address, so you are not counted among the holders ahead of you.
positionNoWith vault: your position in USD.

Output Schema

NameRequiredDescriptionDefault
metaNoHow current this answer is and what it was read from: `freshness` and the ages behind it. Present on every answer from this server, whatever the tool.
vaultNowithdrawableUsd, afterLargestUsd, afterTop5Usd, holdersToEmpty, largest, ahead, run, mechanic, says.
vaultsNoWithout vault: the tightest vaults first.
assumesYesThe scenario’s assumptions.
positionNonow, afterLargest, afterTop5 (shares of your position, 0..1), holdersAheadToBlock.
warningsNoAnything the server wants a caller to know about THIS answer before acting on it. Empty is the normal case and is not a guarantee.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world behavior, so the description's added value is the caveats: 'a scenario under stated assumptions, not a forecast', that queues and locks are reported separately, and that holder identities exist only where an operator names them (Spark, Grove liquidity layers) — a useful disclosure of data coverage limits. It says nothing about pagination, latency, or result size, and 'FREE' is a minor cost note rather than behavioral context.

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

Conciseness3/5

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

The scoping question is front-loaded and every clause carries content, but it is one long multi-clause sentence chain that mixes purpose, modes, caveats, and pricing. A short structured breakdown of the three input modes would be easier to scan than the current run-on.

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

Completeness3/5

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

This is a complex, multi-mode analytical tool, and the description does cover all three modes, the assumption caveat, and holder-identity coverage limits; an output schema exists so return values need not be explained. What is missing is any linkage to sibling tools that would let an agent choose correctly in a crowded exit-analysis family.

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 coverage is 100%, so the schema already documents all four parameters, including the limit default and the vault/address/position roles. The description adds interpretive meaning — e.g. that address exists so you are not counted among holders ahead of you, and that position yields the share of your position able to exit at each threshold — but largely restates what the schema fields say.

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 concretely defines the computation: what can be withdrawn now, what remains if the largest holder or five largest holders left first, how many holders it takes to drain the instant exit, and the cross-market pro-rata exit. That is a specific, unambiguous resource and analysis. It does not, however, differentiate itself from nearby siblings such as vault_exits, vault_exit_confidence, or exit_screen, and the question-style opening is less front-loaded than a verb+resource statement.

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?

It gives explicit mode selection by input shape: with vault, with vault+position+address, and without vault (tightest vaults first). The leading question establishes the motivating scenario. However, it never says when to prefer this over the several other exit-related siblings, nor does it state exclusions.

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.