Skip to main content
Glama
ifrs15-revenue-agent

ifrs15-revenue-agent

by jabran

IFRS 15: Step 1: contract & modifications (9-21)

ifrs15_contract_and_modification
Read-onlyIdempotent

Tests the five IFRS 15 contract criteria and assesses contract modifications to determine separate-contract treatment, prospective termination-and-new-contract accounting, or cumulative catch-up adjustment.

Instructions

Tests the five contract criteria (9) and accounts for a contract modification (18-21): a separate contract when distinct goods are added at stand-alone selling prices; otherwise a prospective termination-and-new-contract (blended price for remaining distinct goods) or a cumulative catch-up adjustment for a partially satisfied single performance obligation.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ifrs15_contract_and_modification"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNoContractContract
addedUnitsNoUnits added by the modification
modificationNoIs there a contract modification? Options: none (No); assess (Yes: assess it)none
priceReflectsSspNoPrice increase reflects their stand-alone selling prices [IFRS 15.20(b)]
addsDistinctGoodsNoAdds distinct goods or services [IFRS 15.20(a)]
addedConsiderationNoConsideration added by the modification
collectionProbableNo(e) Collection of consideration probable [IFRS 15.9(e)]
modifiedTotalPriceNoCatch-up: modified transaction price
originalTotalPriceNoCatch-up: original transaction price [IFRS 15.21(b)]
rightsIdentifiableNo(b) Each party's rights identifiable [IFRS 15.9(b)]
commercialSubstanceNo(d) Commercial substance [IFRS 15.9(d)]
approvedAndCommittedNo(a) Approved and parties committed [IFRS 15.9(a)]
remainingOriginalUnitsNoProspective: remaining units under the original contract
revenueRecognisedToDateNoCatch-up: revenue recognised to date
paymentTermsIdentifiableNo(c) Payment terms identifiable [IFRS 15.9(c)]
progressAfterModificationNoCatch-up: measure of progress after modification (decimal)
remainingDistinctFromTransferredNoRemaining goods/services are distinct from those already transferred [IFRS 15.21(a)]
unrecognisedOriginalConsiderationNoProspective: original consideration not yet recognised [IFRS 15.21(a)]

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 establish safe read-only, idempotent, closed-world behavior, so the description earns credit for adding the substantive decision logic: separate contract, prospective termination-and-new-contract, or cumulative catch-up. It does not describe the return format or what happens when the five contract criteria fail.

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 front-loaded and contains no wasted wording, but the single long sentence with two semicolons is dense. It communicates the branches efficiently, though splitting them would improve readability.

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 18-parameter tool with no output schema, the description explains the core accounting logic but omits what the tool returns and how to interpret the assessment. The detailed schema and safety annotations cover much of the gap, leaving the definition adequate but incomplete.

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 coverage is 100%, and each of the 18 parameters has a descriptive label with IFRS references. The description does not add parameter-level meaning beyond what the schema already provides, so baseline 3 is appropriate.

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 the specific IFRS 15 Step 1 scope: testing the five contract criteria in paragraph 9 and accounting for modifications under paragraphs 18-21. It also distinguishes the three modification outcomes, so an agent can tell this apart from sibling tools such as transaction price or allocation.

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 'Step 1' title and the contract-criteria/modification scope, but the description never explicitly says when to use this tool versus siblings or when not to use it. There are no named alternatives or exclusions.

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