Skip to main content
Glama
dantalan

baatjie-mcp-server

by dantalan

Arrears Report

baatjie_arrears
Read-onlyIdempotent

Identify active leases with no recent payment, ranked by days since last payment, and view the number of notices sent for each.

Instructions

Identify active leases with no recent payment, ranked by days since last payment, alongside how many notices have already been sent on each.

Read-only. It reports the position; it does not send anything. Serving a notice is a separate, deliberate act — in South Africa arrears and eviction notices carry statutory requirements under the Rental Housing Act and PIE Act, so wording and timing should be checked before anything reaches an occupant.

Args:

  • min_days_overdue (number): Only leases with no payment in at least this many days (default: 1)

  • limit (number): Max leases (default: 25)

  • include_pii (boolean): Include tenant identifiers (default: false)

  • response_format ('markdown' | 'json'): Output format

Returns: { "leases": [{ "lease_id","room_id","rent_due_day","status", "last_payment_date","days_since_payment","total_paid","notices_sent" }], "summary": { "active_leases","in_arrears","never_paid","total_notices_sent" } }

Examples:

  • "Who's behind on rent?" -> no args

  • "Anyone more than 30 days down?" -> min_days_overdue=30

Error Handling:

  • Leases with no payment history report last_payment_date=null and are counted under never_paid rather than being silently dropped

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-200, default 25)
include_piiNo
response_formatNoOutput format: 'markdown' for human-readable, 'json' for machine-readablemarkdown
min_days_overdueNo
Behavior5/5

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

Beyond the annotations (readOnlyHint, idempotentHint, destructiveHint), the description discloses that it reports position without sending anything, includes legal context for South African arrears/eviction notices, and explains how leases with no payment history are handled (never_paid rather than dropped).

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 description is well-structured: one-sentence purpose, read-only note, legal context, then arguments, returns, examples, and error handling in a clear format. Each section adds necessary information for correct invocation.

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 no output schema, the description provides a detailed Returns structure and error handling for edge cases (never_paid). It also gives two concrete examples and notes that the tool is read-only, making the behavior clear for an AI agent.

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

Parameters5/5

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

The input schema provides descriptions for limit and response_format, but not for min_days_overdue or include_pii. The description's Args section covers all four with meaningful semantics, including defaults and allowed values, compensating for the schema's gaps.

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 opens with a specific verb and resource: 'Identify active leases with no recent payment, ranked by days since last payment, alongside how many notices have already been sent on each.' This clearly distinguishes it from generic query/scheduling/integration tools among its siblings.

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 states 'Read-only' and explicitly says it does not send anything, contrasting with serving a notice which is a 'separate, deliberate act' with statutory requirements. It gives example queries for common use cases. However, it does not explicitly name alternative tools for sending notices or other actions, so it narrowly misses a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dantalan/baatjie-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server