Skip to main content
Glama

Loan payments due

get_loans_due
Read-onlyIdempotent

Loans with upcoming or overdue payments within a given number of days. Use when asked "what loans are due soon" or "do I have any overdue loans".

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_due"
  }
}

Input Schema

NameRequiredDescriptionDefault
withinDaysNoNumber of days ahead to check, 1–365 (default: 30)

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?

The annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds the upcoming/overdue scope but does not explain output ordering, result limits, or other behavior beyond what annotations and schema provide.

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?

The definition is two sentences: the first front-loads the resource and temporal scope, and the second provides concrete usage examples. There is no filler or unnecessary wording.

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?

This is a simple read-only query with one optional, fully documented parameter and no output schema; annotations cover safety behavior. The description supplies purpose and usage examples, though it could clarify result ordering or how upcoming and overdue loans are combined.

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 withinDays is fully documented with range and default. The description only restates 'within a given number of days' and does not add syntax or default details beyond the schema, so the baseline is 3.

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 specific resource and condition: loans with upcoming or overdue payments within a number of days. It is clear what the tool returns conceptually, but it does not distinguish itself from siblings such as get_loan_payments or get_loans_summary.

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?

It gives explicit example questions that should trigger the tool: 'what loans are due soon' and 'do I have any overdue loans'. It does not provide when-not-to-use guidance or name alternative sibling tools.

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