Skip to main content
Glama

book_get_text

Read-onlyIdempotent

Return the full text of an indexed book by Gutenberg id, paginated by passage. Use from_seq + max_passages to page through it. For books in the catalog that are NOT indexed locally, returns the public gutenberg.org plain-text URL so the agent can fetch it directly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_seqNoPassage index to start from (0-based, default 0).
gutenberg_idYesProject Gutenberg ebook id.
max_passagesNoMaximum passages to return per call (default 40, max 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / from_seq / minimum
      Added value: +0
    • changedInput schema / properties / from_seq / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / gutenberg_id / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / max_passages / maximum
      Added value: +200
    • addedInput schema / properties / max_passages / minimum
      Added value: +1
    • changedInput schema / properties / max_passages / type
      Previous value: -"number"New value: +"integer"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is fully covered. The description adds real behavioral value beyond them: it is paginated by passage and falls back to returning a public URL for un-indexed books. However it never says what a 'passage' is, whether a total count is returned, or how the agent knows paging is exhausted.

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 sentences, zero filler, front-loaded with the core action before the paging instruction and the fallback caveat. Every sentence carries distinct information.

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 does explain the two possible return shapes (paginated passage text or a gutenberg.org URL), which is the critical thing an agent needs. It stops short of explaining pagination termination or passage granularity, a minor gap for a paged-text tool.

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%, with defaults and min/max bounds documented for all three parameters, so the schema does the heavy lifting and a 3 is the baseline. The description reinforces the paging contract (from_seq + max_passages) but adds no syntax or semantic detail the schema lacks.

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 ('Return the full text of an indexed book by Gutenberg id') and carves out the indexed-vs-catalog scope. It does not name the closely related siblings (book_fulltext_search, book_details) that an agent might otherwise pick, so differentiation is implicit rather than explicit.

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?

It says to use from_seq + max_passages to page through the text, which is parameter usage rather than tool selection. It does give one genuine routing condition ('for books NOT indexed locally, returns the gutenberg.org URL'), but never says when to prefer this over book_fulltext_search or book_search.

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.