Skip to main content
Glama

Get a space revision

gitbook_get_revision_by_id
Read-onlyIdempotent

Retrieve a specific revision from a GitBook space by providing the space ID and revision ID.

Instructions

Get a space revision. (GET /spaces/{spaceId}/revisions/{revisionId})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spaceIdYesPath parameter: spaceId.
revisionIdYesPath parameter: revisionId.
bodyNoOptional query parameters as a JSON object (e.g. { limit, page }).
Behavior2/5

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

Annotations already declare readOnlyHint and idempotentHint, which cover the safety profile. The description adds the HTTP method and endpoint but provides no additional behavioral context such as potential pagination (though the body parameter hints at it via schema), locking behavior, or result completeness. It does not contradict annotations, but adds minimal value.

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?

The description is a single sentence with the endpoint, which is very concise and front-loaded. Every word is relevant. It could be slightly more informative without losing conciseness, but it achieves clarity in a minimal footprint.

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?

Given the lack of an output schema, the description should at least hint at what the response contains (e.g., revision metadata, page list). It does not, leaving the agent uncertain about the return value. The schema and annotations cover safety and input, but the output is unaddressed, making the tool incomplete for an agent.

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?

Parameter descriptions in the schema are complete (100% coverage), so the description does not need to add much. The description does not provide extra meaning beyond what the schema states, fulfilling the baseline. No additional details on parameter relationships or default values are given.

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 'Get a space revision' and includes the HTTP endpoint, indicating the specific resource and action. However, among siblings like gitbook_get_current_revision and gitbook_get_revision_of_change_request_by_id, the description does not differentiate which revision retrieval use case this serves, missing a chance to distinguish.

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 provides no guidance on when to use this tool versus alternatives such as gitbook_get_current_revision or gitbook_get_revision_of_change_request_by_id. No context on prerequisites, when not to use it, or why one might choose it over siblings.

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/HoYongJin/gitbook-mcp'

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