Skip to main content
Glama
ifrs15-revenue-agent

ifrs15-revenue-agent

by jabran

IFRS 15: Costs of obtaining a contract (91-104)

ifrs15_contract_costs
Read-onlyIdempotent

Determines whether incremental contract-obtaining costs are capitalised or expensed under IFRS 15, excludes costs incurred regardless, then amortises and impairment-tests the asset.

Instructions

Determines whether the incremental costs of obtaining a contract (e.g. sales commissions) are capitalised (91-93) or expensed under the one-year practical expedient (94), excludes costs incurred regardless of whether the contract is obtained, amortises the asset straight-line over the period of transfer including anticipated renewals (99), and tests it for impairment (101).

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": {
      "incrementalCostOfObtaining": "<incrementalCostOfObtaining>",
      "amortisationPeriodYears": "<amortisationPeriodYears>"
    },
    "name": "ifrs15_contract_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNoContractContract
yearsElapsedNoYears elapsed at reporting date
costsStillToProvideNoCosts still to be incurred to provide the goods/services [IFRS 15.101]
expectedToBeRecoveredNoCosts are expected to be recovered [IFRS 15.91]
costIncurredRegardlessNoCosts incurred regardless (e.g. legal fees for due diligence, travel) [IFRS 15.93]
remainingConsiderationNoRemaining consideration expected (impairment test) [IFRS 15.101]
amortisationPeriodYearsYesAmortisation period incl. anticipated renewals (years) [IFRS 15.94, IFRS 15.99]
incrementalCostOfObtainingYesIncremental costs (would not have been incurred without the contract) [IFRS 15.91, IFRS 15.92]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behaviour, so the safety profile is covered. The description adds substantial rule-level detail beyond that: which costs are excluded from capitalisation, the one-year practical expedient, straight-line amortisation including anticipated renewals, and an impairment test. It does not disclose the shape of the result (capitalised amount, expense, amortisation schedule, impairment loss), which is a gap given there is no output schema.

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 dense sentence, but it is front-loaded with the core determination and each clause maps to a distinct rule rather than repeating the title. Slightly long and could be broken into steps, but no clause is wasted.

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?

For an 8-parameter calculation tool with no output schema, the description fully explains the decision logic but never states what the tool returns or how results are presented. It also omits usage routing against sibling IFRS 15 tools. Adequate for understanding the computation, incomplete for knowing the output.

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 every parameter is already documented with its IFRS reference in the schema. The description reinforces the concepts behind a few parameters (costs incurred regardless, anticipated renewals) but adds no syntax, units, or interaction detail beyond what the schema already states. Baseline 3 is appropriate.

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 opens with a specific verb ('Determines') and a precisely scoped resource (incremental costs of obtaining a contract), and enumerates the four accounting outcomes it resolves: capitalisation vs. expensing, exclusion of costs incurred regardless, straight-line amortisation, and impairment. The IFRS paragraph citations anchor it firmly. It does not explicitly contrast itself with siblings such as ifrs15_allocation, but the topic is inherently distinct.

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?

The accounting logic implies when the tool applies (a contract-costs capitalisation question), but there is no explicit 'use this when...' statement or exclusion pointing to an alternative such as ifrs15_allocation or ifrs15_performance_obligations. The agent must infer the routing decision from the topic name alone.

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