Skip to main content
Glama

Update a change request comment

gitbook_update_comment_in_change_request

Update an existing comment in a GitBook change request by providing the space, change request, and comment IDs.

Instructions

Update a change request comment. (PUT /spaces/{spaceId}/change-requests/{changeRequestId}/comments/{commentId})

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spaceIdYesPath parameter: spaceId.
changeRequestIdYesPath parameter: changeRequestId.
commentIdYesPath parameter: commentId.
bodyNoRequest body as a JSON object, per the GitBook API for this operation.
Behavior2/5

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

Annotations indicate a write operation (readOnlyHint=false) and non-idempotent, but the description adds no extra behavioral context such as permissions, error conditions, or side effects. It merely restates the operation.

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: two sentences, no redundancy. Every word serves a purpose.

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?

No output schema or description of return values. For an update tool, the return value (e.g., updated comment) is important. Also lacks guidance on the request body structure, leaving the agent to infer from API documentation.

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

Parameters2/5

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

Schema coverage is 100%, but the description adds no meaningful explanation beyond what the schema already provides. The body parameter description is generic ('Request body as a JSON object'), offering no specifics on structure or content.

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 clearly states the action ('Update'), the resource ('a change request comment'), and provides the HTTP method and URL pattern. This distinguishes it from sibling tools like get_comment_in_change_request or post_comment_in_change_request.

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?

No guidance on when to use this tool versus alternatives. Siblings include many comment-related tools, but the description does not specify when to update versus create or delete, nor any prerequisites or conditions.

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