Skip to main content
Glama

git_import

Import content from a Git repository into a GitBook space. This action overwrites existing content, so use with caution.

Instructions

Import content from a Git repository into a GitBook space (DESTRUCTIVE: overwrites existing content)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe Git repository URL to import from
spaceIdYesThe ID of the space to import into
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explicitly warns that the operation is DESTRUCTIVE and overwrites existing content, which is critical safety information. However, it does not clarify the exact scope of overwriting (e.g., entire space vs. conflicting pages), whether changes are reversible, or any permission requirements, leaving significant behavioral gaps.

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 front-loads the action and immediately follows with the critical destructive warning in parentheses. Every word serves a purpose, and there is no redundant or extraneous information.

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

Completeness3/5

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

The tool is relatively simple with two well-documented parameters and no output schema. However, the destructive nature demands more context, such as the precise impact on existing content or how this differs from the sibling import_content tool. The description covers the essential action and warning but leaves important operational details unspecified, making it only partially complete.

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?

Both parameters (url and spaceId) have descriptions in the schema, giving 100% schema coverage. The tool description merely restates the domain (Git repository, space) without adding syntax, format, or usage details beyond what the schema already provides. Thus the description adds minimal value for parameter understanding.

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: import content from a Git repository into a GitBook space. It identifies the specific resource (Git repository) and destination (GitBook space), which distinguishes it from sibling tools like import_content (general import) and git_export (export direction). The verb 'Import' is specific and unambiguous.

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 explicit guidance on when to use this tool versus alternatives such as import_content or git_export. The destructive warning implies caution but does not explain scenarios where this tool is preferred or excluded. No alternatives are mentioned, so the agent lacks decision-making context.

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