Skip to main content
Glama

Commercial leases

list_commercial_leases
Read-onlyIdempotent

The commercial leases this account manages, each with its tenant, premises, structure (gross, NNN…), rent, rentable square feet, the next scheduled rent change, the next critical date (renewal or termination option, notice deadline) and what needs attention — rent changes due, deadlines passed with nothing recorded, required insurance that is missing or unverified, and sales reports to review. Use commercial_lease_status for one lease in detail. This tool changes nothing.

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

Input Schema

NameRequiredDescriptionDefault
viewNoDefaults to all. expiring = ends within a year; percentage = carries percentage rent.
queryNoPart of a tenant name, premises or street.

Output Schema

NameRequiredDescriptionDefault
noteNoThat the rent of record is the lease’s own rent, in the server’s words.
leasesNo
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.1/5.0
Behavior4/5

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

Adds real context beyond the annotations by spelling out what the 'attention' signal actually covers: rent changes due, deadlines passed with nothing recorded, missing or unverified insurance, and sales reports to review. 'This tool changes nothing' reinforces rather than contradicts readOnlyHint/destructiveHint=false. It discloses nothing about pagination, result caps, or account scoping, which is where the remaining gap sits.

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 resource and purpose, and the closing sentence on the read-only nature is well placed. The first sentence is a long field-by-field enumeration that borders on a run-on, though each listed field carries genuine selection value.

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?

For a two-parameter, zero-required list tool with a full output schema, the description is sufficient: purpose, contents, attention semantics, and the detail-view alternative are all present. Only minor gaps remain (paging or result-size limits and the relationship to other lease-listing tools), which the output schema partly absorbs.

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%, including an enum description for view that already defines expiring and percentage, so the schema does the heavy lifting. The description's mention of 'what needs attention' and 'next critical date (renewal or termination option)' loosely maps to the attention and expiring views but adds no filtering syntax or combination behavior. Baseline 3 applies.

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?

Names a specific verb and resource (list commercial leases) and immediately enumerates the fields each row carries (tenant, premises, structure, rent, RSF, next rent change, next critical date, attention flags). It also names the sibling commercial_lease_status and states the difference (one lease in detail), so an agent can distinguish the two without opening either 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?

Explicitly routes the agent to commercial_lease_status when a single lease in detail is wanted, which is the key sibling decision. It gives no negative guidance (e.g., when not to use this list, or how it relates to the broader list_leases tool) and no prerequisite or scope limits, so it stops short of full when/when-not coverage.

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