Skip to main content
Glama

What to weigh besides the rate

market_profile
Read-only

Assess a Morpho vault or Aave reserve before committing capital: returns a 0-100 risk score, band, and signals on size, track record, APY stability, yield quality, cost, and concentration.

Instructions

Risk profile for one Morpho vault or Aave reserve, for use before committing capital. Returns score (0-100) and band ('solid', 'fair', 'thin' or 'fragile'), plus a signals object holding the six inputs behind it: size (TVL), track_record (days running), stability (APY volatility from daily snapshots), yield_quality (share of the APY that is borrower interest rather than incentives that can stop), cost (the curator's percentage cut) and diversification (share sitting in the largest position). Each signal carries its raw value and its sub-score, and method.weights gives the weighting, so the score can be recomputed. A signal lacking data reports score null and is excluded from the weighting rather than guessed at. Pair with yield_history for an unusually high rate. Describes what has happened, not what will.

Input Schema

NameRequiredDescriptionDefault
poolYesVault symbol, vault address, or protocol-asset — e.g. 'sparkusdc', 'aave-usdc', '0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A'

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.1
    • changedInput schema / properties / pool / description
      Previous value: -"Vault symbol, address, or protocol-asset (e.g. sparkusdc, aave-usdc)"New value: +"Vault symbol, vault address, or protocol-asset — e.g. 'sparkusdc', 'aave-usdc', '0x7BfA7C4f149E7415b73bdeDfe609237e29CBF34A'"
  2. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, open-world operation, so the bar is lower. The description still adds real behavioral context: missing-data signals report null and are excluded from weighting rather than guessed, weights are exposed so the score can be recomputed, and the output is backward-looking only.

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 purpose and use case are front-loaded in the first sentence, and the remaining text is spent enumerating the six signals and the null-handling rule, each of which earns its place given there is no output schema. No filler sentences.

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?

With no output schema, the description carries the full burden of explaining return values, and it does: score range, band values, the signals object contents, per-signal raw value and sub-score, method.weights, and null behavior. An agent can call this and interpret the response without further information.

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% and the single `pool` parameter is fully documented in the schema with format examples. The description only indirectly scopes it ('one Morpho vault or Aave reserve'), so it adds little beyond what the schema already provides; 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 resource and scope: a risk profile for one Morpho vault or Aave reserve, returned as score, band and a signals breakdown. It is clearly distinguishable from the sibling yield tools (list_base_yields, best_yield, yield_history), which surface rates rather than risk.

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?

Gives a clear usage context ('for use before committing capital') and an explicit pairing rule ('Pair with `yield_history` for an unusually high rate'), which routes the agent to a sibling. It also bounds expectations with 'Describes what has happened, not what will,' but offers no explicit when-not-to-use case.

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