Skip to main content
Glama

Apply a template to a space.

gitbook_apply_template_to_space

Apply a template to a GitBook space to standardize content structure and layout.

Instructions

Apply a template to a space.. (POST /spaces/{spaceId}/content/template)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
spaceIdYesPath parameter: spaceId.
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?

The description adds no behavioral context beyond what annotations already provide. Annotations indicate a non-readonly, non-idempotent, open-world mutation, but the description does not clarify side effects (e.g., whether existing content is overwritten), required permissions, or destructive potential.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence plus endpoint, making it concise. However, the brevity sacrifices necessary detail. It could be restructured to separate purpose, usage, and effects.

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 complexity of applying a template (likely altering space content), the description is incomplete. It lacks mention of return values, effect on existing content, required configuration, or any post-conditions. This is insufficient for an agent to understand the tool's impact.

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 parameter descriptions are minimal: 'Path parameter: spaceId' and 'Request body as a JSON object, per the GitBook API for this operation.' The description itself adds no further detail about parameter usage, such as what properties the body should contain. This does not effectively guide the agent.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Apply a template to a space' which is a specific verb and resource. However, it does not differentiate from sibling tools like gitbook_create_space or gitbook_duplicate_space that might also involve templates. The inclusion of the HTTP method adds noise without clarifying purpose.

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 usage guidelines are provided. The description does not indicate when to use this tool versus alternatives such as gitbook_duplicate_space or gitbook_restore_space, nor does it mention any prerequisites or constraints.

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