Skip to main content
Glama

Lire un document du BOSS

lire_boss
Read-onlyIdempotent

Ouvre un document du BOSS : dernière version (par défaut), version applicable à une date (valid_on) ou version historique exacte (version_source_url), en entier ou un seul passage (fragment).

Renvoie le texte du document ou du passage, la version retenue, l’historique des versions (versions) et source_refs, à utiliser pour la citation.

Pour une version historique précise (cas expert), passer version_source_url : le contenu renvoyé est exactement cette version (si elle n’existe pas, l’outil le dit ; si le passage demandé n’y est pas trouvé, la version entière). valid_on et version_source_url ne se combinent pas.

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": {
      "canonical_url": "<canonical_url>"
    },
    "name": "lire_boss"
  }
}

Input Schema

NameRequiredDescriptionDefault
fragmentNoPassage précis à ouvrir (`fragment` d’un résultat de recherche).
valid_onNoDate `YYYY-MM-DD` : ouvrir la version applicable à cette date ; vide : dernière version.
canonical_urlYesURL canonique BOSS du document, issue de rechercher_boss ; une URL de passage `…#fragment` est acceptée.
max_text_charsNo0 (par défaut) : texte intégral ; sinon, taille maximale de `text_content`, en caractères.
versions_limitNoNombre de versions de l’historique renvoyées dans `result.versions` (0 pour accélérer).
version_source_urlNoVersion historique exacte : URL issue de `result.versions[*].source_url`.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), yet the description adds real behavioral context beyond them: what is returned (text, retained version, versions history, source_refs), the fallback when a fragment is absent (whole version returned), and the error behavior when a historical version does not exist. It omits only formatting/truncation detail for max_text_chars.

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?

Three short paragraphs, front-loaded with the modes, then return values, then the edge-case caveat. Dense and mostly waste-free, though the parenthetical fallback clause is slightly nested and could be tightened.

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?

With no output schema, the description carries the return-value burden and does so (text, retained version, versions, source_refs for citation). All six parameters are documented in the schema and the non-obvious interactions among them are covered in prose.

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; the description adds meaning by explaining the mutual exclusivity of valid_on and version_source_url and by characterizing version_source_url as an expert path whose value comes from result.versions[*].source_url. That is more than the schema states on its own.

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 opens with a specific verb and resource ('Ouvre un document du BOSS') and immediately enumerates the three resolution modes (default latest, valid_on, version_source_url) plus the full-document vs fragment scope. An agent can distinguish this read-one-document tool from the sibling search tools without inspecting the schema.

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 clear selection guidance: valid_on for a date-applicable version, version_source_url for the 'cas expert' exact historical version, and explicitly states the two cannot be combined. It stops short of naming an alternative tool (e.g. use rechercher_boss to obtain canonical_url), which the schema merely hints at.

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