Skip to main content
Glama

Turn Zero Cloud for Backend & Hosting

Read documentation

read_documentation
Read-onlyIdempotent

Read the platform's documentation.

Reads cover tree indexes, pages and sections. With page, query matches lines and part: outline lists headings. To search across pages, call search_documentation. Only trees your account holds are accessible.

An action's longer reference is at /cloud/reference/actions/<action-name>/, with underscores changed to hyphens.

Chunks continue with next_offset and the returned stamp until next_offset is null. Hosts may cut batched long reads.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "read_documentation"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoThe page's path, as the index lists it. Base path and trailing slash may be omitted with `tree`. Without `tree`, the base path is required. Unlisted routes give `context_not_found`.
partNoDefault `index`: one line per page. `outline`: page headings and anchors. `full`: whole tree. With `page`, outline gives its headings without `section`; full gives its text or the named section. `query` permits only index.
treeNoAn account-held tree. Optional only when `page` starts with its base path, otherwise required or `invalid_request`.
limitNoChunk size in Unicode code points, at most 16000. Larger values read 16000 with a `note`.
queryNoMatches page lines containing a query word. Needs `page`, else `invalid_request`; whole-documentation search is `search_documentation`. Only default `part`.
stampNoPrevious stamp of this same read, copied unchanged: 64 lower-case hexadecimal characters. Nonzero offset requires it, first reads omit it. `context_changed` requires offset 0 without a stamp. A stamp grants no access.
offsetNoCode-point offset in the whole text. Continuation uses `next_offset`; nonzero needs `stamp`.
sectionNoWith `page`, an outline anchor or heading text, case-insensitive. Unknown gives `context_not_found`. Excludes `query`; `part` may be its default or `full`.

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?

The annotations already cover read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful context beyond that: account-held tree access, chunk continuation via `next_offset` and `stamp`, and the warning that hosts may cut batched long reads.

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?

The definition is front-loaded with the purpose and then organized into short, purposeful paragraphs covering search alternatives, access, action reference paths, and chunk continuation. Every sentence contributes operational context without waste.

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 an eight-parameter documentation reader, the description covers access constraints, search alternatives, pagination, and host truncation. It does not fully describe the return shape, but the rich annotations and 100% schema coverage carry most of that burden.

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 the schema already documents all eight parameters thoroughly. The description restates some behavior such as `query` matching lines and `part: outline` listing headings, but adds little parameter meaning beyond what the schema provides.

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: 'Read the platform's documentation.' It immediately distinguishes the tool from `search_documentation` and states the scope as tree indexes, pages, and sections, so an agent can tell what it retrieves 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 Guidelines5/5

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

It explicitly routes cross-page searching to `search_documentation` and explains how `page`, `query`, and `part: outline` interact. It also states that only account-held trees are accessible, giving the key prerequisite for use.

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