Skip to main content
Glama
nbrain-mena-proptech-rega-ejari

nbrain-mena-proptech-rega-ejari

calculate_fidic_ipc_payment_certificate

Compute FIDIC Red Book Interim Payment Certificates, applying materials on site, a 5% retention cap, and advance payment recovery to determine the certified amount due.

Instructions

Compute a FIDIC Red Book Interim Payment Certificate (IPC) with Materials-on-Site, 5% retention cap, and advance recovery.

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": {
      "contract_sum": "<contract_sum>",
      "cumulative_work_executed": "<cumulative_work_executed>"
    },
    "name": "calculate_fidic_ipc_payment_certificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
contract_sumYes
vat_rate_pctNo
retention_pctNo
materials_on_siteNo
cumulative_work_executedYes
previous_gross_certifiedNo
advance_payment_recovery_pctNo
retention_cap_pct_of_contractNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it only lists methodology ingredients. It does not state default values for the six optional parameters, units/currency handling, rounding, or whether the result is a certificate figure set or a document — all material for a financial computation.

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 front-loaded sentence with no filler or repetition. Its brevity is efficient, though it borders on under-specification for an eight-parameter financial tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter financial computation with no annotations, no output schema, and zero schema description coverage, one sentence is inadequate. The agent lacks the parameter meanings, defaults, and return-value expectations needed to invoke this confidently.

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 0%, so the description must compensate, and it does partially by naming Materials-on-Site, retention cap, and advance recovery. However, it leaves the critical distinction between 'retention_pct' and 'retention_cap_pct_of_contract' unresolved, and says nothing about contract_sum, cumulative_work_executed, previous_gross_certified, or vat_rate_pct, nor why all values are strings.

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?

States a specific verb ('Compute') and a precise, domain-specific resource ('FIDIC Red Book Interim Payment Certificate (IPC)') with the key methodological elements named. This is clearly distinguishable from the sibling calculators, which cover other jurisdictions' fee/tax regimes.

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?

There is no guidance on when to use this tool versus the sibling calculators, no statement of prerequisites (e.g. that a FIDIC Red Book contract and prior certificate data are needed), and no exclusions. The use case is only inferable from the domain terminology in the name and description.

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