Skip to main content
Glama

near_lending_health

Read-onlyIdempotent

How close is this Rhea Lending position to liquidation? — Health factor of an account's Rhea Lending (Burrow) position on NEAR, computed as the contract does — collateral discounted and debt marked up by each asset's volatility ratio — with collateral and debt in USD, how far collateral can fall before liquidation, and GO / HOLD / STOP. Positions from the contract, prices from NEAR Intents. Required input: account. Priced $0.02 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 API key required.

Input Schema

NameRequiredDescriptionDefault
accountYesNEAR account

Output 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. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, non-destructive, open-world profile, and the description adds substantial context beyond them: the methodology (collateral discounted and debt marked up by volatility ratio), data sources (positions from the contract, prices from NEAR Intents), and a detailed pricing/auth model (x402 on Base, $0.02/call, prepaid x-credit-token header for unlimited, 1 free call/day, no API key). This is exactly the behavioral detail an agent needs before invoking a paid endpoint.

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?

Purpose and scenario are front-loaded, and the trailing pricing/auth sentence earns its place given the x402 payment model. It is a dense single paragraph rather than a structured list, which slightly impairs scanability, but there is little true filler.

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?

Output schema exists, so return values need not be explained, yet the description still previews the key outputs (collateral and debt in USD, distance-to-liquidation, GO/HOLD/STOP). Combined with the data-source and payment details, an agent has everything needed to call it correctly.

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% for the single 'account' parameter, so the schema itself documents the input adequately. The description only restates 'Required input: account' without adding format or derivation detail beyond the schema's 'NEAR account', 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 precise verb+resource: the health factor of an account's Rhea Lending (Burrow) position on NEAR, computed as the contract does. This is specific enough to distinguish it from siblings like morpho_health, position_health, and exit_liquidity 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 Guidelines3/5

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

The opening question ('How close is this position to liquidation?') frames the scenario in which the tool applies, and naming Rhea Lending/NEAR implicitly scopes it away from other chain lending tools. However, it never explicitly states when to use this versus a sibling such as position_health or morpho_health, nor any prerequisites or exclusions.

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