Skip to main content
Glama

Get P2P loan detail

p2p_get_loan
Read-only

Retrieve complete loan details by ID: parties, terms, status, repayment quote, default deadlines, and on-chain terms hash.

Instructions

Full detail for one loan id: terms, parties, status, what a taker must provide, repayment quote, default deadline/split and the on-chain terms hash.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesLoan id
chainYes
Behavior4/5

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

Annotations already provide readOnlyHint and openWorldHint. Description adds value by listing the specific details returned (terms, parties, status, etc.) and mentions 'on-chain terms hash', confirming blockchain interaction without contradicting annotations.

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?

Single sentence, 23 words, front-loaded with key functionality. Every part is informative with no redundant 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 simple read-only operation with two parameters, the description covers the returned fields adequately. No output schema exists, but the listed fields give sufficient context. Could mention output format but not essential.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50% (only 'id' has a description). Description does not explain 'chain' enum options or 'id' constraints beyond what schema provides. It adds minimal semantic value for parameters.

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?

Description clearly states it returns full detail for one loan id, listing specific fields like terms, parties, status, etc. It distinguishes from sibling tools like p2p_list_offers or p2p_my_loans which are for listing multiple items.

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

Usage Guidelines4/5

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

Implicitly indicates use when you have a specific loan id. Does not explicitly state when not to use or compare to alternatives, but context clarifies that this is for single-loan detail retrieval.

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/Rotwang9000/flashbank-net'

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