Skip to main content
Glama

Propose the entry for a declared payment

declaration_paiement
Read-only

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: /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. Changed7 schema fields changed
    • addedInput schema / properties / charges / description
      Added value: +"Part du montant imputée aux provisions pour charges, en euros."
    • addedInput schema / properties / date_paiement / description
      Added value: +"Date de l'encaissement. Format ISO AAAA-MM-JJ. Par défaut, la date du jour."
    • addedInput schema / properties / locataire_nom / description
      Added value: +"Locataire dont le paiement est déclaré."
    • addedInput schema / properties / loyer / description
      Added value: +"Part du montant imputée au loyer hors charges, en euros."
    • addedInput schema / properties / montant / description
      Added value: +"Montant total encaissé, en euros."
    • addedInput schema / properties / periode / description
      Added value: +"Période couverte par le paiement — « mars 2026 »."
    • addedInput schema / properties / source / description
      Added value: +"Moyen de paiement constaté : virement, chèque, espèces, prélèvement."
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint=false, so safety is partly covered. The description still adds real behavioral context: no bank access, that it returns a proposed accounting entry plus a next action (quittance if complete, otherwise a receipt). It stops short of stating permissions or whether the proposal is persisted.

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?

Front-loaded with the trigger condition and packed with routing information without filler. It is telegraphic and slightly dense (mixed French shorthand plus a REST path), but every clause carries signal.

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?

With no output schema, the description usefully states what comes back (proposed entry + next action) and the precondition relative to quittance_loyer. For a proposal-style tool this is nearly complete, though auth/permission context is absent.

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% across 7 params, so the schema already carries the semantics; baseline 3 applies. The description only reiterates the date+montant confirmation and the extrait_bancaire branch, which the enum description already conveys.

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 action (propose the accounting entry for a declared rent payment) and names the resource unambiguously. It explicitly distinguishes itself from the sibling quittance_loyer by stating it must be called 'AVANT quittance_loyer', so an agent can route without opening schemas.

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 an explicit trigger ('QUAND le client vous dit qu'un loyer a été payé'), an explicit ordering rule versus the alternative (before quittance_loyer), and a branch condition for the bank-statement case (source=extrait_bancaire). When/when-not/alternative are all covered.

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