Skip to main content
Glama

Renew vs. relocate

calc_renew_vs_relocate
Read-onlyIdempotent

Compare renewing in place with moving over one horizon: NPV and discounted effective rent of each case (rent schedule with free rent, TI net of allowance, fees, moving, downtime, double rent, termination, and disruption costs), the starting rent at which they break even, and year-by-year cash flows. Deterministic: the same inputs always give the same result, with formula ID calc.renew_vs_relocate@2, 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": {
      "horizon_months": "<horizon_months>",
      "renew": "<renew>",
      "relocate": "<relocate>"
    },
    "name": "calc_renew_vs_relocate"
  }
}

Input Schema

NameRequiredDescriptionDefault
renewYesStay and renew the existing lease.
relocateYesMove to new premises.
horizon_monthsYesAnalysis horizon in months; both cases run for this term (e.g. 120 for a ten-year renewal versus a ten-year new lease).
current_rent_monthlyNoTotal monthly rent under the existing lease, USD per month for the whole premises (not $/SF). Prices the double-rent overlap in the relocate case.
discount_rate_annualNoAnnual discount rate as a decimal, e.g. 0.08, applied to both cases (monthly rate = annual ÷ 12). Must be less than 1.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed21 schema fields changed
    • changedInput schema / properties / discount_rate_annual / description
      Previous value: -"Annual discount rate as a decimal, e.g. 0.08, applied to both cases (monthly rate = annual ÷ 12)."New value: +"Annual discount rate as a decimal, e.g. 0.08, applied to both cases (monthly rate = annual ÷ 12). Must be less than 1."
    • removedInput schema / properties / discount_rate_annual / exclusiveMaximum
      Removed value: -1
    • addedInput schema / properties / discount_rate_annual / maximum
      Added value: +1
    • removedInput schema / properties / horizon_months / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / horizon_months / minimum
      Added value: +1
    • removedInput schema / properties / relocate / properties / downtime_months / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / relocate / properties / overlap_months / maximum
      Removed value: -9007199254740991
    • removedInput schema / properties / relocate / properties / schedule / properties / abated_months / items / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / relocate / properties / schedule / properties / abated_months / items / maximum
      Removed value: -9007199254740991
    • addedInput schema / properties / relocate / properties / schedule / properties / abated_months / items / minimum
      Added value: +1
    • changedInput schema / properties / relocate / properties / schedule / 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 / relocate / properties / schedule / properties / area_sf / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / relocate / properties / schedule / properties / area_sf / minimum
      Added value: +0
    • changedInput schema / properties / relocate / properties / schedule / 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 / renew / properties / schedule / properties / abated_months / items / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / renew / properties / schedule / properties / abated_months / items / maximum
      Removed value: -9007199254740991
    • addedInput schema / properties / renew / properties / schedule / properties / abated_months / items / minimum
      Added value: +1
    • changedInput schema / properties / renew / properties / schedule / 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 / renew / properties / schedule / properties / area_sf / exclusiveMinimum
      Removed value: -0
    • addedInput schema / properties / renew / properties / schedule / properties / area_sf / minimum
      Added value: +0
    • changedInput schema / properties / renew / properties / schedule / 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"
      +  }
      +]
  2. Changed6 schema fields changed
    • changedInput schema / properties / relocate / properties / schedule / 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 / relocate / properties / schedule / 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 / relocate / properties / schedule / 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)."
    • changedInput schema / properties / renew / properties / schedule / 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 / renew / properties / schedule / 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 / renew / properties / schedule / 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)."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered. The description adds real context beyond them: the computation is deterministic, it is versioned under formula ID calc.renew_vs_relocate@2, it reports every step, and it can emit warnings — all useful for auditability and for an agent deciding whether to cite results. It stops short of stating currency/units or how warnings should be surfaced.

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?

Two sentences, front-loaded with the comparison and its outputs, followed by the determinism/audit note. Every clause carries information — no restatement of the title, no filler.

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?

With no output schema, the description carries the burden of describing returns and does so: per-case NPV and discounted effective rent, break-even starting rent, yearly cash flows, steps and warnings. For a five-parameter nested tool this is nearly complete; it leaves minor ambiguity about units/currency and which case the break-even starting rent is solved against.

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 description coverage is 100%, so the baseline is 3, but the description adds meaning by grouping the cost drivers into one readable list (free rent, TI net of allowance, fees, moving, downtime, double rent, termination, disruption) that maps onto the nested renew/relocate objects. It also clarifies that a single horizon governs both cases, tying horizon_months to the two branches.

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 ('Compare renewing in place with moving over one horizon') and enumerates the deliverable set: NPV, discounted effective rent for each case, the break-even starting rent, and year-by-year cash flows. That output profile distinguishes it from generic NPV or rent-schedule siblings, but no sibling is named, so an agent must infer the boundary against calc_lease_vs_own or calc_net_effective_rent on its own.

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?

The decision context (renew vs. relocate over a single horizon) is implied by the description, and the schema clarifies that both cases run for the same term. There is no explicit when-to-use/when-not guidance and no named alternative for sub-analyses such as a standalone rent schedule or net effective rent, so usage must be inferred.

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.