Skip to main content
Glama

Who could be offered a payment plan

payment_plan_candidates
Read-onlyIdempotent

For an owner or manager: every resident who could be offered a payment plan. Residents who are BEHIND come first (standing "behind", oldest arrears first, with what is overdue and how late it is); residents who are UP TO DATE follow (standing "current", with their next rent date and amount) — an owner may offer to spread rent that has not fallen due yet. Never describe a "current" resident as behind. Returns the lease id and the charge ids (oldest first; the first overdue_count are overdue) that offer_payment_plan needs.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-200, default 50).

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
countYesHow many rows are in `results`.
resultsYesThe rows.
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.2/5.0
Behavior4/5

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

Annotations already cover safety (readOnlyHint, idempotentHint, destructiveHint=false), yet the description adds real behavioral detail: ordering rules (behind first, oldest arrears first), what each row carries, and the ordering contract of the returned charge ids. It also adds an interpretive constraint ("Never describe a 'current' resident as behind") that no annotation could express.

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?

One dense paragraph that front-loads the audience and scope, then the ordering, then the downstream contract. Every sentence is information-bearing, though the semicolon-chained clauses and quoted standing values make it slightly heavier than needed.

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?

For a one-parameter read tool with an output schema, the description supplies everything an agent needs to interpret rows correctly: population definitions, sort order, charge-id ordering relative to overdue_count, and the follow-up call. Nothing material is missing.

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?

There is a single limit parameter with 100% schema description coverage including range and default, so the description carries no extra parameter burden. It mentions no limit or pagination behavior at all, which is acceptable at this baseline but adds nothing.

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?

States a specific resource and audience ("For an owner or manager: every resident who could be offered a payment plan") and explicitly distinguishes two populations with their standing values, so an agent can separate it from payment_plan_options or list_payment_plans without opening a 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 clearly frames the read as the precursor to offer_payment_plan by naming the exact fields that tool needs, and explains why "current" residents belong in the list. It stops short of saying when to prefer this over the sibling discovery tools (payment_plan_options, list_payment_plans).

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