Skip to main content
Glama

Finaliser un dossier

finaliser_dossier

À utiliser quand l'utilisateur a répondu à toutes les questions. Rend le récapitulatif du dossier et le lien de la page où il dépose ses pièces, signe et paie, ou ce qui manque encore. Ne paie rien et ne dépose rien.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "jeton": "<jeton>"
    },
    "name": "finaliser_dossier"
  }
}

Input Schema

NameRequiredDescriptionDefault
jetonYesJeton du dossier, rendu par demarrer_dossier ou reprendre_dossier.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false with destructiveHint=false, and the description adds the essential context that the tool does not itself pay or deposit anything, instead handing the user a link to act. That resolves the main ambiguity about side effects. It could say more about whether the summary is persisted or regenerated on each call, but for a low-risk tool this is solid.

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?

Three short sentences: the trigger condition first, then the returned content, then the explicit non-actions. Every sentence carries information an agent needs, and nothing is redundant.

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?

There is no output schema, so the description must describe the return value, and it does: a summary, a link, or a list of missing items. Combined with a fully documented single parameter and safe annotations, an agent has what it needs to invoke it correctly; only sibling differentiation is left unaddressed.

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?

There is a single parameter, and its schema description already names the token and its origins (demarrer_dossier or reprendre_dossier) at 100% coverage. The tool description adds nothing further about the token's format or lifecycle, so the baseline 3 applies.

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 states a specific outcome: it returns the dossier summary plus a link to the page where the user submits documents, signs and pays, or reports what is still missing. That is far more concrete than the title 'Finaliser un dossier', which alone could be read as a mutation/commit action. It stops short of 5 because it never distinguishes this from the status-oriented sibling suivre_dossier, so an agent must still infer the boundary.

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

Usage Guidelines4/5

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

It gives an explicit trigger condition ('quand l'utilisateur a répondu à toutes les questions') and clarifies the tool's limits versus the user's own actions ('ne paie rien et ne dépose rien'). It does not name alternative tools such as suivre_dossier or reprendre_dossier, so the guidance is clear context but without exclusions.

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