Skip to main content
Glama

Get a space comment

gitbook_get_comment_in_space
Read-onlyIdempotent

Fetch a specific comment from a GitBook space by providing the space ID and comment ID.

Instructions

Get a space comment. (GET /spaces/{spaceId}/comments/{commentId})

Input Schema

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

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, which indicate a safe, idempotent read operation. The description adds the HTTP method (GET) but no further behavioral context. It does not contradict the annotations.

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 extremely concise: a single sentence plus the API endpoint. Every word is necessary, and no redundant information is present.

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

Completeness5/5

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

For a simple read operation, the description, combined with the annotations and schema, provides complete information. No output schema is needed, and the tool's behavior is fully captured.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

All three parameters have descriptions in the schema. The description of the body parameter adds useful context: 'Optional query parameters as a JSON object (e.g. { limit, page }).' This goes beyond the schema's type definition, helping the agent understand its purpose.

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 title and description clearly state that this tool gets a specific space comment. The API endpoint is provided, making the action unambiguous. It distinguishes from sibling tools like gitbook_list_comments_in_space or gitbook_get_comment_in_change_request by its specific scope.

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 vs alternatives. With many sibling tools for comments (list, post, update, delete), the agent gets no hints about when to select this get operation over others.

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