Skip to main content
Glama
justlend

mcp-server-justlend

Official
by justlend

get_moolah_pending_liquidations

Read-onlyIdempotent

Retrieve Moolah positions that are liquidatable (riskLevel > 1.0) or approaching liquidation (riskLevel ≥ 0.9). Filter by debt token, collateral token, or risk level range.

Instructions

List Moolah positions eligible or approaching liquidation. riskLevel > 1.0 means the position is liquidatable right now. Use minRiskLevel=0.9 to find positions near the threshold.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoPage number (0-indexed). Default: 0
networkNoNetwork. Default: mainnet
pageSizeNoResults per page. Default: 20
debtTokenNoFilter by loan token symbol (e.g. 'USDT')
maxRiskLevelNoMaximum risk level filter
minRiskLevelNoMinimum risk level (e.g. 0.9 for near-liquidatable, 1.0 for liquidatable now)
collateralTokenNoFilter by collateral token symbol (e.g. 'TRX')
Behavior4/5

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

Annotations already indicate read-only, idempotent, and non-destructive behavior. The description adds valuable behavioral context by defining riskLevel > 1.0 as liquidatable and suggesting minRiskLevel=0.9 for near-threshold positions, which aids agent understanding of output semantics.

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 description consists of two concise sentences without extraneous information. The purpose is front-loaded, and each sentence contributes essential meaning, achieving high efficiency.

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 the tool has 7 optional parameters, no output schema, and annotations cover safety, the description adequately explains the core concept and usage. It lacks explicit mention of return format or pagination behavior, but this is not critical for a read-only list tool.

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% with parameter descriptions. The description adds meaning beyond schema by explaining the riskLevel concept and how minRiskLevel relates to liquidation threshold, providing an example value. Other parameters like page and network are already documented in schema.

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 clearly states the tool lists Moolah positions eligible or approaching liquidation, using specific verb 'list' and resource 'positions'. It distinguishes from siblings like liquidation records or quotes by focusing on pending positions, and explains the riskLevel threshold.

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 description implies usage to find liquidatable or near-liquidatable positions and provides an example (minRiskLevel=0.9). However, it does not explicitly state when not to use this tool or compare it with alternatives like get_moolah_liquidation_records or moolah_liquidate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/justlend/mcp-server-justlend'

If you have feedback or need assistance with the MCP directory API, please join our Discord server