Skip to main content
Glama

Fork project

gitlab_fork_project

Fork a GitLab project into a specified namespace to create a personal copy. Use project ID or path to target the project and namespace path for the fork destination.

Instructions

Forks a project into a namespace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
pathNo
project_idNoProject id or URL-encoded path, e.g. `42` or `group/subgroup/project`. Falls back to GITLAB_PROJECT_ID.
namespace_pathNoTarget namespace path
Behavior2/5

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

Annotations indicate readOnlyHint=false and destructiveHint=false, but the description adds no further behavioral details. It does not mention side effects, permissions, or the nature of the fork (e.g., whether it copies all branches, triggers CI, or requires certain roles). No contradiction with annotations, but no added transparency.

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, concise sentence that front-loads the primary action. There is no wasted language. However, it is perhaps too terse, as it omits useful context, but for conciseness and structure alone it earns a 4.

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?

For a fork operation with 4 parameters and no output schema, the description is incomplete. It does not explain what the result of the fork is, whether the fork is created asynchronously, or how errors surface. The description barely covers the core action and leaves the agent with many uncertainties about execution and outcomes.

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 description coverage is 50% (project_id and namespace_path are described, name and path are not). The description does not compensate for the undocumented parameters. It does not explain what 'name' and 'path' refer to or how they relate to the fork operation, leaving the agent to infer their meaning.

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 the action ('Forks') and the object ('a project') and the target ('into a namespace'). It is specific and distinguishes from sibling tools like gitlab_create_project, though it does not explicitly mention alternatives. The title is merely 'Fork project', but the description adds the namespace target, improving clarity.

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 gitlab_create_project or gitlab_update_project. There is no mention of scenarios, prerequisites, or why one would fork instead of create. The only context is the description itself, which simply states the action.

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/amalychev/gitlab-mcp'

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