Skip to main content
Glama

morpho_health

Read-onlyIdempotent

Is this Morpho lending position about to be liquidated? — First lending tooling in the catalog. Reads a Morpho Blue position on Base (the largest lending venue on Base) and returns its liquidation health in one call: health factor, current vs liquidation LTV, and the exact collateral price drop that triggers liquidation. Built for borrowing agents and treasuries that need to know how close they are before the market cuts them — Morpho's own API is deferred. Pass wallet= and optionally market= (defaults to cbBTC/USDC). Not financial advice. Required input: wallet. Priced $0.04 per call over x402 on Base; send a prepaid x-credit-token header for unlimited calls, or get 1 free call/day per tool. No wallet or API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
marketNoMorpho market id (optional)
walletYesBorrower wallet

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoThe result payload. Shape is service-specific; every field is documented in the tool description.
serviceNoThe service id that answered.
checkedAtNoISO-8601 timestamp of when the underlying reads were taken.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / data / description
      Previous value: -"The result payload. Shape is service-specific; every field is documented in the service description above."New value: +"The result payload. Shape is service-specific; every field is documented in the tool description."
  2. Changed1 schema field changed
    • removedOutput schema / required
      Removed value: -[
      -  "data"
      -]
  3. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly=true, openWorld=true, idempotent=true, destructive=false. The description adds useful behavioral context: it mentions the one-call nature, the deferred dependency on Morpho's API, the default market, pricing, free-call quota, and the requirement of no wallet/API key. It does not contradict annotations. Minor gap: it doesn't explain what happens on error or whether the output schema is fully populated in edge cases.

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 compact and front-loaded with the core question and purpose. It includes some promotional and pricing language ('Built for borrowing agents and treasuries', 'Not financial advice') that adds length but is arguably useful for AI selection. Every sentence contributes to understanding when/how to use it, with only slight padding.

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?

Given two simple parameters, an output schema, and strong annotations, the description covers core usage well. It spells out pricing, free tier, required input, and default market. It could be more complete by stating what happens for unsupported markets or how to interpret output, but the output schema likely carries that burden. A 4 is fair for this complexity level.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 both parameters. The description adds meaning by clarifying 'wallet' is the borrower wallet and 'market' defaults to cbBTC/USDC. It also contextualizes the wallet parameter as the position owner. This is value beyond the schema, though not exhaustive.

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 opens with a concrete question, states a specific verb ('reads'), names the resource (Morpho Blue position on Base), and specifies outputs (health factor, LTVs, collateral price drop). It also differentiates itself from siblings by being explicitly 'first lending tooling' and mentioning Morpho's API is deferred, which is a clear exclusive scope.

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 explicitly states required input (wallet), optional parameter (market, defaults to cbBTC/USDC), and pricing/access conditions. It does not explicitly name alternatives among siblings, but the 'first lending tooling in the catalog' phrase implies it is the designated choice for Morpho positions. It lacks an explicit 'use when not...' exclusion, but the context is clear.

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.

Resources