Skip to main content
Glama

Hookr

Loans

hookr_loans
Read-onlyIdempotent

A wallet's loans on the Borrow panel's markets, as Portfolio's Loans tab reads them: its collateral, what it owes, its loan to value, the price at which it is liquidated and its health.

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": {
      "wallet": "<wallet>"
    },
    "name": "hookr_loans"
  }
}

Input Schema

NameRequiredDescriptionDefault
walletYesThe wallet that borrowed.

Output Schema

NameRequiredDescriptionDefault
pageNoIts page on hookr.fun.
loansYes
walletYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description adds that the data mirrors the Portfolio Loans tab and enumerates which position fields are surfaced, which is useful context, but it says nothing about behavior for wallets with no loans, whether closed positions are included, or freshness of the figures.

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?

A single front-loaded sentence that identifies the subject first and then enumerates returned fields, with no filler or repetition. The 'as Portfolio's Loans tab reads them' clause is slightly indirect but does real work by anchoring the semantics to a known view.

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?

With one fully documented parameter, complete annotations, and an output schema handling return values, the definition covers nearly everything needed to invoke it correctly. The only residual gap is edge-case behavior (wallet with no loans, partially repaid positions), which is minor for a read-only lookup.

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?

There is a single required parameter with 100% schema description coverage ('The wallet that borrowed'), so the schema already carries the meaning. The description's phrase 'A wallet's loans' restates rather than extends it — no note on whether the address must be the borrower versus a delegate or on-chain account.

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 states a specific resource — a single wallet's loan positions on the Borrow panel's markets — and enumerates the returned fields (collateral, debt, LTV, liquidation price, health). It is clearly a read of loan state rather than a market listing or a transaction builder, so an agent can distinguish it from siblings like hookr_borrow_markets or hookr_build_borrow without opening the 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?

Usage is implied: query a wallet's outstanding loan position and risk metrics, matching what the Portfolio Loans tab shows. There is no explicit when-to-use or when-not-to-use guidance, and no alternative tool is named for adjacent needs such as browsing available markets or constructing a borrow transaction.

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