Skip to main content
Glama

Leases coming up for renewal

renewal_pipeline
Read-onlyIdempotent

Every lease reaching its end inside the window, with the notice deadline, the statute that sets it, the current rent and where any renewal offer has got to. Start here for "what is expiring" or "who do I need to give notice to". Each row also carries tenancy: three sentences from the tenancy's own records — rent in the last 12 months that settled within the lease's grace period, repairs open at the unit, and what the last completed inspection flagged. It recommends nothing, and a part whose state is unknown could not be read — that is NOT a clean record.

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

Input Schema

NameRequiredDescriptionDefault
window_daysNoHow far ahead to look. Default 120.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
rowsNo
countsNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
generated_atNo
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely non-obvious behavior: it recommends nothing, and a part whose `state` is `unknown` could not be read and must not be treated as a clean record — an interpretation trap the schema and annotations do not disclose. It does not discuss result size, ordering or pagination, keeping it below a 5.

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?

Usage guidance is front-loaded in the second sentence, and the remaining sentences each carry distinct payload (row contents, the `tenancy` block, the null-state warning). The prose is somewhat dense and clause-heavy but no sentence is redundant.

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?

An output schema exists, so return values needn't be spelled out, yet the description still previews the row contents and the three-part `tenancy` block, which aids selection. Combined with the unknown-state caveat, it is nearly complete for a single-parameter read tool; only ordering/result-size behavior is unaddressed.

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 description coverage is 100%, and the single parameter already documents itself including the 1–730 bounds. The description only refers obliquely to "inside the window" without adding units, default behavior or interpretation guidance beyond the schema, so the baseline 3 applies.

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 opening sentence states a specific resource and scope: leases ending within a window, plus the notice deadline, governing statute, current rent and renewal-offer status. An agent can tell this is the 'expiring leases / notice obligations' view rather than a general lease listing. It stops short of explicitly contrasting itself with siblings such as list_leases or commercial_lease_status, so a 4 rather than a 5.

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?

"Start here for 'what is expiring' or 'who do I need to give notice to'" gives concrete triggering questions, which is clear when-to-use guidance. It offers no explicit when-not-to-use condition or named alternative tool, so it falls short of a 5.

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