Skip to main content
Glama
silamir

boondmanager-mcp-server

by silamir

Valider ou refuser un CRA / une note de frais / une absence

boond_validations_update
Idempotent

Resolve pending validations: approve or reject timesheet, expense, or absence requests after reviewing them. Updates the validation workflow state.

Instructions

Approuve (validate) ou refuse (reject) une validation en attente : CRA, note de frais ou demande d'absence.

Quand : après boond_validations_search (validationStates: ["waitingForValidation"]) et l'examen du document (boond_timesheets_get, boond_expenses_get, boond_absences_get). Plutôt que : boond_validations_get pour relire la validation avant de décider ; il n'existe pas d'autre chemin d'écriture sur le workflow de validation (state n'est pas un champ des CRA / notes / absences).

  • PUT /validations/{id} avec state: validated | rejected (le vocabulaire de validationStates) et reason. Route déduite du modèle validation et non éprouvée sur un tenant de test : un 404 / 405 doit être remonté tel quel.

  • Un refus demande une confirmation à l'utilisateur final si le client MCP déclare la capacité elicitation (désactivable par BOOND_MCP_CONFIRM_REJECT=0) ; un refus de confirmer renvoie decided: false sans appel API.

  • Idempotent : rejouer la même décision renvoie le même état.

Returns : { id, decided, state, documentType, documentId, reason? } et la fiche de la validation mise à jour.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID de la validation (ligne de `boond_validations_search`), pas celui du CRA / de la note / de l'absence.
reasonNoMotif, recommandé sur un refus — transmis dans `reason`.
decisionYesvalidate → `validated` ; reject → `rejected` (confirmation demandée à l'utilisateur si le client la supporte).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
stateNoÉtat demandé (`validated` / `rejected`)
reasonNo
decidedYesfalse quand l'utilisateur a refusé la confirmation (aucun appel API)
documentIdNo
documentTypeNoType du document validé (timesreport / absencesreport / expensesreport)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.17.0

TDQS

A4.9/5.0
Behavior5/5

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

It goes well beyond the annotations: rejection requires user confirmation when elicitation is supported and is disabled by BOOND_MCP_CONFIRM_REJECT=0, declined confirmation returns decided:false without an API call, the operation is idempotent, and the inferred PUT route may return 404/405 that should be surfaced as-is. This is rich, non-obvious behavioral context that annotations alone do not provide.

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?

Dense and front-loaded: purpose in the first sentence, followed by when, alternatives, route risk, confirmation behavior, idempotence, and return shape. Every sentence contributes essential information; no filler or repetition of the schema.

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 mutation tool with an output schema and annotations, the description fully covers what an agent needs: decision semantics, prerequisites, route caveats, confirmation flow, idempotence, and return value shape. Nothing critical is missing.

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%, so the baseline is 3, but the description adds real value: it maps decision values (validate → validated, reject → rejected), explains that id is the validation id and not the document id, and notes that reason is recommended for refusals. This clarifies usage beyond the raw schema.

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 states exactly what the tool does: 'Approuve ou refuse une validation en attente : CRA, note de frais ou demande d'absence' with the specific verbs validate/reject and the resource (validation). It also distinguishes itself from siblings like boond_validations_search and boond_validations_get, and clarifies there is no other write path in the workflow.

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?

The description explicitly says when to use it: after boond_validations_search and document review via boond_timesheets_get, boond_expenses_get, boond_absences_get. It also tells the agent what NOT to use instead (boond_validations_get for re-reading) and that no alternative write path exists on the validation workflow.

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

Deploy Server

Other Tools