Skip to main content
Glama

Lending market overview

get_loans_overview
Read-onlyIdempotent

Cardano peer-to-peer lending (the loan protocols we index): active loans, borrowed and collateral ADA, average APR, open offers, 30-day volume, repaid and liquidated counts, split by asset and protocol.

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": "get_loans_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, so the agent knows it is a safe, idempotent read. The description adds useful context about the output granularity (split by asset and protocol) but does not cover rate limits, auth needs, or return format.

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?

The description is a single, front-loaded sentence that efficiently lists the metrics. It is dense but not redundant; every phrase contributes to describing the returned data.

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 rich annotations and the absence of an output schema, the description adequately compensates by enumerating the metrics returned. It could be more explicit about the response shape or the meaning of 'split by asset and protocol', but it is sufficient for an overview 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?

There are zero parameters and schema coverage is 100% (of nothing). The description does not need to explain parameter semantics, so the baseline of 4 applies.

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 clearly identifies the tool as a market-wide overview of Cardano P2P lending, enumerating the metrics returned (active loans, borrowed/collateral ADA, APR, offers, volume, etc.) and noting it is split by asset and protocol. This distinguishes it from wallet-specific siblings like get_wallet_loans, though it does not explicitly name alternatives.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

The description only describes the data content; it gives no guidance on when to use this tool versus alternatives such as get_wallet_loans, compare_yields, or get_defi_tvl. Usage is implied by the name and title but not stated.

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