Skip to main content
Glama

Analyze Delinquency

analyze_delinquency
Read-onlyIdempotent

Delinquency by tenant + charge type (rent / utilities / late / other).

Pulls Delinquency (85). Complement to analyze_aged_receivables — same data sliced by charge category instead of aging bucket. Answers: 'who's behind on rent vs utilities', 'how much in late fees', 'top 10 delinquent tenants broken down by charge type'.

Output includes a footer note: Rent Manager's API for this report excludes tenants who have a balance but no current unit (orphaned late fees from former tenants, etc.). The RM UI version includes those. Customers cross-checking the two may see a small delta — typically 1-2 tenants / $50-200.

location (optional): a Rent Manager Location ID, a comma-separated list, or "all" to run across every Location on this connection (see list_locations). Blank = all Locations if the connection has several, else its only Location. Output is labelled per Location; a Location that can't be reached is listed as skipped.

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

Input Schema

NameRequiredDescriptionDefault
top_nNo
locationNo
portfolioNo
as_of_dateNo
property_idsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / location
      Added value: +{
      +  "default": "",
      +  "title": "Location",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, so safety is covered; the description adds genuinely non-obvious behavior beyond that — that the Rent Manager API excludes tenants with a balance but no current unit, with the typical magnitude of the resulting delta versus the RM UI. It also discloses per-Location labeling and that unreachable Locations are listed as skipped. It does not describe the shape or ordering of results, but the output schema exists.

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?

Content is front-loaded: purpose first, sibling differentiation second, caveats third, parameter detail last. The footer-discrepancy paragraph is long and includes specific dollar/tenant ranges, but that specificity is what makes the caveat actionable rather than filler. Slight tightening is possible but nothing is truly wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Return-value explanation is rightly omitted since an output schema exists, and the report-source caveat is unusually complete. However, for a five-parameter tool with zero schema description coverage, leaving portfolio, as_of_date and property_ids undocumented means an agent must guess their formats and interaction with 'location'. That is a meaningful gap for a reporting tool that is expected to be filtered.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must carry all parameter meaning, and it only covers 'location' (single ID, comma list, or "all", plus the blank default rule). 'portfolio', 'as_of_date' and 'property_ids' are never mentioned, and 'top_n' is only hinted at by the phrase 'top 10' with no statement that it controls that count. Three of five parameters remain unexplained in both schema and description.

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?

The opening line states a specific verb and resource — delinquency broken down by tenant and charge type (rent / utilities / late / other) — and immediately names the sibling it is a complement to, plus the exact axis that distinguishes them (charge category vs aging bucket). An agent can pick between analyze_delinquency and analyze_aged_receivables without opening either schema.

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 concrete example questions ('who's behind on rent vs utilities', 'top 10 delinquent tenants by charge type') that map directly to invocation, and it contrasts itself against analyze_aged_receivables on the slicing dimension. It also routes Location ID discovery to list_locations. What's missing is an explicit 'use analyze_aged_receivables instead when you care about aging buckets' statement, so the alternative is implied rather than prescribed.

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