Skip to main content
Glama
IFRS 9 and IFRS 7 Credit Loss Agent

IFRS 9 and IFRS 7 Credit Loss Agent

by jabran

IFRS 9: Modification & the 10% test

ifrs9_modification
Read-onlyIdempotent

Calculates IFRS 9 modification accounting for renegotiated cash flows: applies the 10% liability test, determines extinguishment or modification gain/loss, and recalculates asset carrying amounts.

Instructions

Accounts for a renegotiation of contractual cash flows. Liabilities: applies the 10% quantitative test (B3.3.6), comparing the present value of the new cash flows plus fees paid (net of fees received) at the original effective interest rate with the present value of the remaining original cash flows, plus qualitative factors; extinguishment (3.3.2-3.3.3) or modification gain or loss. Assets (not derecognised): recalculates the gross carrying amount at the original effective interest rate and the modification gain or loss (5.4.3).

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": {
      "modificationDate": "<modificationDate>",
      "carryingAmount": "<carryingAmount>",
      "originalEir": "<originalEir>",
      "modifiedCashFlows": "<modifiedCashFlows>"
    },
    "name": "ifrs9_modification"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideNoSide Options: liability (Financial liability (borrower)); asset (Financial asset (lender))liability
instrumentNoInstrumentBank loan
originalEirYesOriginal effective interest rate (annual, decimal) [IFRS 9.5.4.3, IFRS 9.B3.3.6]
costsIncurredNoThird-party costs incurred by the reporting entity
carryingAmountYesCarrying amount (gross for assets) before modification
modificationDateYesModification date
modifiedCashFlowsYesMODIFIED contractual cash flows
feesPaidByBorrowerNoFees paid by borrower to lender (net of fees received) [IFRS 9.B3.3.6]
fairValueOfNewInstrumentNoFair value of new instrument (needed if extinguished / derecognised) [IFRS 9.3.3.3, IFRS 9.5.1.1]
remainingOriginalCashFlowsNoRemaining ORIGINAL contractual cash flows
qualitativeSubstantialChangeNoQualitative change is substantial (e.g. currency change, debt-to-equity feature, new counterparty)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds valuable behavioral context: it explains the calculation process, the comparison of present values, qualitative factors, and outcomes (extinguishment vs modification gain/loss).

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?

The description is two dense sentences, front-loaded with the core purpose. It is efficient and every sentence contributes, though the second sentence is complex and could be structured more readably.

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?

Given the tool's complexity (11 params, no output schema), the description covers the accounting logic for both liabilities and assets, including tests and outcomes. It does not explicitly describe return values, but implies they include gain/loss and carrying amount, which is adequate for this calculation tool.

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%, so the schema already documents all parameters. The description adds little parameter-specific meaning beyond what is in the schema, merely referencing concepts like original EIR and fees paid that are already described.

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?

The description states a specific accounting action: 'Accounts for a renegotiation of contractual cash flows' and details the 10% test for liabilities and asset recalculation. It clearly distinguishes between liability and asset branches, but does not explicitly differentiate from siblings like ifrs9_derecognition.

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 context of renegotiation, but there is no explicit when-to-use or when-not-to-use guidance, nor are alternatives such as ifrs9_derecognition mentioned for cases of full extinguishment.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.