Skip to main content
Glama

Loans summary

get_loans_summary
Read-onlyIdempotent

Summary of all active and closed loans including outstanding balance, EMI, and repayment progress. Progress has two figures: paymentsCompletedPercent is the share of scheduled payments made (paymentsMade / loanTerm), and principalRepaidPercent is the share of the principal repaid, including prepayments. Use principalRepaidPercent for how much of the loan is paid off.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare this read-only, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds useful scope context (closed loans are included, not just active) and clarifies two easily confused metrics. It does not state what an empty result looks like or whether closed loans are interleaved with active ones.

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

Conciseness4/5

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

Three sentences, front-loaded with what the tool returns before the metric clarification. Every sentence earns its place, though the final sentence partially restates the definition of principalRepaidPercent given just before 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?

With no output schema and no parameters, the description carries the full burden of explaining return values, and it does so for the two ambiguous fields while naming the other headline figures. It stops short of describing the overall record shape or the empty-result case, which leaves a small gap.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate at the input layer; baseline 4 applies. The description instead spends its words on output field semantics, which is the right allocation here.

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 gives a specific verb and resource (a summary of loans) and states scope precisely: 'all active and closed loans' with outstanding balance, EMI, and repayment progress. That scope implicitly separates it from get_loans_due and get_loan_payments, though it never names a sibling explicitly.

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 only implied: an agent can infer this is the overview tool to call before drilling into due amounts or individual payments. There is no explicit when-to-use/when-not statement and no named alternative, only field-level guidance about which percentage to report.

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