Skip to main content
Glama

audit_vault_exit_liquidity

Audits a single Morpho or Kamino vault for real exit liquidity, per-market allocation, withdrawable liquidity, collateral depeg bad-debt stress, and proxy/curator governance risks.

Instructions

Perform a deep deterministic audit of a single Morpho (Ethereum/Base) or Kamino (Solana) vault: per-market allocation & withdrawable liquidity, 5%/10%/20% collateral depeg bad-debt stress simulation, and live on-chain EIP-1967 proxy slot + curator/owner EOA vs multisig check via PublicNode RPC and Sourcify v2.

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": {
      "chain": "<chain>",
      "address": "<address>"
    },
    "name": "audit_vault_exit_liquidity"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesTarget blockchain: ethereum, base, or solana
addressYesVault contract address (0x... for Morpho Ethereum/Base, base58 pubkey for Solana Kamino)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden; it discloses deterministic analysis, live on-chain checks, and the external sources (PublicNode RPC, Sourcify v2). However, it does not state whether the operation is read-only, latency or rate-limit behavior, authentication requirements, or failure modes if RPC/Sourcify is unavailable.

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 definition is a single dense sentence that front-loads the core audit action and then lists the included checks. It is appropriately sized for a complex tool and contains no filler, though the long semicolon-separated clause is slightly heavy.

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?

For a complex single-vault audit with no output schema and no annotations, the description explains what is checked and which chain protocols are supported. It still omits return-value shape and operational constraints such as runtime or error handling, leaving the agent with gaps.

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?

Both parameters are fully described in the schema, including the chain enum and address format. The description adds no syntax or format details beyond what the schema already provides, so baseline 3 applies.

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 ('Perform a deep deterministic audit') and names the exact resource (a single Morpho or Kamino vault), including supported chains and checks. It is clear but never contrasts with sibling tools such as get_vault_trap_radar or scan_wallet_vault_exposure, so an agent must infer when this is preferable.

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 implies use for a deep single-vault audit by naming the supported protocols and chains, but gives no explicit when-to-use/when-not guidance and no alternatives. An agent can infer it is for one vault, but routing versus the sibling tools is not addressed.

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