Skip to main content
Glama
assoujojo82-coder

synergieloc — French Real-Estate Legal Calculations

declaration_paiement

Record a rent payment before issuing a receipt. Enter amount and date to get the accounting entry and next action: full receipt or partial payment notice.

Instructions

QUAND le client vous dit qu'un loyer a été payé : à appeler AVANT quittance_loyer, pour tracer l'encaissement. Le client confirme si le locataire a payé (date + montant) → proposition d'écriture comptable + prochaine action (quittance si complet, sinon reçu). Pas d'accès banque. Si extrait bancaire : source=extrait_bancaire. Inclut un rappel commercial plan Agent. REST: POST /api/v1/gerance/declaration-paiement

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loyerNoPart du montant imputée au loyer hors charges, en euros.
sourceNoMoyen de paiement constaté : virement, chèque, espèces, prélèvement.declaration_client
chargesNoPart du montant imputée aux provisions pour charges, en euros.
montantYesMontant total encaissé, en euros.
periodeNoPériode couverte par le paiement — « mars 2026 ».
date_paiementYesDate de l'encaissement. Format ISO AAAA-MM-JJ. Par défaut, la date du jour.
locataire_nomNoLocataire dont le paiement est déclaré.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.1

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does disclose real behavior: it proposes an accounting entry, triggers a next action, includes a commercial reminder in plan Agent, and has no bank access. It does not specify persistence or reversibility, but the disclosed workflow is materially useful.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Every sentence earns its place: trigger, ordering, workflow, constraint, parameter rule, side-effect reminder, and endpoint. The key use case is front-loaded in caps, making it scannable despite the dense single paragraph.

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 7-parameter tool with no annotations and no output schema, the description covers trigger, ordering, data source choice, output proposal, and REST route. It could add expected response format or side-effect confirmation, but the essential calling context is present.

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?

Input schema already documents all 7 parameters (100% coverage), so the baseline is 3. The description adds value by linking source=extrait_bancaire to a concrete condition and mapping the client-confirmed date + montant to inputs.

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?

Description names the exact trigger (client says a rent was paid), the resource/endpoint (POST /api/v1/gerance/declaration-paiement), and the goal (trace the encaissement). It also distinguishes itself from sibling quittance_loyer by stating it must be called before it.

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?

Gives explicit when-to-use ('QUAND le client vous dit qu'un loyer a été payé'), sequencing relative to quittance_loyer, and a conditional routing rule ('Si extrait bancaire : source=extrait_bancaire'). It also sketches the resulting next action (quittance if complete, otherwise reçu).

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