Skip to main content
Glama
ifrs15-revenue-agent

ifrs15-revenue-agent

by jabran

IFRS 15: Step 3: transaction price (47-72)

ifrs15_transaction_price
Read-onlyIdempotent

Calculates IFRS 15 transaction price from fixed and variable consideration, applies the constraint, and adjusts for financing, non-cash consideration, and customer payables.

Instructions

Determines the transaction price: fixed consideration, variable consideration estimated by expected value or most likely amount (53) and constrained to the amount highly probable not to reverse (56), adjustment for a significant financing component when payment and transfer are more than a year apart (60-65), non-cash consideration at fair value (66) and consideration payable to the customer (70-72).

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_transaction_price"
  }
}

Input Schema

NameRequiredDescriptionDefault
contractNoContractContract
scenariosNoVariable outcomes
financingRateNoRate for a separate financing transaction with the customer (decimal) [IFRS 15.64]
variableMethodNoEstimation method [IFRS 15.53] Options: expected_value (Expected value (many outcomes)); most_likely (Most likely amount (binary outcomes))expected_value
fixedConsiderationNoFixed consideration
highlyProbableThresholdNoPolicy: 'highly probable' as a probability (decimal) [IFRS 15.56]
payableIsForDistinctGoodNoThat payment is for a distinct good or service from the customer [IFRS 15.70, IFRS 15.71]
nonCashConsiderationFairValueNoNon-cash consideration at fair value [IFRS 15.66]
considerationPayableToCustomerNoConsideration payable to the customer (credits, coupons, slotting fees) [IFRS 15.70]
monthsBetweenTransferAndPaymentNoMonths between transfer and payment (+ customer pays later, − pays in advance) [IFRS 15.63]

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?

The annotations already establish that this is a safe, idempotent, read-only, closed-world calculation. The description adds meaningful domain behavior beyond the annotations by explaining estimation methods, the highly-probable constraint, financing-component adjustment, and treatment of non-cash and payable consideration. It does not describe the return value, but the annotations and calculation purpose make the safety profile clear.

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 a single information-dense sentence that is front-loaded with the main purpose and then lists the relevant IFRS 15 components. It contains no filler, though the long clause-heavy sentence is somewhat dense and could be easier to scan if structured as a short list.

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 a complex ten-parameter calculation tool with no output schema, the description covers the main IFRS 15 transaction-price components well and references the relevant standards. However, it does not explain the return value or output shape, and it relies heavily on the schema for parameter-level details, leaving some contextual gaps for a calculation of this complexity.

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 all ten parameters are already documented in the schema, including IFRS references and enum options. The description reinforces the main calculation components but does not add parameter-level syntax or usage detail beyond what the schema provides.

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 states a specific verb and resource: 'Determines the transaction price.' It also enumerates the exact components covered, including fixed consideration, variable consideration, financing, non-cash consideration, and consideration payable to the customer, which clearly distinguishes it from sibling IFRS 15 steps such as allocation or performance obligations.

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?

The description explains what the tool calculates but gives no explicit guidance on when to use it versus sibling tools, no prerequisites, and no exclusions. Usage is only implied by the tool's purpose and title, so an agent must infer the selection context.

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