Skip to main content
Glama

Protocol Health

defi.health
Read-onlyIdempotent

Assess DeFi protocol health: combines TVL, utilization rates, and liquidation frequency into a composite health score (0-100). Use for protocol-level DeFi health and stress signals on one chain. It does not rank yields or inspect a token contract; use defi.yields, defi.compare, or token.risk for those decisions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainNoEVM chain only. Supported chains: base, ethereum, arbitrum, optimism, polygon, bsc, avalanche, zksync, linea, scroll, blast, mantle, gnosis, polygon-zkevm, mode, sei, celo, manta, taiko, fantom, cronos, opbnb, zora, worldchain, metis, fraxtal, kava, zetachain, filecoin, core-dao, aurora, moonbeam, klaytn, bob, canto, monad, tempo, megaeth, arc, plasma, katana, robinhood, pharos, hyperevm.base

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
chainYesBlockchain queried
metricsNo
protocolNo
healthScoreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description adds the meaningful scope constraint that the assessment is single-chain and describes what the score is composed of, though it says nothing about latency, data freshness, or failure modes for unsupported chains.

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?

Two sentences, zero filler. The definition of the score is front-loaded and the sibling routing follows immediately, so the agent gets scope and disambiguation in one pass.

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?

An output schema exists, so return-value structure need not be explained, and the single enumerated parameter is fully documented in the schema. What remains for the description – what the score means, its scope, and how it differs from neighboring tools – is all present.

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% – the single 'chain' parameter already enumerates all 44 supported chains and documents its default. The description only obliquely reinforces this via 'on one chain', adding no syntax or format detail 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 and resource ('Assess DeFi protocol health') and immediately defines the composite metric as TVL + utilization + liquidation frequency scored 0-100. It also names the sibling tools it is not (defi.yields, defi.compare, token.risk), so an agent can discriminate it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('protocol-level DeFi health and stress signals on one chain') and explicit when-not-to-use, routing yield ranking and contract inspection to defi.yields, defi.compare, and token.risk. Both the positive trigger and the alternative set are stated.

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