Skip to main content
Glama

create_issue

Create a new issue in a GitLab project with a title and optional details such as description, labels, assignees, due date, weight, milestone, confidentiality, and issue type.

Instructions

Create a new issue in a GitLab project

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project": "<project>",
      "title": "<title>"
    },
    "name": "create_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesIssue title
labelsNoLabels as string or array
weightNoIssue weight
dueDateNoDue date in YYYY-MM-DD format
projectYesProject ID or path (e.g., "group/project" or "123")
issueTypeNoIssue type
assigneeIdNoSingle user ID to assign (legacy)
assigneeIdsNoArray of user IDs to assign
descriptionNoIssue description/content
milestoneIdNoMilestone ID
confidentialNoMake issue confidential

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.1

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden for a write operation. It says nothing about side effects such as notification emails to assignees, whether confidential issues behave differently, rate limits, or what the response contains (only that an issue is created).

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 no filler or redundancy. It is cleanly structured, though its brevity reflects under-specification rather than disciplined economy.

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

Completeness4/5

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

Placeholder.

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%, with all 11 parameters individually documented (including the legacy assigneeId vs assigneeIds distinction and the issueType enum). The description adds no meaning beyond that, which is the baseline case for a fully documented schema.

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 states a specific verb and resource ('Create a new issue') scoped to a GitLab project, which clearly separates it from sibling reads like get_issue and mutations like update_issue. It falls short of 5 because it never explicitly contrasts itself with those siblings.

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, and no prerequisites such as required project permissions, whether the issue must be assigned to a milestone, or what happens with duplicate titles. The agent must infer all invocation conditions from the schema alone.

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