Skip to main content
Glama

pusaka_lend_pool

Read-only

The USDC lending pool (Circle testnet USDC): cash, lent, the BTC price it uses (low side for borrowing, high side for liquidation; null = stale, borrowing and liquidation paused) and every open loan with its debt, loan-to-value and whether it can be liquidated now. With token_id (and contract), only that Pusaka's loan and the most it could borrow.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pusaka_lend_pool"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNo
token_idNo

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 declare it read-only, open-world, and non-destructive, and the description adds meaningful domain behavior: the price is the low side for borrowing and the high side for liquidation, and a null price means staleness with borrowing and liquidation paused. That is genuine operational context an agent could not infer from the schema; only pagination or volume expectations are missing.

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?

It is a single dense sentence with the returned fields front-loaded and the filter behavior deferred to the end. Nothing is wasted, though the parenthetical price semantics make it read as a run-on.

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?

There is no output schema, so the description must describe return values, and it does so field-by-field for the pool and for the filtered single-loan case. Gaps remain around the shape of the loan list (array? keyed by what?) and price units, but an agent could call it confidently.

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 0%, so the description carries the burden. It explains token_id as selecting a single Pusaka's loan and maximum borrow, and hints that contract accompanies it, but never states whether contract is required with token_id or what format either takes.

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 description names a specific resource (the USDC lending pool) and enumerates its contents: cash, lent, the BTC price used, and every open loan with debt, LTV, and liquidatability. It is clear what an agent gets back, though it never contrasts itself with siblings like pusaka_credit_record or pusaka_portfolio.

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 is only implied: calling with no parameters yields the whole pool, while supplying token_id (and contract) narrows to one Pusaka's loan and borrow capacity. There is no explicit statement of when to prefer this over sibling tools or what preconditions apply.

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.