Skip to main content
Glama
io.github.ragbase/ragbase-shield

io.github.ragbase/ragbase-shield

Official
by ragbase

Enregistrer le projet final

shield_save_draft

Saves a coded final draft into a dossier’s Shield - sorties folder and restores real names only on the local computer, returning a coded file ID and size without exposing restored text.

Instructions

Save the final draft (written with codes) into the dossier's 'Shield - sorties' folder. Real names are restored on this computer only; the tool returns a coded file id (OUTPUT_n) and the size, never the restored text. Enregistre le projet final ; les vrais noms sont remis sur l'ordinateur uniquement.

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": {
      "dossier": "<dossier>",
      "title": "<title>",
      "content": "<content>"
    },
    "name": "shield_save_draft"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesTitre du fichier, avec des codes si besoin. File title.
formatNodocx (par défaut) ou md.docx
contentYesDocument final rédigé avec les codes (Markdown simple : titres #, listes, **gras**, tableaux). Final text written with codes.
dossierYesCode du dossier, par exemple DOSSIER_1 (dossier code).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.1

TDQS

A3.7/5.0
Behavior4/5

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

Moves well beyond the annotations by disclosing that the file lands in a specific folder, that the return value is a coded id (OUTPUT_n) plus size, and that restored text is never echoed back — important since there is no output schema. It does not clarify what happens when a file with the same title already exists, which matters given idempotentHint=false.

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 action and destination, then the return/privacy behavior. The French sentence largely restates the English, which is mild redundancy rather than useful elaboration.

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 correctly compensates by describing the returned coded id and size. Combined with full parameter documentation this is nearly complete; only overwrite/collision behavior and failure modes are 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%, so all four parameters are already documented. The description adds only the framing that content is code-written and that dossier determines the target folder; it contributes no new format or constraint detail beyond the schema.

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?

States a specific verb and resource ('Save the final draft') plus the exact destination ('the dossier's \'Shield - sorties\' folder'), which clearly separates it from the read-only siblings (list, read, search, status). It never names a sibling explicitly, but the write semantics are unambiguous.

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?

Usage is implied rather than stated: the draft must already be 'written with codes' and this is the final save step. There is no explicit when-not-to-use guidance, no mention of what to do if the dossier does not exist, and no stated alternative for saving non-final or non-coded documents.

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