Skip to main content
Glama
WeRead MCP Server

WeRead MCP Server

by aixiasang

Get Book Chapters

get_book_chapters

Retrieve a book's table of contents by book ID to browse chapters and navigate reading structure. Optionally bypass the cache to refresh chapter data.

Instructions

Get book table of contents.

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_id": "<book_id>"
    },
    "name": "get_book_chapters"
  }
}

Input Schema

NameRequiredDescriptionDefault
forceNoBypass cache
book_idYesBook ID

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses nothing behavioral. It does not mention that results may be cached (the only hint is the 'Bypass cache' param description in the schema), whether the call is read-only, or what happens with an invalid or unfetched book_id.

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?

A single short sentence with no filler and the key concept front-loaded. It is not padded, though its brevity is closer to under-specification than to tight editing.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool is simple (two params, one required, output schema present), so the return shape need not be described. However, with no annotations and no mention of caching or freshness semantics introduced by the force parameter, an agent lacks the behavioral context a simple list tool still benefits from.

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 both book_id and force are already documented in the schema, including the cache-bypass semantics. The description adds no extra meaning beyond that, which is the baseline expectation when the schema does the heavy lifting.

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: 'Get book table of contents.' That is meaningfully distinct from sibling concepts like notes, bookmarks, or reviews. It stops short of naming how it differs from get_book_info, which likely also exposes structural metadata.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance at all. The agent must infer from the name alone whether to call this or get_book_info, search_books, or get_reading_progress, and nothing states prerequisites such as needing a valid book_id from a prior lookup.

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