Skip to main content
Glama

StrucTime : calculateurs et modèles du bâtiment

Retenue de garantie

structime_retenue_de_garantie
Read-onlyIdempotent

Combien de retenue sur mon marché et quand la récupérer ? Calculez la retenue prélevée à ce jour, la retenue au terme du marché et le reste à venir. La loi la plafonne à 5 % et la rend un an après la réception. Page : https://structime.com/outils/retenue-de-garantie/

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": {
      "marche": "<marche>",
      "taux": "<taux>",
      "facture": "<facture>"
    },
    "name": "structime_retenue_de_garantie"
  }
}

Input Schema

NameRequiredDescriptionDefault
tauxYesTaux de retenue · en %
marcheYesMontant du marché hors taxes · en €
factureYesMontant déjà facturé hors taxes · en €

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and openWorldHint=false, so safety behavior needs no restating. The description does add genuine domain context beyond the annotations: the legal 5% cap and the one-year release after réception, plus a statement of which three figures are returned. It stops short of saying how the remaining amount is derived or whether inputs are validated against the cap.

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?

Four short sentences: the use-case question, what is computed, the legal rule, then a reference URL. It is front-loaded and free of filler, with the reference link placed last where it does not interrupt the operative content.

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 read-only three-parameter calculator with no output schema, the description does the essential job by enumerating the three returned figures and stating the governing legal rule. It is adequate, but it omits how the valeurs are derived from the three inputs and whether the 5% cap is enforced or merely advisory, details an agent would need to set expectations about results.

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%, and each parameter already carries a name, unit and default (taux in %, marché and facture in € HT). The description's mention of the 5% legal cap implicitly tells the agent that taux is legally bounded, which is a small addition, but it adds no syntax or interaction details beyond the schema. 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 pairs a concrete verb ("Calculez") with a specific resource (retenue de garantie) and names the three computed values: retenue prélevée à ce jour, retenue au terme du marché, reste à venir. That is enough to distinguish it from sibling calculators like pénalités de retard or seuil de rentabilité, though it never explicitly contrasts itself with any of them.

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?

The opening question ("Combien de retenue sur mon marché et quand la récupérer ?") implies the user is sizing a retention and its recovery timing, so the intended context is implied rather than stated. There is no explicit when-not-to-use guidance and no pointer to a sibling tool for a related calculation.

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.

Resources