Skip to main content
Glama

Build tenants' service-charge statements from a syndic RGDD

regularisation_charges_rgdd
Read-only

QUAND le syndic a envoyé son RGDD (relevé général des dépenses) et qu'il faut établir le décompte de charges d'UN locataire. Traite chaque bloc du RGDD tel qu'il est imprimé, avec ses deux colonnes (à répartir / dont locatif) et SA clé de répartition propre — pas une clé unique pour toute la copropriété. Les lignes d'eau et de chauffage se répartissent au relevé de compteur, les autres aux millièmes du lot. Renvoie le décompte ligne à ligne, les contrôles de cohérence et le solde. À utiliser à la place de regularisation_charges dès que les charges viennent d'un décompte de syndic : l'autre outil répartit des charges forfaitaires.

Input Schema

NameRequiredDescriptionDefault
blocsYesUn objet par bloc du RGDD, dans l'ordre où le syndic l'imprime. Chaque bloc porte les deux colonnes du document et sa clé.
consosNoRelevés du lot en mode index, par code de bloc ou par clé : {"EAU_FROIDE_BAT_A": 62}. Sans relevé, la ligne à index ne peut pas être calculée.
period_endNoDernier jour inclus de l'exercice, format AAAA-MM-JJ (ex. 2019-03-31). L'exercice dure 365 jours.
provisionsNoTotal des provisions sur charges déjà encaissées sur l'exercice, en euros. Déduites du total pour donner le solde.
quote_partsYesMillièmes du lot, clé par clé : {"generales": 110, "immeuble": 110, "ascenseur": 110}. Une entrée par clé employée par les blocs ; une clé absente bloque le décompte plutôt que de produire un montant faux.
period_startNoPremier jour de l'exercice de charges, format AAAA-MM-JJ (ex. 2018-04-01).
presence_endNoDernier jour d'occupation du locataire, format AAAA-MM-JJ. Sert au prorata temporis avec presence_start.
presence_startNoPremier jour d'occupation du locataire, format AAAA-MM-JJ. À omettre s'il a occupé tout l'exercice.
total_immeubleNoTotal général imprimé en bas du RGDD, en euros. Sert de contrôle de complétude : si la somme des blocs ne retombe pas dessus, une ligne manque et le décompte est refusé.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the read-only annotations, the description discloses non-obvious domain behavior: each RGDD block carries its OWN allocation key rather than one key for the whole copropriété, water/heating lines go by meter reading and the rest by lot thousandths, and the tool returns line-by-line output plus consistency checks and a balance (important since there is no output schema). Some failure semantics (missing quote_part blocks the statement, total_immeuble triggers refusal) live mainly in the schema rather than the prose.

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 trigger condition is front-loaded in the first clause and the sibling exclusion is placed last, which is good ordering. The allocation-rule sentence is dense but earns its place; the text is at the upper bound of length for a description of this complexity.

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

Completeness5/5

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

For a 9-parameter, deeply nested tool with no output schema, the description supplies the mental model (per-block keys, two columns, meter vs thousandths), states what is returned, and routes to the sibling. Everything an agent needs to decide and call correctly is present across description and schema together.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with rich per-field descriptions, so the baseline is 3; the description still adds real meaning by explaining the two-column model (à répartir vs dont locatif) and the per-block key concept that governs how `blocs` and `quote_parts` must be populated. It does not add anything for the date/prorata or provisions fields, which the schema already handles.

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 opens with a precise trigger and verb ('établir le décompte de charges d'UN locataire' from a syndic's RGDD), so the resource and scope are unambiguous. It explicitly contrasts itself with the sibling regularisation_charges, so an agent can pick between the two without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the exact when ('QUAND le syndic a envoyé son RGDD') and the when-not ('À utiliser à la place de regularisation_charges dès que les charges viennent d'un décompte de syndic : l'autre outil répartit des charges forfaitaires'). Both the trigger condition and the alternative are named, leaving nothing to inference.

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