Skip to main content
Glama

Feegate AI Agent data marketplace catalog & platform metrics

lending-position.health_now

Read-onlyIdempotent

Ask "is this lending position safe from liquidation" — free: health factor, verdict, collateral USD, debt USD. | 免费档:返回健康因子 HF、结论(no_debt/safe/watch/risky/danger)、抵押总额 USD、债务总额 USD。参数 address 必填,chain 可选(eth/base/arbitrum/optimism/polygon)。

[zh] 供应方资产「借贷仓位健康度与清算距离」免费(每日限额按调用方计)。 入参:address、chain。 [en] Vendor asset "借贷仓位健康度与清算距离". Free (daily per-caller quota). Args: address, chain. 付款/支付头在 MCP 请求头里带(X-Payment / X-Payment-Tx / Authorization: Bearer fg_…),不要放进参数。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "address": "<address>"
    },
    "name": "lending-position.health_now"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNo
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), and the description adds genuinely new behavior: a free tier with a daily per-caller quota, and the exact auth mechanism (X-Payment / X-Payment-Tx / Bearer fg_…) that must go in MCP headers rather than parameters. It also enumerates the verdict domain (no_debt/safe/watch/risky/danger), which tells the agent what a response can look like. It does not state what happens when the quota is exhausted or how the request is billed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence is well front-loaded, but the body repeats itself: the English block, the [zh] block, and the [en] block restate the same purpose, arguments, and free-tier note three times, and the [en] line even leaves a Chinese title untranslated. The payment-header warning is valuable but sits at the end, adding length without new information.

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?

For a two-parameter, read-only tool with no output schema, the description covers the essentials: what is computed, the return field set, the verdict enum, auth placement, quota model, and chain options. The remaining gap is the meaning/format of the required address argument and the default chain resolution, which an agent would still have to discover empirically.

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 description coverage is 0%, so the description carries the full burden and mostly does: it marks address as required, chain as optional, and supplies the allowed chain values (eth/base/arbitrum/optimism/polygon) that the schema leaves as an unconstrained string with a null default. It stops short of saying what address is (wallet vs. position/account) or what the behavior is when chain is omitted, which matters given the null default.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening sentence frames a concrete question ('is this lending position safe from liquidation') and immediately enumerates the concrete outputs (health factor, verdict, collateral USD, debt USD), so the resource and computation are unambiguous. It does not name or contrast with the sibling lending-position.position_report, so an agent must infer which lending tool to pick.

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?

Usage context is implied rather than stated: the 'free tier, daily per-caller quota' framing signals this is the cheap snapshot call, but there is no explicit when-to-use / when-not-to-use rule and no pointer to an alternative tool for deeper or historical analysis. An agent can guess it is the lightweight real-time check, but nothing confirms that.

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.