Skip to main content
Glama

Update Project

gitlab_update_project

Update GitLab project metadata, merge defaults, and feature access levels to control visibility, collaboration, and repository behavior.

Instructions

Update an allowlisted set of project metadata, merge defaults, and feature access levels.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_update_project"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
topicsNo
project_idNo
visibilityNo
descriptionNo
merge_methodNo
squash_optionNo
wiki_access_levelNo
pages_access_levelNo
builds_access_levelNo
issues_access_levelNo
forking_access_levelNo
snippets_access_levelNo
request_access_enabledNo
environments_access_levelNo
merge_requests_access_levelNo
package_registry_access_levelNo
container_registry_access_levelNo
remove_source_branch_after_mergeNo
only_allow_merge_if_pipeline_succeedsNo
only_allow_merge_if_all_discussions_are_resolvedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changedv1.7.0
    • removedInput schema / properties / description / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / description / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / only_allow_merge_if_all_discussions_are_resolved / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / only_allow_merge_if_all_discussions_are_resolved / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / only_allow_merge_if_pipeline_succeeds / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / only_allow_merge_if_pipeline_succeeds / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / remove_source_branch_after_merge / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / remove_source_branch_after_merge / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
    • removedInput schema / properties / request_access_enabled / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / request_access_enabled / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, and openWorld=true, so the description's job is to add context — and it adds almost none. It does not state partial-update semantics (only supplied fields change, others retained), that changing visibility to public exposes the project, or what permissions the caller needs. For a 21-parameter mutation tool this is a real gap.

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?

A single front-loaded sentence with no redundant wording, which is structurally clean. However, for a tool with 21 parameters and 13 enums, this level of brevity amounts to under-specification rather than conciseness.

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?

With no output schema, no schema descriptions, zero required params, and 21 fields, the description should explain the partial-update contract and the effect of the access-level enums. It supplies none of this, leaving the agent to infer mutation semantics from field names alone.

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 0%, so the description must carry parameter meaning, yet it only gestures at categories ("merge defaults", "feature access levels"). It omits name, description, topics, visibility, and the boolean merge-policy flags, and says nothing about how null or omitted values are treated.

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 verb+resource ("Update ... project metadata") is clear and the three buckets (metadata, merge defaults, feature access levels) loosely map to the schema's field groups. But "allowlisted set" is unexplained jargon and the description never enumerates which metadata (name, description, topics, visibility) is covered, so the agent must open the schema anyway. It is adequate but vague at the edges.

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?

There is no guidance on when to use this tool versus alternatives such as gitlab_update_default_branch or the various update_* sibling tools, and no prerequisites or permission notes. It also does not say that project_id is effectively mandatory despite the schema listing zero required parameters.

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

Deploy Server

Other Tools