Skip to main content
Glama

Octobooks

Loans and their schedules

loan_list
Read-onlyIdempotent

Loans and their schedules (round 607): what=loans lists every loan with its balance per schedule and as booked and its next repayment; what=schedule with loan_id gives every row (payment_id, date, payment, principal, interest, balance after, state planned, waiting or posted, entry, bank line) and the balance on the date given (default today); what=bank_line with bank_line_id lists the repayments that bank line may be. what=directors_loan (round 622): the director's loan account on the date (default today): balance (plus in credit, owed to the directors; minus overdrawn), every movement, each fiscal year's opening, paid in, drawn and closing, and for a UK company the s455 position of a year end at which it was overdrawn (owed, repay_by, repaid_since, still_owed, tax at the rate of the tax year, tax_due) with the note to say. what=dividends: every dividend declared with its state, entry and the links of its board minutes and each shareholder's voucher (PDF, on the web app).

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

Input Schema

NameRequiredDescriptionDefault
dateNo
whatNoloans
companyNo
loan_idNo
bank_line_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so safety is covered. The description still adds real value beyond them: default date behaviour ('default today'), field-level content per mode, domain semantics of the sign convention ('plus in credit, owed to the directors; minus overdrawn'), and the s455 breakdown with its tax-year rate. It omits pagination/volume limits and permission requirements for the PDF vouchers, which keeps it below a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense but delivered as one long run-on sentence rather than a front-loaded summary with per-mode structure. The embedded '(round 607)' and '(round 622)' markers are internal development noise that consume attention without helping an agent select or invoke the 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?

The mode-to-parameter mapping is complete enough to call the tool correctly, and the existence of an output schema means the exhaustive per-mode field lists (payment_id, principal, interest, s455 components) were not strictly required. The main remaining hole is the undocumented 'company' parameter and the unstated interplay when parameters from different modes are supplied together.

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 description coverage is 0%, so the description carries the full burden. It does well on the discriminator, enumerating five accepted 'what' values and pairing loan_id and bank_line_id to their respective modes, and it explains the date default twice. The 'company' parameter is never mentioned anywhere, leaving a 5-parameter tool with one completely undocumented filter.

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 states a concrete verb+resource for each mode: 'what=loans lists every loan with its balance per schedule', 'what=schedule with loan_id gives every row', 'what=bank_line ... lists the repayments', 'what=directors_loan ... the director's loan account', 'what=dividends: every dividend declared'. This is far more specific than the title 'Loans and their schedules' and lets an agent pick a mode without opening the schema. It stops short of distinguishing this tool from the sibling 'loan' or 'dividend' tools, which likely cover adjacent ground.

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?

Usage is implied through the mode breakdown and the parameter pairings ('what=schedule with loan_id', 'what=bank_line with bank_line_id'), which is genuinely useful for choosing a mode. However, there is no explicit when-to-use/when-not guidance and no routing to alternatives such as the 'loan' or 'dividend' siblings, so the agent must infer the boundary itself.

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