Skip to main content
Glama

get_space_revision

Retrieve the full content tree of a GitBook space or change request to understand your documentation hierarchy.

Instructions

Get the full content tree of a GitBook space (or change request)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spaceIdYesThe ID of the space
changeRequestIdNoOptional change request ID to read CR content instead of published
Behavior2/5

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

No annotations are provided, so the description carries the full burden of behavioral disclosure. It mentions the scope (space or change request) and that it is a get operation, but does not explicitly state that it is read-only, describe what the 'content tree' contains (titles, page content, ordering), or warn about potential large responses.

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 description is a single, well-structured sentence that conveys the core purpose without unnecessary words. It is appropriately sized and front-loaded.

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

Completeness2/5

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

With no annotations and no output schema, the description must stand alone to explain the tool's behavior. It fails to describe the nature of the returned content tree (e.g., hierarchical structure, whether it includes page content) or any important behavioral considerations like read-only safety. For a tree-returning tool, this is incomplete.

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 both spaceId and changeRequestId clearly explained in the schema. The description adds no parameter-level detail beyond what the schema already provides, so the baseline of 3 is appropriate.

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 clearly states a specific action ('Get') and resource ('full content tree of a GitBook space (or change request)'). This distinguishes it from sibling tools like get_space (likely metadata) and list_pages (likely a flat list), though it does not explicitly contrast them.

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?

The description offers no guidance on when to use this tool versus alternatives. It neither specifies use cases beyond the generic 'get the full content tree' nor provides exclusions like 'for space metadata use get_space instead.'

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lucasbenevinuto/gitbook-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server