Skip to main content
Glama

pusaka

pusaka_credit_record

Read-only

A borrower's on-chain credit record across every Pusaka: loans taken, repaid, defaulted (the lender took the collateral) and still open, read from the contract's history, not from anything the borrower says. Use it before funding a loan request or making an offer.

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": {
      "account_id": "<account_id>"
    },
    "name": "pusaka_credit_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so safety is covered. The description adds real context beyond that: the record is derived from contract history rather than borrower claims, and 'defaulted' is explicitly defined as the lender taking collateral. It does not say what is returned for an unknown or unborrowed account (empty record vs error), which is the one behavioral gap.

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?

Two dense sentences with no filler; the enumeration of record contents is front-loaded and the usage cue follows immediately. Every clause carries information (what it returns, where the data comes from, when to call it).

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 single-parameter read tool with no output schema, the description covers what the result contains and its provenance, which is enough to call it correctly. The remaining gap is the account_id format and unknown-account behavior, both of which matter for a first invocation.

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?

There is one required parameter, account_id, with 0% schema description coverage, so the description must carry the meaning. It only implies the parameter identifies 'a borrower' and never states the expected format (contract address vs internal account id) or whether it accepts any account or only borrowing accounts. That leaves the sole parameter underspecified.

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?

States a specific resource (a borrower's on-chain credit record) and enumerates exactly what it contains: loans taken, repaid, defaulted, and open. It also pins the data source ('read from the contract's history, not from anything the borrower says'), which separates it from self-reported data. It does not explicitly differentiate itself from similarly named siblings such as pusaka_history, so it stops short of a 5.

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?

Gives a clear triggering context: use it before funding a loan request or making an offer. That is genuine when-to-use guidance tied to a decision. It offers no when-not conditions and names no alternative tool for adjacent needs (e.g., general history), so it is not a full 5.

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