Skip to main content
Glama
ifrs17-insurance-agent

ifrs17-insurance-agent

by jabran

IFRS 17: Level of aggregation (14-24)

ifrs17_level_of_aggregation
Read-onlyIdempotent

Assigns contracts or contract sets to IFRS 17 aggregation groups by portfolio, annual cohort, and initial profitability, including onerous, no-significant-possibility, and remaining categories.

Instructions

Assigns contracts (or sets of contracts) to groups by portfolio, annual cohort (no more than one year apart, 22) and profitability at initial recognition: onerous (fulfilment cash flows a net outflow), no significant possibility of becoming onerous, and remaining (16).

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": {
      "contracts": "<contracts>"
    },
    "name": "ifrs17_level_of_aggregation"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractsYesContracts or sets of contracts

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare the read-only, idempotent, non-destructive profile, so the bar is lower. The description adds real behavioral substance by spelling out the three grouping criteria (portfolio, annual cohort, profitability) and the onerous test ('fulfilment cash flows a net outflow'), which is beyond what the annotations convey.

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?

A single dense sentence with the verb and resource front-loaded and every clause contributing (three classification dimensions). It packs a great deal into minimal text without wasted wording, though the nested parentheticals make it slightly heavy to parse.

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 one-parameter classification tool with full schema coverage and annotations covering safety, the description supplies the core IFRS 17.16 grouping logic an agent needs. It does not state what is returned (group labels/structure), which is the main remaining gap absent an output schema.

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?

With 100% schema coverage the baseline is 3, but the description goes further: 'annual cohort (no more than one year apart, 22)' clarifies the issueYear semantics, and 'onerous (fulfilment cash flows a net outflow)' explains how pvInflows/pvOutflows combine into the onerous determination that the schema only 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: 'Assigns contracts (or sets of contracts) to groups' by portfolio, cohort and profitability. The function is clearly distinct from the sibling measurement/rollforward/lookup tools, though no sibling is named explicitly to reinforce the contrast.

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 by the subject matter (initial recognition classification). There is no explicit statement of when to use this versus the other IFRS 17 tools, nor any prerequisites or exclusions.

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