Skip to main content
Glama

Update Client Lease

update_client_lease
Destructive

Change a lease on a client: any of premises, address, landlord, the linked landlord-side contact, size, lease commencement, lease expiration, option flag and notes, notice date, rate or notes. Send only the fields to change; null clears a field. Moving lease_expiration is how a renewal is recorded, and it re-arms the expiration reminders; after an option is exercised, move notice_date to the next deadline or clear it. A notice date after the lease expiration is refused. The result echoes the lease and lists changed fields, so an empty changed list means nothing was different. Removing a lease is not available through this integration; do that in Propensa directly. Changes a record — confirm with the user first.

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

Input Schema

NameRequiredDescriptionDefault
cityNo
rateNo
sizeNoNull clears it.
notesNo
stateNo
addressNoNull clears it.
landlordNoFree-text landlord. Null clears it.
lease_idYesThe lease_id, from list_client_leases or get_client.
premisesNo
size_typeNoUnit for size: "SF" (default) or "Acres".
contact_idNoOptional. The contactid, from list_contacts, of the person to call about this lease on the LANDLORD side: usually the landlord, sometimes the property manager or the leasing agent. It is who a renewal notice goes to. Not the client: the client and its contacts are on the client record. Must be a contact you own or that is shared with you. Linking it makes the contact visible to every participant on the client. An id you cannot see is dropped and reported in the result as contact_ignored; the lease is still saved. Null unlinks the contact.
has_optionNo
notice_dateNoThe NEXT deadline by which the client must give notice to the landlord, as YYYY-MM-DD, whatever kind of notice it is: exercising a renewal option, or a termination right. One date only; if the lease has several options record the next one and put the rest in option_notes. Must not be after lease_expiration. Propensa reminds the client's participants 180, 90 and 30 days ahead, but the broker remains responsible for the date being right: read it from the lease, never estimate it. Null clears it, which also stops its reminders. After an option is exercised, move this to the next deadline or clear it.
option_notesNo
lease_expirationNoYYYY-MM-DD. Null clears it. Moving this date is how a renewal is recorded; it re-arms the expiration reminders.
lease_commencementNoThe lease commencement date, when the term starts, YYYY-MM-DD. Not the signing date. Null clears it. Must not be after lease_expiration.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=false/destructiveHint=true by disclosing the destructive semantics (null clears a field), a server-side validation refusal (notice date after lease expiration), reminder side effects (re-arms expiration reminders, 180/90/30-day notice reminders, clearing stops them), and the contact_ignored degradation path where an invisible contact id is dropped but the lease still saves. The "confirm with the user first" warning is consistent with destructiveHint=true.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the verb and field list, then layers behavioral rules in short declarative sentences with no filler. The only blemish is the slight awkwardness of listing "notes" twice in the opening enumeration.

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 16-parameter mutation with no output schema, it covers the essentials: what is changeable, the null-clears convention, the refusal condition, side effects on reminders, and what the result contains (echoed lease plus changed fields). Minor gaps remain around the address sub-fields (city/state) and size_type, which the schema only partially explains.

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?

With 56% schema coverage across 16 parameters, the description compensates by explaining intent for the highest-risk fields: null clears, lease_expiration drives renewals, notice_date means the NEXT deadline of any kind, and contact_id is the landlord-side contact not the client. City, state, size_type, option_notes and has_option are left to the schema, which limits it to a 4.

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?

States a specific verb and resource ("Change a lease on a client") and enumerates the changeable fields, so the agent knows the scope of the mutation. It stops short of explicitly naming the sibling to use for creating leases or for other client-record edits, so differentiation is by name convention rather than stated routing.

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?

Gives concrete operating guidance: send only fields to change, null clears, moving lease_expiration is how a renewal is recorded, notice_date must be moved or cleared after an option is exercised, and an empty changed list means nothing differed. It also rules out removal here and redirects to Propensa directly, plus instructs to confirm with the user first. No sibling tool is named as an alternative for creation, which keeps it below 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