Skip to main content
Glama

List leases

list_leases
Read-onlyIdempotent

Leases with status, rent, signature timestamps and the property they cover.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-200, default 50).
offsetNoRows to skip, for paging.
statusNoe.g. drafted, signed, active.
property_idNo
tenant_emailNo

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

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered elsewhere. The description adds nothing beyond that, omitting what a returned lease includes (are inactive/expired leases included by default?), whether results are ordered, or how the default limit of 50 interacts with paging.

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?

It is a single short sentence with no wasted words, but it is a bare noun phrase lacking a verb, and the space saved is spent on restating return fields that the output schema already defines rather than on filter or paging guidance.

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

Completeness2/5

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

With an output schema present, the description need not explain return values, yet that is essentially all it does. For a five-parameter filtered list tool with no required arguments and two undocumented parameters, the definition leaves the agent without the filtering and default-behavior context it needs.

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

Parameters2/5

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

Schema coverage is 60%: limit, offset and status are documented in the schema, but property_id and tenant_email have no description at all. The description does not compensate, never mentioning any filter parameter or the accepted status values, so it adds no meaning beyond the structured fields.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (leases) and the fields it carries (status, rent, signature timestamps, property), which implies a list operation without ever stating a verb. It does not distinguish this from the sibling list_commercial_leases, so an agent cannot tell which of the two to call for commercial leases.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no exclusions, and no reference to any alternative tool. The three available filters (status, property_id, tenant_email) are never mentioned, so the agent must read the schema to discover that filtering is even possible.

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