Skip to main content
Glama

Get a lease

get_lease
Read-onlyIdempotent

One lease in full, including the tenant's contact details, signature state and a payment summary for that lease.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "lease_id": "<lease_id>"
    },
    "name": "get_lease"
  }
}

Input Schema

NameRequiredDescriptionDefault
lease_idYes

Output Schema

NameRequiredDescriptionDefault
idNo
noteNoWhy the result was truncated, when it was.
rentNo
statusNo
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
created_atNo
executed_atNo
owner_emailNo
property_idNo
tenant_nameNo
fully_signedNo
has_documentNo
tenant_emailNo
tenant_phoneNo
property_nameNo
application_idNo
owner_signatureNo
payment_summaryNo
total_availableNoHow many rows existed before truncation.
property_addressNo
tenant_signatureNo
tenant_signed_atNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is fully covered by structured data. The description's contribution is telling the agent the response bundles tenant contact details, signature state and a payment summary — useful scope information, though partly redundant given an output schema exists. No mention of permissions or failure behavior for a missing lease.

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?

A single front-loaded sentence with no filler; the scope ('one lease in full') leads and the included sub-resources follow. Slight looseness in the trailing 'for that lease', which restates the obvious.

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

Completeness3/5

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

Return content is covered by the existing output schema and safety by annotations, so the description is not required to explain either. However, for a tool whose only input is an undocumented identifier, the definition leaves the agent without guidance on where lease_id comes from or when this beats the lease-related siblings.

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 description coverage is 0% and the single parameter lease_id is a bare integer with no documented meaning. The description refers to 'that lease' but never explains what a lease_id is, its format, or where to obtain one, so it fails to compensate for the schema gap.

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?

Names the resource (a single lease) and enumerates its distinct contents — tenant contact details, signature state, payment summary. That differentiates it from siblings like lease_terms or commercial_lease_status, though the verb is elided into 'One lease in full' rather than stated outright.

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?

The phrase 'One lease in full' implies a single-record fetch versus a list or summary call, which is mild usage signal. There is no explicit when-to-use statement, no mention of alternatives such as lease_terms for term data or commercial_lease_status for status-only checks.

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