Skip to main content
Glama

BatiControl — Construction DPGF, Law 1975, PLU/BIM & Warranties

benchmark_dpgf_quotes_and_margin_floor

Benchmarks M29 supplier DPGF quotes, enforces the 25.0% gross margin floor, and computes counter-offer targets in p95 125 ms (0,30 EUR, 100% deterministic).

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": "benchmark_dpgf_quotes_and_margin_floor"
  }
}

Input Schema

NameRequiredDescriptionDefault
matter_refNo
lot_reference_codeNoLOT-02-GO-RSO-PISCINE
client_selling_excl_tax_eurNo
quoted_dry_cost_excl_tax_eurNo

Output Schema

NameRequiredDescriptionDefault
tenant_scope_idYes
lot_reference_codeYes
margin_verdict_codeYes
counter_offer_ceiling_eurYes
observed_gross_margin_pctYes
required_margin_floor_pctYes
client_selling_excl_tax_eurYes
quoted_dry_cost_excl_tax_eurYes
required_reduction_delta_eurYes
is_margin_floor_25pct_compliantYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does add real behavioral context that annotations could not: determinism (100% deterministic), p95 latency of 125 ms, and a cost of 0,30 EUR per call. However it never says whether the tool has side effects (does it mutate the quote or issue a counter-offer, or merely compute targets?), nor what happens when the computed result breaches the 25.0% floor.

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; the latency/cost/ determinism parenthetical earns its place as decision-relevant context. Minor clutter from the mixed-language '0,30 EUR' formatting, but nothing extraneous.

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?

An output schema exists, so return values need not be explained, but that is the only gap the schema closes. With four parameters at 0% description coverage, no side-effect disclosure, and no guidance on the defaulting behavior, an agent cannot tell whether calling with no arguments is safe or meaningful. Inadequate for a tool whose name implies both computation and enforcement.

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 0%, so the description must compensate for four undocumented parameters, including a matter reference, a lot code, a client selling price and a quoted dry cost. It only indirectly gestures at the two monetary inputs via 'quotes' and 'margin floor' and says nothing about matter_ref or lot_reference_code. Critically, all four parameters are optional with hardcoded defaults, meaning a zero-argument call silently benchmarks a fixed sample lot — a semantic trap the description leaves entirely unaddressed.

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?

Concrete verbs (benchmarks, enforces, computes) attached to concrete resources (M29 supplier DPGF quotes, 25.0% gross margin floor, counter-offer targets), which distinguishes it from the compliance/billing siblings. The heavy domain jargon (M29, DPGF) and lack of a plain-language gloss keep it short of a 5 for audiences unfamiliar with the domain.

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 never states when to call this rather than the sibling feasibility or billing-reconciliation tools, nor any precondition such as having received a supplier quote before benchmarking it. Usage is only inferable from the tool name.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.