Skip to main content
Glama
ifrs15-revenue-agent

ifrs15-revenue-agent

by jabran

IFRS 15: Step 5: over-time revenue & progress (35-45, B19)

ifrs15_over_time_revenue
Read-onlyIdempotent

Tests IFRS 15 over-time recognition criteria, then calculates cost-to-cost progress, cumulative and period revenue, margin, contract asset/liability, and onerous contract checks.

Instructions

Tests the three over-time criteria (35); if met, measures progress with a cost-to-cost input method, excluding uninstalled materials that do not depict performance and recognising revenue equal to their cost (B19), and computes cumulative and period revenue, cost, margin, the contract asset or liability against billings, and the onerous contract check.

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": {
      "transactionPrice": "<transactionPrice>",
      "totalExpectedCosts": "<totalExpectedCosts>",
      "costsIncurredToDate": "<costsIncurredToDate>"
    },
    "name": "ifrs15_over_time_revenue"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNoContractConstruction contract
billingsToDateNoAmounts billed to date [IFRS 15.105]
noAlternativeUseNo(c) Asset has no alternative use to the entity [IFRS 15.35(c), IFRS 15.36]
transactionPriceYesTransaction price
totalExpectedCostsYesTotal expected costs (including uninstalled materials)
costsIncurredToDateYesCosts incurred to date (excluding uninstalled materials)
uninstalledMaterialsCostNoCost of uninstalled materials (e.g. specialised equipment) [IFRS 15.B19(b)]
enforceableRightToPaymentNo(c) Enforceable right to payment for performance to date [IFRS 15.35(c), IFRS 15.37]
customerConsumesAsPerformedNo(a) Customer simultaneously receives and consumes the benefits [IFRS 15.35(a)]
revenueRecognisedPriorPeriodsNoRevenue recognised in prior periods
customerControlsAssetAsCreatedNo(b) Customer controls the asset as it is created or enhanced [IFRS 15.35(b)]
uninstalledMaterialsTransferredNoControl of those materials has transferred to the customer [IFRS 15.B19(b)]

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, and the description goes well beyond that by disclosing the actual methodology: criteria testing, cost-to-cost input method, exclusion of uninstalled materials that do not depict performance, B19 cost-equal-to-revenue treatment, and the onerous contract check. What is not stated is what the tool returns when none of the over-time criteria are met (presumably a failed-criteria result rather than an error), which is the main behavioral ambiguity.

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, but front-loaded with the criterion test before the measurement mechanics and outputs. Every clause carries technical content (B19 exclusion, onerous check, contract asset/liability), so there is little waste despite the length; readability suffers slightly from being one unbroken sentence.

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 12-parameter calculation tool with no output schema, the description compensates by enumerating the computed outputs (cumulative and period revenue, cost, margin, contract asset or liability vs billings, onerous contract check). The only gap is the not-met-criteria branch, which an agent must guess at, but overall an agent has enough to invoke and interpret it.

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?

With 100% schema description coverage, the schema already documents every field including the IFRS references on the criterion booleans. The description reinforces the conceptual model — particularly the split between totalExpectedCosts (including uninstalled materials) and costsIncurredToDate (excluding them) — but adds no per-parameter syntax, unit, or default guidance beyond what the schema supplies. Baseline 3 applies.

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 and scope ('Tests the three over-time criteria (35)') and then enumerates the computation performed: progress via cost-to-cost input method, revenue/cost/margin, contract asset or liability against billings, and the onerous contract check. This clearly identifies it as the Step 5 over-time revenue engine within the IFRS 15 family. It does not, however, name any sibling or state which adjacent tools handle allocation, transaction price, or point-in-time recognition.

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 IFRS 15 Step 5 framing and the internal conditional 'if met' logic — an agent can infer this is the tool for contracts satisfied over time. There is no explicit guidance on when to prefer a different sibling (e.g. for contracts not meeting the criteria, or for allocation/transaction-price work), nor any stated prerequisites for the three required inputs.

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