Skip to main content
Glama

Latest borrows and repays

recent_activity
Read-onlyIdempotent

List the latest loan activity on the Priors pool, newest first: borrows (with due date), repays (with fee paid) and defaults, each with agent, amount, time and transaction hash. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many events, 1 to 50. Default 10.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the 'read-only' statement is redundant. The description does add useful detail on the returned fields (agent, amount, time, tx hash, due date, fee), which goes beyond 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?

A single tight sentence with the sort order and field list front-loaded and no filler. Appropriately sized for a simple read-only list tool.

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?

Covers what the tool returns (event types and fields) and ordering, which is the main thing an agent needs for a read-only listing. Return format specifics (e.g., pagination, response shape) are absent but no output schema exists, so slight gap remains.

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?

Schema coverage is 100% and the single 'limit' parameter already documents range and default. The description adds nothing about the parameter, so baseline 3 applies.

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?

States a specific verb (list) and resource (latest loan activity on the Priors pool) and names the event types covered (borrows, repays, defaults). Clearly distinguishable from siblings like pool_stats or agent_record.

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?

Implies a monitoring use case via 'latest' and 'newest first', but gives no explicit when-to-use or when-not-to-use guidance relative to siblings. No alternatives named.

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