Skip to main content
Glama

Lease remeasurement (ASC 842, lessee)

calc_lease_remeasurement_asc842
Read-onlyIdempotent

Remeasure a lessee's lease liability and right-of-use asset under ASC 842 after a modification, lease-term reassessment, contingency resolution, or residual value guarantee change: new liability (PV of remaining payments), liability and ROU adjustments with any gain (ASC 842-20-35-4), and the per-period amortization table (operating: straight-line single lease cost; finance: interest plus amortization) in cents that foots: every row rolls forward exactly, totals are the row sums, and the final period trues up liability and ROU asset to zero. Warns where judgment is needed. Deterministic: the same inputs always give the same result, with formula ID calc.lease_remeasurement_asc842@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": {
      "classification": "<classification>",
      "payments": "<payments>",
      "discount_rate_annual": "<discount_rate_annual>",
      "discount_rate_updated": "<discount_rate_updated>",
      "liability_before": "<liability_before>",
      "rou_asset_before": "<rou_asset_before>",
      "event": "<event>"
    },
    "name": "calc_lease_remeasurement_asc842"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventYesWhat triggered the remeasurement: modification_extend_term / modification_shorten_term / modification_change_in_payments (a modification not accounted for as a separate contract, ASC 842-10-25-8 and 25-11), reassessment_of_term_or_option (ASC 842-10-35-1 and 35-4(c)), contingency_resolved (variable payments became fixed, ASC 842-10-35-4(b)), residual_value_guarantee_change (ASC 842-10-35-4(c)(3)), or index_or_rate_change (ASC 842-10-35-4: not a remeasurement trigger by itself; computed as if remeasured for another reason).
paymentsYesRemaining lease payments after the event, in ascending period order. Periods not listed carry no payment (rent-free).
classificationYesLessee classification (ASC 842-10-25-2): operating (single straight-line lease cost) or finance (interest on the liability plus straight-line ROU amortization).
payment_timingNoWhether each payment falls at the beginning (in advance) or end (in arrears) of its period.end
liability_beforeYesCarrying amount of the lease liability immediately before the remeasurement, USD.
periods_per_yearNoPayment periods per year (12 for monthly, 4 for quarterly).
rou_asset_beforeYesCarrying amount of the right-of-use asset immediately before the remeasurement, USD (after any impairment).
remaining_periodsNoRemaining lease term in periods after the event. Defaults to the last period index in payments; set it higher when the final periods are rent-free.
discount_rate_annualYesAnnual discount rate applied to the remaining payments, e.g. 0.06. Nominal: the periodic rate is this ÷ periods_per_year. Must be less than 1.
discount_rate_updatedYesTrue when discount_rate_annual was determined at the remeasurement date (ASC 842-10-35-5: required for modifications and lease-term or purchase-option reassessments); false when it is the rate from commencement (kept for contingency resolutions and residual value guarantee changes).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / discount_rate_annual / description
      Previous value: -"Annual discount rate applied to the remaining payments, e.g. 0.06. Nominal: the periodic rate is this ÷ periods_per_year."New value: +"Annual discount rate applied to the remaining payments, e.g. 0.06. Nominal: the periodic rate is this ÷ periods_per_year. 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
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent and closed-world, and the description adds substantive behavior on top: the table foots (rows roll forward, totals are row sums, final period trues to zero), operating vs finance cost patterns differ, judgment flags are surfaced as warnings, and results are deterministic with a named formula ID and version. This is exactly the context annotations cannot supply.

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 verb and resource, then the outputs and guarantees; every clause carries information. It is dense to the point of being one long composite sentence, which makes it slightly harder to scan than it needs to be.

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?

There is no output schema, and the description does the job of one: it names the returned liability, the adjustment components, the gain reference, the amortization table and its tie-out guarantees, and the warning behavior. Nothing an agent needs to invoke or interpret the result is missing.

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% and the parameter docs already carry the ASC citations, period indexing, timing and rate conventions. The description adds no parameter-level detail beyond what the schema states, so 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?

States a specific verb and resource ('Remeasure a lessee's lease liability and right-of-use asset under ASC 842') and enumerates the triggering events, plus names the three outputs (new liability, ROU/liability adjustments with gain, per-period amortization table). An agent can tell this apart from generic schedule tools like calc_amortization_schedule without opening the 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?

Gives the precise conditions that call for this tool: after a modification, lease-term reassessment, contingency resolution, or residual value guarantee change. It does not name an alternative tool or state when a plain schedule tool is sufficient instead, so the routing half of the guidance is implicit.

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.