Skip to main content
Glama

Lire une section ou un chapitre

lire_section
Read-onlyIdempotent

Texte intégral d'une section (ex. lfi:p1c1s1) ou d'un chapitre entier (ex. lfi:p1c1) : texte d'introduction et toutes les mesures, mot pour mot.

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": {
      "id": "<id>"
    },
    "name": "lire_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesIdentifiant global de section ou de chapitre

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive behavior, so the bar is lower. The description adds genuinely new context about the result: the returned text is verbatim ('mot pour mot') and includes both the introductory text and every measure, which tells the agent not to expect summarization. It does not say anything about output size or how a chapter-level read stitches together its sections.

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?

A single front-loaded sentence states the payload first, then the identifier forms, then the content guarantee. No filler, no restatement of the title, and the parenthetical examples are tightly placed where they are needed.

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?

For a one-parameter read tool with no output schema, the description covers what comes back and which identifier forms are accepted. What remains unclear is how a chapter read aggregates its sub-sections (each one's introduction included or not) and whether very large chapters return truncated or paged text.

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% and there is only one parameter, so the baseline is 3. The description earns credit by giving concrete identifier examples (lfi:p1c1s1 for a section, lfi:p1c1 for a chapter), which makes the optional 's\d+' segment of the schema pattern concrete and shows the agent what each accepted form buys.

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 opens with a specific verb+resource pair ('Texte intégral d'une section ... ou d'un chapitre entier') and makes the scope explicit, including what the payload contains (introduction text plus all measures, verbatim). It does not explicitly name alternatives like lire_introduction or lire_mesures, but by stating it returns the introduction and all measures it implicitly signals that it supersedes those narrower siblings.

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 only implied: an agent can infer that this tool is the choice when the complete text of a section or chapter is needed, and the inclusion of 'toutes les mesures' hints that it makes separate reads unnecessary. There is no explicit when-to-use/when-not-to-use statement, no mention of preferring lighter siblings such as lire_mesures for targeted lookups, and no warning about the cost of fetching a whole chapter.

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.