Skip to main content
Glama

create_issue

Create a new GitLab issue by specifying project, title, and optional fields like description, labels, assignees, weight, and milestone.

Instructions

Create a new issue. Use this to open a new issue; use update_issue for an existing issue and create_issue_note to add discussion without changing issue fields. The operation creates remote project data, requires issue creation permission, and returns the new issue or a validation, permission, or duplicate-related error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYesIssue title
labelsNoArray of label names
weightNoWeight of the issue (numeric, typically hours of work)
issue_typeNoThe type of issue. One of issue, incident, test_case or task.issue
project_idYesProject ID or complete URL-encoded path to project
descriptionNoIssue description
assignee_idsNoArray of user IDs to assign
milestone_idNoMilestone ID to assign

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv2.1.18
  2. Removedv2.1.14
  3. Addedv2.1.11
  4. Removedv2.1.10
  5. Changed7 schema fields changedv2.1.9
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / issue_type / anyOf
      Removed value: -[
      -  {
      -    "description": "the type of issue. One of issue, incident, test_case or task.",
      -    "enum": [
      -      "issue",
      -      "incident",
      -      "test_case",
      -      "task"
      -    ],
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / issue_type / description
      Previous value: -"the type of issue. One of issue, incident, test_case or task."New value: +"The type of issue. One of issue, incident, test_case or task."
    • addedInput schema / properties / issue_type / enum
      Added value: +[
      +  "issue",
      +  "incident",
      +  "test_case",
      +  "task"
      +]
    • addedInput schema / properties / issue_type / type
      Added value: +"string"
    • addedInput schema / properties / weight
      Added value: +{
      +  "description": "Weight of the issue (numeric, typically hours of work)",
      +  "type": "number"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "title"
      -]New value: +[
      +  "title",
      +  "project_id"
      +]
  6. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations are sparse (only `openWorldHint`), so the description carries the burden. It states that the operation 'creates remote project data', requires permission, and lists error types (validation, permission, duplicate-related). This goes beyond what the schema or annotations reveal, giving the agent realistic expectations. It could mention reversibility or idempotency, but for a create operation, this is sufficient context.

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 two sentences, front-loaded with the purpose ('Create a new issue.'), followed by usage guidance and behavioral notes. Every word earns its place; no filler. The structure makes it easy to scan and act on.

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

Completeness5/5

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

Given the tool's complexity (8 params, all schema-documented) and absence of an output schema, the description covers what an agent needs: the action, when to use it (vs. alternatives), a permission prerequisite, and the possible error modes. There is no missing piece that would prevent correct invocation.

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 fully documents all 8 parameters. The description adds no extra parameter-level detail, which matches the baseline of 3. It does not reference any parameter by name, so it provides no additional meaning beyond the schema.

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 opens with the crisp statement 'Create a new issue.' and immediately differentiates it from `update_issue` and `create_issue_note` by naming them. The verb-resource pair is exact, and the sibling contrast removes any ambiguity about which tool does what.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly says 'Use this to open a new issue; use `update_issue` for an existing issue and `create_issue_note` to add discussion without changing issue fields.' This is a clear when-to-use with named alternatives and the condition that selects each. No inference is required.

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

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