Skip to main content
Glama

Lease rent schedule

calc_rent_schedule
Read-onlyIdempotent

Build a base-rent schedule from commencement date, term, area, starting $/SF/yr, escalations (percent or fixed $/SF), and abated months. Lease months run from the commencement day-of-month with no calendar proration (warns when commencement is mid-month). Returns rent steps, totals, expiration date, and a calculation trace. Optional unit (kw, mw, unit, acre, key, room, space) relabels area and $/SF for data-center, ground, yard, residential, hotel, or parking leases without changing any number. Deterministic: the same inputs always give the same result, with formula ID calc.rent_schedule@1, every step, and any warnings.

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": {
      "commencement_date": "<commencement_date>",
      "term_months": "<term_months>",
      "area_sf": "<area_sf>",
      "starting_rent_psf_annual": "<starting_rent_psf_annual>"
    },
    "name": "calc_rent_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoWhat area_sf and the per-SF fields measure: sf (default, square feet), kw or mw (data-center critical load), unit (apartment or other unit), acre (ground or yard lease), key or room (hotel), or space (parking). Every number is computed exactly as for square feet; the unit changes labels, steps, and warnings and adds unit and rate_unit to the result. Fields keep their _sf and _psf names: with unit kw, area_sf holds kW and starting_rent_psf_annual holds $/kW/yr. Omit for square feet.
area_sfYesRentable square feet, or the quantity leased in unit (kW, MW, units, acres, keys, rooms, spaces) when unit is set. Must be greater than 0.
escalationNoHow base rent escalates. Omit for flat rent.
term_monthsYesLease term in months, e.g. 120 for ten years.
abated_monthsNoFully abated (free) months, 1-based from commencement (e.g. [1,2,3] for three months free up front). Each listed month's base rent is zero.
include_monthlyNoInclude a month-by-month table (can be long).
commencement_dateYesRent commencement date, YYYY-MM-DD. Month n starts on this day-of-month (clamped to month end).
round_rate_to_centsNoRound each step's $/SF/yr to cents, as many lease rent tables do.
starting_rent_psf_annualYesYear-one base rent in dollars per SF per year (annual, not monthly), e.g. 42.5; per unit per year when unit is set (a $/kW/month quote × 12).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • removedInput schema / properties / abated_months / items / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / abated_months / items / maximum
      Removed value: -9007199254740991
    • addedInput schema / properties / abated_months / items / minimum
      Added value: +1
    • changedInput schema / properties / area_sf / description
      Previous value: -"Rentable square feet, or the quantity leased in unit (kW, MW, units, acres, keys, rooms, spaces) when unit is set."New value: +"Rentable square feet, or the quantity leased in unit (kW, MW, units, acres, keys, rooms, spaces) when unit is set. Must be greater than 0."
    • removedInput schema / properties / area_sf / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / area_sf / minimum
      Added value: +0
    • changedInput schema / properties / escalation / oneOf
      Previous value: -[
      -  {
      -    "description": "Flat rent for the whole term.",
      -    "properties": {
      -      "type": {
      -        "const": "none",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Percentage bumps: rate_k = starting_rate × (1 + rate)^k.",
      -    "properties": {
      -      "every_months": {
      -        "default": 12,
      -        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "rate": {
      -        "description": "Bump as a decimal, e.g. 0.03 for 3%. Bumps compound.",
      -        "exclusiveMaximum": 10,
      -        "exclusiveMinimum": -1,
      -        "type": "number"
      -      },
      -      "type": {
      -        "const": "percent",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "rate"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Fixed $/SF bumps: rate_k = starting_rate + amount × k.",
      -    "properties": {
      -      "amount": {
      -        "description": "Dollars per SF per year (or per unit per year when unit is set) added at each bump, e.g. 0.50.",
      -        "type": "number"
      -      },
      -      "every_months": {
      -        "default": 12,
      -        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "type": {
      -        "const": "fixed_psf",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "amount"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Flat rent for the whole term.",
      +    "properties": {
      +      "type": {
      +        "const": "none",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Percentage bumps: rate_k = starting_rate × (1 + rate)^k.",
      +    "properties": {
      +      "every_months": {
      +        "default": 12,
      +        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "rate": {
      +        "description": "Bump as a decimal, e.g. 0.03 for 3%. Bumps compound. Must be greater than -1. Must be less than 10.",
      +        "maximum": 10,
      +        "minimum": -1,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "percent",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "rate"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Fixed $/SF bumps: rate_k = starting_rate + amount × k.",
      +    "properties": {
      +      "amount": {
      +        "description": "Dollars per SF per year (or per unit per year when unit is set) added at each bump, e.g. 0.50.",
      +        "type": "number"
      +      },
      +      "every_months": {
      +        "default": 12,
      +        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      +        "minimum": 1,
      +        "type": "integer"
      +      },
      +      "type": {
      +        "const": "fixed_psf",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "amount"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedInput schema / properties / term_months / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / term_months / minimum
      Added value: +1
  2. Changed4 schema fields changed
    • changedInput schema / properties / area_sf / description
      Previous value: -"Rentable square feet."New value: +"Rentable square feet, or the quantity leased in unit (kW, MW, units, acres, keys, rooms, spaces) when unit is set."
    • changedInput schema / properties / escalation / oneOf
      Previous value: -[
      -  {
      -    "description": "Flat rent for the whole term.",
      -    "properties": {
      -      "type": {
      -        "const": "none",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Percentage bumps: rate_k = starting_rate × (1 + rate)^k.",
      -    "properties": {
      -      "every_months": {
      -        "default": 12,
      -        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "rate": {
      -        "description": "Bump as a decimal, e.g. 0.03 for 3%. Bumps compound.",
      -        "exclusiveMaximum": 10,
      -        "exclusiveMinimum": -1,
      -        "type": "number"
      -      },
      -      "type": {
      -        "const": "percent",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "rate"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Fixed $/SF bumps: rate_k = starting_rate + amount × k.",
      -    "properties": {
      -      "amount": {
      -        "description": "Dollars per SF per year added at each bump, e.g. 0.50.",
      -        "type": "number"
      -      },
      -      "every_months": {
      -        "default": 12,
      -        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      -        "exclusiveMinimum": 0,
      -        "maximum": 9007199254740991,
      -        "type": "integer"
      -      },
      -      "type": {
      -        "const": "fixed_psf",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "type",
      -      "amount"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Flat rent for the whole term.",
      +    "properties": {
      +      "type": {
      +        "const": "none",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Percentage bumps: rate_k = starting_rate × (1 + rate)^k.",
      +    "properties": {
      +      "every_months": {
      +        "default": 12,
      +        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "rate": {
      +        "description": "Bump as a decimal, e.g. 0.03 for 3%. Bumps compound.",
      +        "exclusiveMaximum": 10,
      +        "exclusiveMinimum": -1,
      +        "type": "number"
      +      },
      +      "type": {
      +        "const": "percent",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "rate"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Fixed $/SF bumps: rate_k = starting_rate + amount × k.",
      +    "properties": {
      +      "amount": {
      +        "description": "Dollars per SF per year (or per unit per year when unit is set) added at each bump, e.g. 0.50.",
      +        "type": "number"
      +      },
      +      "every_months": {
      +        "default": 12,
      +        "description": "Months between bumps (12 = annual). The first bump takes effect in month every_months + 1.",
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "type": {
      +        "const": "fixed_psf",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "type",
      +      "amount"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / starting_rent_psf_annual / description
      Previous value: -"Year-one base rent in dollars per SF per year (annual, not monthly), e.g. 42.5."New value: +"Year-one base rent in dollars per SF per year (annual, not monthly), e.g. 42.5; per unit per year when unit is set (a $/kW/month quote × 12)."
    • addedInput schema / properties / unit
      Added value: +{
      +  "description": "What area_sf and the per-SF fields measure: sf (default, square feet), kw or mw (data-center critical load), unit (apartment or other unit), acre (ground or yard lease), key or room (hotel), or space (parking). Every number is computed exactly as for square feet; the unit changes labels, steps, and warnings and adds unit and rate_unit to the result. Fields keep their _sf and _psf names: with unit kw, area_sf holds kW and starting_rent_psf_annual holds $/kW/yr. Omit for square feet.",
      +  "enum": [
      +    "sf",
      +    "kw",
      +    "mw",
      +    "unit",
      +    "acre",
      +    "key",
      +    "room",
      +    "space"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, deterministic-safe, closed-world behavior, so the bar is lower; the description still adds real substance beyond them. It discloses the no-calendar-proration rule, that mid-month commencement produces a warning, that results carry a formula ID and a calculation trace, and what the response contains. It does not discuss limits on term lengths or how warnings are surfaced structurally, but the core behavioral profile is well covered.

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 action and inputs, then disclosures (proration, unit relabeling, determinism), then return contents — a sensible order with little waste. The second sentence is long and runs three ideas together, costing some clarity, but no sentence is filler.

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?

With nine parameters, a nested-ish escalation union, and no output schema, the description carries the return-value burden itself and does so — rent steps, totals, expiration date, calculation trace, and warnings are all named. Combined with 100% schema coverage, an agent has everything needed to call it correctly.

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 3 is the baseline, and the description modestly exceeds it: it clarifies that starting rent is annual $/SF/yr, that unit relabels area and rate "without changing any number," and that commencement day-of-month drives lease months without proration. These are compressed restatements of schema detail rather than new facts, which keeps it from a 5.

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?

States a specific verb and resource ("Build a base-rent schedule") and enumerates the exact inputs that drive it (commencement date, term, area, starting $/SF/yr, escalations, abated months). This is clearly distinguishable from sibling calculators such as calc_net_effective_rent or calc_percentage_rent, which address different outputs.

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

Usage Guidelines3/5

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

Usage is implied by the input list — an agent can infer this is the tool for a raw base-rent step schedule — and the unit parameter section gives concrete context for data-center, ground, hotel, and parking cases. However, it never states when NOT to use it, nor points to the overlapping siblings (net effective rent, percentage rent, remeasurement) that an agent might confuse it with.

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.