Skip to main content
Glama

Lease audit — rent the leases say is owed

lease_audit
Read-onlyIdempotent

Every executed lease in this portfolio checked against what was actually billed over the look-back window: a charge lower than the rent and recurring charges the lease carries (pet rent, parking, storage), a charge higher than the lease supports, a due date with no charge, a charge after the lease ended, a late payment with no late fee applied, a lease that ended while the unit is still occupied, and a deposit recorded short. Each finding has the expected and billed amounts, the server's own detail sentence and what to do. Rent changes are compared against the terms in force at the time, not today's. Use it for "am I missing any charges" or "is every lease billing correctly". WARNING, and say it: this LISTS and never charges — nothing has been billed or changed, and each item is for the account holder to review on the lease; a finding the owner dismissed is left out unless include_dismissed is set; degraded names any check that could not run, which is NOT the same as finding nothing.

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

Input Schema

NameRequiredDescriptionDefault
checkNoOnly one kind of finding.
limitNoDefault 50.
include_dismissedNoAlso return what the owner dismissed, with their reason.

Output Schema

NameRequiredDescriptionDefault
noteNo
as_ofNo
checksNo
windowNo
summaryNo
degradedNo
findingsNo
dismissedNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the read-only, idempotent, closed-world safety profile, and the description adds substantial context on top: it states nothing is charged or changed, that findings are for the account holder to review on the lease, and that rent changes are compared against the terms in force at the time rather than today's. It also flags the important subtlety that `degraded` means a check could not run and is not the same as finding nothing, which prevents a false-negative reading of the result.

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 leading sentence is a single ~100-word run-on that piles nine finding types into one breath, which is hard to parse even though each item is informative. The warning and degraded clarification are front-loaded reasonably well, but the structure would benefit from breaking the enumeration into a discrete list.

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

Completeness5/5

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

With an output schema present, return values need not be described, and the description instead covers everything an agent needs to call and interpret the tool correctly: the types of discrepancies detected, the comparison basis for rent changes, the dismissal filter, and the meaning of the degraded signal. Nothing material is missing for a zero-required-parameter audit tool.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds genuine meaning: dismissed findings are omitted unless include_dismissed is set (and the owner's reason comes back with them), and the enumerated finding kinds in prose give context for what the check enum values select. It does not explain limit or default paging behavior beyond what the schema states.

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 description names a specific verb and resource — every executed lease in the portfolio checked against what was billed over a look-back window — and then enumerates the exact finding classes (billed short, billed over, missing charge, holdover, deposit short, etc.), which maps directly onto the check enum. An agent can tell this apart from list_rent_payments or rent_reporting_status because it is explicitly a discrepancy audit, not a listing or status report.

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 triggering questions: "am I missing any charges" and "is every lease billing correctly", and it scopes the include_dismissed behavior. What it lacks is an explicit negative case or named alternative — it never says when a different tool (e.g. a payments list or rent report) is the better call.

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