Skip to main content
Glama

Philidor DeFi Vault Risk Analytics

list_markets

List lending markets: the market a depositor actually picks (Aave/Spark pool, Aave V4 spoke, Compound Comet, Morpho Blue pair, or Kamino K-Lend market). Aave V4 spokes that share a liquidity hub are grouped under a composed parent (aave-v4-1-hub-global-dollar). The API still keys each market on the spoke. NOTE: this is not get_market_overview, which returns platform-wide totals across all vaults.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoFilter by chain: integer chain id (e.g. 1, 8453) or slug (e.g. ethereum, solana)
limitNoResults per page (1-100, default 20)
sortByNoSort field (default total_supplied_usd)
versionNoFilter by protocol version: v3, v4, or klend. Use version=v4 with protocol=aave.
protocolNoFilter by protocol id: aave, spark, compound, morpho, kamino. Aave V4 is protocol=aave plus version=v4 (aave-v4 is accepted as an alias).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / protocol / description
      Previous value: -"Filter by protocol id: aave, spark, compound, morpho, kamino (K-Lend on Solana)"New value: +"Filter by protocol id: aave, spark, compound, morpho, kamino. Aave V4 is protocol=aave plus version=v4 (aave-v4 is accepted as an alias)."
    • changedInput schema / properties / version / description
      Previous value: -"Filter by protocol version, e.g. v3, v4, or klend"New value: +"Filter by protocol version: v3, v4, or klend. Use version=v4 with protocol=aave."
  2. Changed2 schema fields changed
    • changedInput schema / properties / protocol / description
      Previous value: -"Filter by protocol id: aave, spark, compound, morpho, kamino (K-Lend, Solana — rolling out)"New value: +"Filter by protocol id: aave, spark, compound, morpho, kamino (K-Lend on Solana)"
    • changedInput schema / properties / version / description
      Previous value: -"Filter by protocol version, e.g. v3 or v4"New value: +"Filter by protocol version, e.g. v3, v4, or klend"
  3. Changed3 schema fields changed
    • changedInput schema / properties / chain / description
      Previous value: -"Filter by chain id, e.g. 1 or 8453"New value: +"Filter by chain: integer chain id (e.g. 1, 8453) or slug (e.g. ethereum, solana)"
    • changedInput schema / properties / chain / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "string"
      +]
    • changedInput schema / properties / protocol / description
      Previous value: -"Filter by protocol id: aave, spark, compound, morpho"New value: +"Filter by protocol id: aave, spark, compound, morpho, kamino (K-Lend, Solana — rolling out)"
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden, and it discloses a genuinely non-obvious trait: Aave V4 spokes sharing a liquidity hub are grouped under a composed parent while the API still keys each market on the spoke. That prevents misreading of returned identifiers. It lacks pagination or response-shape notes, so it is strong but not exhaustive.

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?

Front-loads the core definition before the hub-grouping nuance and the sibling exclusion. Every sentence carries information, though the composed-parent example adds a touch of density that could be trimmed.

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?

No output schema and no annotations, so the description must orient the agent, and it does: it defines the resource, names the platforms, explains the hub-grouping keying quirk, and excludes a confusable sibling. Missing only return-format or pagination expectations for a list endpoint with a limit parameter.

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 all five parameters are already documented with defaults, ranges, and alias behavior (e.g. aave-v4 accepted as an alias). The description adds contextual framing about what a 'market' means but no parameter syntax beyond the schema, so the baseline 3 applies.

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?

States a specific verb+resource ('List lending markets') and immediately defines what a market is across five named platforms (Aave/Spark pool, Aave V4 spoke, Compound Comet, Morpho Blue pair, Kamino K-Lend). It also explicitly distinguishes itself from the sibling get_market_overview, so an agent can route correctly without opening a schema.

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?

Explicitly names the alternative (get_market_overview) and states the condition that separates them: platform-wide totals across all vaults vs. individual markets. It also hints at filter routing (version=v4 with protocol=aave), but does not cover when to prefer get_market or search_vaults, so it falls short of a full when/when-not map.

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.