# get_lending_records

Get a user

Agent View of the PolicyLayer registry record for `get_lending_records`. HTML page: https://policylayer.com/tools/justlend-mcp-server-justlend/get-lending-records

## Facts

- Tool: `get_lending_records`
- Server: Justlend (`justlend/mcp-server-justlend`) — https://policylayer.com/tools/justlend-mcp-server-justlend.md
- Homepage: https://github.com/justlend/mcp-server-justlend
- Risk category: Read (Low risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

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

## Why get_lending_records is rated Low

This is a read-only operation that retrieves user lending data from the JustLend DAO platform. No state changes occur, no financial transactions are processed, and no data is deleted or modified. The blast radius of misuse is limited to unauthorized information disclosure about a user's lending history.

From the tool's own definition: "Tool name 'get_lending_records' and description 'Get a user' indicate data retrieval with no side effects. The function queries existing lending records without modifying, deleting, or executing transactions."

## Use case

AI agents call get_lending_records to retrieve information from Justlend without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Justlend:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "get_lending_records": {}
  }
}
```

## Other tools on Justlend (103)

- `return_energy_rental` — Destructive — https://policylayer.com/tools/justlend-mcp-server-justlend/return-energy-rental.md
- `buy_energy_direct` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/buy-energy-direct.md
- `claim_rewards` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/claim-rewards.md
- `claim_strx_rewards` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/claim-strx-rewards.md
- `deposit_jst_for_votes` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/deposit-jst-for-votes.md
- `moolah_borrow` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/moolah-borrow.md
- `moolah_liquidate` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/moolah-liquidate.md
- `moolah_repay` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/moolah-repay.md
- `moolah_supply_collateral` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/moolah-supply-collateral.md
- `moolah_vault_deposit` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/moolah-vault-deposit.md
- `moolah_vault_withdraw` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/moolah-vault-withdraw.md
- `moolah_withdraw_collateral` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/moolah-withdraw-collateral.md
- `rent_energy` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/rent-energy.md
- `repay` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/repay.md
- `supply` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/supply.md
- `transfer_trc20` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/transfer-trc20.md
- `transfer_trx` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/transfer-trx.md
- `withdraw` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/withdraw.md
- `withdraw_all` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/withdraw-all.md
- `withdraw_votes_from_proposal` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/withdraw-votes-from-proposal.md
- `withdraw_votes_to_jst` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/withdraw-votes-to-jst.md
- `wrap_trx` — Financial — https://policylayer.com/tools/justlend-mcp-server-justlend/wrap-trx.md
- `borrow` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/borrow.md
- `calculate_energy_rental_price` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/calculate-energy-rental-price.md
- `check_allowance` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/check-allowance.md
- `check_jst_allowance_for_voting` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/check-jst-allowance-for-voting.md
- `check_strx_withdrawal_eligibility` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/check-strx-withdrawal-eligibility.md
- `claim_moolah_mining_period` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/claim-moolah-mining-period.md
- `claim_v1_mining_period` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/claim-v1-mining-period.md
- `estimate_lending_energy` — Read — https://policylayer.com/tools/justlend-mcp-server-justlend/estimate-lending-energy.md
- …and 73 more: https://policylayer.com/tools/justlend-mcp-server-justlend.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=justlend-mcp-server-justlend · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/justlend-mcp-server-justlend
