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: Purchased or originated credit-impaired assets: credit-adjusted EIR (5.4.1(a), 5.5.13)

ifrs9_poci
Read-onlyIdempotent

Computes the credit-adjusted effective interest rate for purchased or originated credit-impaired assets, first-year interest revenue, and impairment gain or loss from revised expected cash flows.

Instructions

Solves the credit-adjusted effective interest rate that discounts the cash flows expected at initial recognition (after expected credit losses) to the purchase price, computes first-year interest revenue on amortised cost, and measures the impairment gain or loss from a later revision of expected cash flows as the change in lifetime expected credit losses since initial recognition, discounted at the credit-adjusted rate.

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": {
      "purchasePrice": "<purchasePrice>",
      "expectedCashFlows": "<expectedCashFlows>"
    },
    "name": "ifrs9_poci"
  }
}

Input Schema

NameRequiredDescriptionDefault
purchasePriceYesPurchase price (fair value at initial recognition) [IFRS 9.5.1.1]
expectedCashFlowsYesExpected cash flows
revisedExpectedCashFlowsNoRevised cash flows

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuine domain behavior (discounting post-ECL flows, measuring impairment as the change in lifetime ECL since initial recognition at the credit-adjusted rate), but omits the computational conventions an agent would need — sign direction of the impairment gain/loss, unit/period assumptions, and behavior when revised cash flows are absent.

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?

It is a single front-loaded sentence that opens with the primary computation and then enumerates the two secondary outputs, with essentially no filler. It is dense and nearly run-on, which slightly taxes readability, but every clause carries domain content.

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 read-only three-parameter calculation tool with no output schema, the description covers what is computed and names all three result quantities (EIR, interest revenue, impairment gain/loss). It falls short only on the shape of the return payload and on the fact that the impairment branch only fires when revised cash flows are supplied.

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 purchasePrice, expectedCashFlows and revisedExpectedCashFlows, giving a baseline of 3. The description adds a little meaning by specifying that the expected cash flows are those remaining after expected credit losses at initial recognition, but it says nothing about the optional revised-cash-flow array or the year/cashFlow shape.

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?

The description names three specific computations with concrete financial verbs: solving the credit-adjusted EIR that discounts post-ECL expected cash flows to the purchase price, computing first-year interest revenue on amortised cost, and measuring impairment gain/loss from a revision of cash flows. The POCI framing (purchase price, credit-adjusted rate, ECL since initial recognition) distinguishes it from sibling tools like ifrs9_effective_interest_schedule without needing to name them.

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 only implied through the POCI vocabulary and the IFRS references in the title; the description never states when an agent should pick this tool over ifrs9_effective_interest_schedule or ifrs9_expected_credit_loss, nor any preconditions. It also doesn't say what happens when revisedExpectedCashFlows is omitted, which is the key branching condition for which of the three computations run.

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