Skip to main content
Glama
ifrs17-insurance-agent

ifrs17-insurance-agent

by jabran

IFRS 17: Premium allocation approach (53-59)

ifrs17_paa_measurement
Read-onlyIdempotent

Measures IFRS 17 PAA groups by calculating remaining coverage liabilities, onerous tests, and incurred claims, with acquisition cash flow and discounting options.

Instructions

Measures a PAA group: liability for remaining coverage (premiums received less acquisition cash flows, plus their amortisation, less revenue recognised on the passage of time), the option to expense acquisition cash flows for coverage of one year or less (59(a)), the onerous test when facts and circumstances indicate (57-58), and the liability for incurred claims (fulfilment cash flows, discounting optional when claims are paid within a year, 59(b)).

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": {
      "premium": "<premium>",
      "premiumsReceived": "<premiumsReceived>",
      "coverageMonths": "<coverageMonths>",
      "monthsElapsed": "<monthsElapsed>"
    },
    "name": "ifrs17_paa_measurement"
  }
}

Input Schema

NameRequiredDescriptionDefault
groupNoGroupMotor 2026 cohort
premiumYesTotal premium for the coverage period
monthsElapsedYesMonths of coverage elapsed [IFRS 17.B126]
coverageMonthsYesCoverage period (months)
premiumsReceivedYesPremiums received to date
onerousIndicatorsNoFacts and circumstances indicate the group is onerous [IFRS 17.57]
acquisitionCashFlowsNoInsurance acquisition cash flows paid
claimsDiscountFactorNoDiscount factor for incurred claims (if discounting)
claimsPaidWithinOneYearNoClaims expected to be paid within one year (no discounting needed) [IFRS 17.59(b)]
incurredClaimsUndiscountedNoIncurred claims (undiscounted best estimate)
incurredClaimsRiskAdjustmentNoRisk adjustment on incurred claims
expenseAcquisitionWhenIncurredNoExpense acquisition cash flows when incurred (coverage ≤ 1 year) [IFRS 17.59(a)]
remainingCoverageFulfilmentCashFlowsNoFulfilment cash flows for remaining coverage (for the onerous test) [IFRS 17.57, IFRS 17.58]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, so safety is covered; the description adds genuine behavioral content by naming the conditions that switch branches (onerous test triggered by facts and circumstances, discounting optional when claims are paid within a year). However, with no output schema, it never says what the measurement result looks like or in what units, leaving a real gap for a pure-computation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single long sentence with deeply nested parentheticals; the core purpose is front-loaded, but the clause stacking makes it harder to parse than a short bulleted breakdown of the four computed components would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Weighing 13 parameters and a multi-branch actuarial calculation against no output schema, the description covers what goes in and which standard paragraphs govern each branch, but omits what comes out (result fields, sign conventions, treatment of groups without claims). Adequate, not complete.

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 baseline is 3. The description does add interpretive links — 59(a) for the expenseAcquisitionWhenIncurred option and 59(b)/57-58 for the discounting and onerous flags — which helps the agent understand the parameters' role rather than just their names.

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 ('Measures a PAA group') and enumerates the outputs it computes: LRC, acquisition cash flow treatment, onerous test, and LIC. The PAA framing implicitly distinguishes it from the GMM sibling, though it never names ifrs17_gmm_initial_measurement as the alternative model.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, and no prerequisites (e.g. must the group already be identified per ifrs17_level_of_aggregation?). The agent must infer that this applies only to PAA-eligible groups and must guess how it relates to the GMM measurement sibling.

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