Skip to main content
Glama

create_repository

Create a new GitLab project or repository in a personal or group namespace, with configurable visibility and optional README initialization.

Instructions

Create a new GitLab project/repository (supports groups/namespaces and empty repos)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesRepository / Project name (e.g. 'mcp-github' or 'my-new-service')
pathNoRepository path/slug (e.g. 'mcp-github'). Defaults to name if omitted.
namespaceNoNamespace / Group name, path, or ID (e.g. 'buggycode' or 3) to create the project in. If omitted, creates in personal namespace.
visibilityYesVisibility levelinternal
descriptionNoShort project description
default_branchNoDefault branch name (e.g. 'main')
initialize_with_readmeYesInitialize the new project with a README.md file (default: false for empty repos)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses little. 'Create' implies a mutation, but there is no mention of required permissions/token scopes, irreversibility, error behavior on duplicate names, or what response is returned. The '(supports groups/namespaces and empty repos)' clause adds mild context but not enough for a 7-param mutation tool.

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?

A single front-loaded sentence with zero filler. It is well-sized, though the parenthetical capability note is somewhat terse relative to the complexity of the tool.

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 7-parameter mutation tool with no annotations and no output schema, the description is materially thin. An agent gets no information about permissions, namespace resolution, failure modes, or the created resource, leaving significant gaps that structured fields do not fill.

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?

Schema description coverage is 100%, so the schema already documents all seven parameters including enumeration and defaults. The description only loosely alludes to the namespace and initialize_with_readme parameters, adding no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb+resource ('Create a new GitLab project/repository') and adds scope hints (groups/namespaces, empty repos), which clearly distinguishes it from create_release, create_tag, and create_branch. It does not, however, explicitly differentiate itself from a sibling like fork_repository, so it falls short of a 5.

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 gives no when-to-use guidance and no alternatives. It never says when to prefer creating over forking, whether the target namespace must already exist, or what happens on a name collision. The parenthetical hints at capability, not usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.