Skip to main content
Glama

Read a lease’s terms

lease_terms
Read-onlyIdempotent

What a lease actually says. Returns the terms recorded on the lease (rent, due day, grace period, late fees, deposit, pets, smoking, subletting, notice, renewal, utilities, parking, insurance, entry notice) and, when a question is given, the passages of the lease document that mention it. Use it for questions like "can I have a cat?" or "how much notice do I give to move out?". Answer ONLY from what it returns, quote the passage you relied on, and when nothing covers the question say plainly that the lease does not say — never answer from general knowledge. document is "signed", "unsigned" (not fully signed yet) or "none" (only the recorded terms exist). Always pass on disclaimer: this reads the lease and is not legal advice, and local law can override a lease term. A tenant may omit lease_id to read their current lease.

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_terms"
  }
}

Input Schema

NameRequiredDescriptionDefault
lease_idNoOmit to read the tenant’s current lease.
questionNoWhat they want to know, in their words. Omit for the key terms.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
termsNo
coveredNo
documentNo
lease_idNo
passagesNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
disclaimerNo
total_availableNoHow many rows existed before truncation.
property_addressNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare a safe read, but the description adds meaningful behavior the annotations cannot: that a `question` switches the response to passage retrieval, that `document` can be 'signed', 'unsigned' or 'none' (a return dimension absent from the schema), and that a disclaimer must always be passed on because local law can override a term. These are exactly the traits an agent needs to interpret results responsibly.

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?

Front-loaded with the core purpose, then the field list, then usage examples, then the answering discipline — a logical order with no filler sentences. It is on the long side and the answering-policy sentences could be trimmed slightly without losing meaning.

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 two-parameter read tool with an output schema and full annotation coverage, this is complete: the agent knows what triggers it, what comes back, what the `document` values mean, when to say the lease is silent, and that the disclaimer must be relayed. Nothing needed to call it correctly is missing.

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 goes past the schema by explaining what `question` actually changes ('the passages of the lease document that mention it') and confirming that omitting `lease_id` is valid for a tenant reading their current lease. It also disambiguates `document` even though that is a return field rather than an input.

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 concrete framing ('What a lease actually says') and then enumerates the exact data returned (rent, due day, grace period, late fees, deposit, pets, smoking, subletting, notice, renewal, utilities, parking, insurance, entry notice). A specific verb-plus-resource with a clear scope that an agent can act on immediately.

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 trigger examples ('can I have a cat?', 'how much notice do I give to move out?') and an explicit constraint on how to behave with the result: answer only from returned content, quote the passage, and say plainly when the lease is silent. What it lacks is any routing guidance versus nearby lease tools such as get_lease or lease_audit, so the agent must infer which lease tool to pick.

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