Skip to main content
Glama
ifrs15-revenue-agent

ifrs15-revenue-agent

by jabran

IFRS 15: Step 2: performance obligations (22-30)

ifrs15_performance_obligations
Read-onlyIdempotent

Identifies IFRS 15 performance obligations from promised goods/services, assesses distinctness, series, material rights, and principal-agent issues, and combines non-distinct promises.

Instructions

Identifies performance obligations from the promised goods and services: distinct if capable of being distinct and distinct in the context of the contract (27-29), series of substantially the same goods or services (22(b)), customer options that are material rights (B40), and principal versus agent (B34-B38). Non-distinct promises are combined into a single obligation.

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": {
      "items": "<items>"
    },
    "name": "ifrs15_performance_obligations"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesPromises
contractNoContractContract

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 declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered. The description adds genuine behavior beyond that: 'Non-distinct promises are combined into a single obligation', telling the agent how outputs are grouped rather than returning one result per input item. It still does not describe the returned structure or how partial/ambiguous flags are surfaced, so it is not a 5.

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?

Two sentences, front-loaded with the action and resource, with criteria listed compactly. The dense parenthetical paragraph citations (27-29, 22(b), B40, B34-B38) aid domain grounding but border on noise for an agent deciding whether to call the tool.

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 read-only, closed-world tool with two parameters and full schema documentation, the definition covers what is assessed, the criteria applied, and the combining rule. With no output schema, it would ideally sketch what comes back (e.g., a list of identified obligations with pass/fail flags), but nothing essential to correct invocation is missing.

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 field already carries its IFRS reference (27(a), 27(b), 22(b), B40, principal/agent). The description touches the same concepts at a high level but adds no per-parameter meaning beyond the schema, and says nothing about the 'contract' label or how multiple items interact. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

Opens with a specific verb and resource: 'Identifies performance obligations from the promised goods and services', then enumerates the exact criteria covered (distinctness, series, material rights, principal vs agent). This is clearly step-2 identification rather than price allocation or contract modification, so an agent can distinguish it from siblings by scope. No sibling is named explicitly, which keeps it short of a 5.

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: the enumeration of IFRS 15 criteria signals that this tool is for the step-2 assessment, and the closing sentence hints at the combining consequence. There is no explicit when-to-use, no prerequisite (e.g., that transaction price or contract identification should come first), and no named alternative for cases like over-time revenue or allocation.

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