Skip to main content
Glama

Calculer la restitution du depot de garantie

calculate_deposit_restitution

Compute the security deposit legal cap, restitution deadline, allowed retentions and any late penalty (art. 22 loi 89-462). FR: depot de garantie, restitution, retenues, delais.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lease_typeYesType de bail : 'vide' ou 'meuble'
deposit_amountYesDepot de garantie verse, en euros
lease_end_dateYesDate de fin de bail, format YYYY-MM-DD
monthly_rent_hcYesLoyer mensuel hors charges, en euros
exit_inspection_conformityYesL'etat des lieux de sortie est-il conforme a celui d'entree ?

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It lists calculations but does not state that the tool is read-only, deterministic, or side-effect-free, nor does it describe error handling or assumptions. The absence of any safety or side-effect disclosure is a notable gap for a tool that may have legal implications.

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 description is a single, front-loaded sentence that packs key information: what is computed and the legal reference. The appended French phrase is redundant with the title but short and harmless. No wasted words, though it could be slightly tightened by removing the French repetition.

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?

With no output schema, the description partially covers return values by naming the computed elements (cap, deadline, retentions, penalty). However, it does not describe the output format, units, or potential edge cases (e.g., when exit_inspection_conformity is false). For a tool with 5 required parameters and no output schema, this is minimally complete but leaves room for ambiguity.

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?

The input schema provides 100% coverage with descriptions for all 5 parameters, so the baseline is 3. The tool description does not add parameter-level syntax or format details, but it provides useful context by linking parameters to legal concepts (cap, deadline, retentions, penalty). This is adequate but not compensatory.

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 clearly specifies the tool's function with a specific verb ('Compute') and resource ('security deposit legal cap, restitution deadline, allowed retentions and any late penalty'), citing the legal basis (art. 22 loi 89-462). It distinguishes itself from sibling tools like generate_bordereau_restitution by focusing on calculation rather than document generation, though it does not explicitly name alternatives.

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 description implies usage when computing deposit restitution figures, but it provides no explicit when-to-use guidance, exclusions, or references to alternative tools (e.g., generate_bordereau_restitution for document generation). The context is clear enough for a knowledgeable user but lacks direct comparison.

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.

TDQS

A3.9/5.0
Disambiguation4/5

Most tools are clearly distinct document generators or calculators, but check_rent_control and get_reference_rent both deal with rent control and could be confused, as could simulate_irl and simulate_irl_by_quarters. Descriptions mostly clarify boundaries, so only minor ambiguity exists.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (e.g., generate_quittance, check_address_risks, simulate_irl). The verbs vary by action but the structure is uniform and predictable across the entire set.

Tool Count4/5

With 21 tools covering a broad but focused domain of French rental law, the count is slightly above the ideal 3-15 range but each tool serves a distinct legal or calculation purpose. The scope is large but justified for a comprehensive rental toolkit.

Completeness5/5

The toolset covers the full lifecycle of a French residential lease: creation, amendments, termination, deposits, guarantors, inventories, rent receipts, unpaid rent, rent control, and rent revision. There are no obvious missing operations for the stated purpose.