Skip to main content
Glama

Read a section

get_section
Read-onlyIdempotent

Read one section of a book as Markdown, with its subsections, its code examples (each with the versions it was run on and whether it passes) and its citation block. A chapter's ID gives the chapter's opening. A long section comes in pages: pass the next_cursor you were given as cursor for the next one. An earlier ID of a section still works, and the answer says what it's called now. Give language, such as "ja" or "Japanese", for Rolling Edition's own translation, where the book has one: the section in that language, its code examples as they are, the facts of the translation, and the sections still in English (untranslated). The citation stays the English edition's.

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": {
      "book": "<book>",
      "section_id": "<section_id>"
    },
    "name": "get_section"
  }
}

Input Schema

NameRequiredDescriptionDefault
bookYes
cursorNo
editionNo
languageNo
section_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / language
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Language"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the description's added value is the paging model, the ID-alias/redirect behavior, and the translation semantics (translated body and code, untranslated sections listed, citation stays English). It still doesn't say what happens on an invalid ID or unknown book, so error behavior is undisclosed.

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-loads the payload description before the mechanics, and nearly every clause adds new information about paging, aliasing, or translation. The middle is dense and slightly run-on, but no sentence is filler.

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 read-only tool with an output schema, the description covers the non-obvious behaviors an agent needs: pagination, ID aliasing, and multilingual retrieval. The gaps are the meaning of `book` and `edition` and the failure modes, which matter given 0% schema coverage.

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?

With 0% schema description coverage the description must carry all parameter meaning, and it explains `cursor`, `language`, and `section_id` (including the chapter-ID case) reasonably well. It leaves `book` and `edition` essentially undefined — 'Rolling Edition' appears only incidentally in the language discussion, and the `edition` parameter is never explained, so half the surface remains undocumented.

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?

States a specific verb and resource ('Read one section of a book as Markdown') and immediately enumerates what comes back: subsections, code examples with run versions and pass status, and a citation block. The scope ('one section', with a chapter ID yielding the chapter opening) is concrete enough that an agent can separate it from a whole-book/contents reader without opening 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?

Gives explicit operational guidance for three situations: pass the returned `next_cursor` as `cursor` for paging, older section IDs still resolve and report their new name, and pass `language` for Rolling Edition translations. It never states when to prefer a sibling such as get_contents over this tool, so it stops short of full alternative routing.

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