Skip to main content
Glama

Gitlab List Issues

gitlab_list_issues
Read-onlyIdempotent

Search issues in a GitLab project by project ID. Returns issue ID, title, state (open/closed), labels, assignee, and URL. Filter by status and labels.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "_apiKey": "your-gitlab-api-key",
      "project_id": "123"
    },
    "name": "gitlab_list_issues"
  }
}

Input Schema

NameRequiredDescriptionDefault
stateNoFilter by state: "opened", "closed", or "all" (default: "opened")
searchNoSearch issues by title or description
_apiKeyYesGitLab personal access token
per_pageNoNumber of issues to return (default 20, max 100)
project_idYesProject ID (numeric) or full path "namespace/project" (e.g. "gitlab-org/gitlab"), pass the plain path, do not URL-encode it.

Output Schema

NameRequiredDescriptionDefault
issuesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Project ID (numeric) or full path \"namespace/project\" (e.g. \"gitlab-org/gitlab\") — pass the plain path, do not URL-encode it."New value: +"Project ID (numeric) or full path \"namespace/project\" (e.g. \"gitlab-org/gitlab\"), pass the plain path, do not URL-encode it."
  2. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Project ID or URL-encoded path"New value: +"Project ID (numeric) or full path \"namespace/project\" (e.g. \"gitlab-org/gitlab\") — pass the plain path, do not URL-encode it."
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "issues": {
      +      "items": {
      +        "properties": {
      +          "assignee": {
      +            "description": "Assignee username",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "author": {
      +            "description": "Author username",
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "created_at": {
      +            "description": "Creation timestamp",
      +            "type": "string"
      +          },
      +          "iid": {
      +            "description": "Issue internal ID",
      +            "type": "number"
      +          },
      +          "labels": {
      +            "description": "Issue labels",
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "state": {
      +            "description": "Issue state (opened/closed)",
      +            "type": "string"
      +          },
      +          "title": {
      +            "description": "Issue title",
      +            "type": "string"
      +          },
      +          "updated_at": {
      +            "description": "Last update timestamp",
      +            "type": "string"
      +          },
      +          "url": {
      +            "description": "Issue web URL",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "iid",
      +          "title",
      +          "state",
      +          "labels",
      +          "assignee",
      +          "author",
      +          "url",
      +          "created_at",
      +          "updated_at"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "issues"
      +  ],
      +  "type": "object"
      +}
  4. Changed1 schema field changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "_apiKey": "your-gitlab-api-key",
      +    "project_id": "123"
      +  },
      +  {
      +    "_apiKey": "your-gitlab-api-key",
      +    "per_page": 30,
      +    "project_id": "123",
      +    "search": "bug",
      +    "state": "closed"
      +  }
      +]
  5. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered structurally. The description adds a partial return-field list, but with an output schema present that is largely redundant, and it discloses nothing about pagination limits, default result counts, or authentication behavior beyond the schema's _apiKey field. Adequate but not value-adding beyond structured data.

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?

Two compact sentences with the scope statement front-loaded and no filler. Slight waste in restating return fields that the output schema already defines, but the text is otherwise tight and easy to scan.

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

Completeness3/5

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

For a simple filtered-list tool with full schema descriptions and an output schema, most needs are met by structured fields. However, the description's claim of label filtering that the tool does not support is a completeness defect an agent could act on, and there is no mention of pagination behavior or result caps beyond the per_page schema entry.

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 coverage is 100%, which would normally set a baseline of 3, but the description actively misleads: it advertises filtering by "labels" when no labels parameter exists in the schema, and it omits the `search` parameter that does exist. An agent relying on the prose could attempt an unsupported filter. This falls below the baseline because the added parameter text is inaccurate rather than merely sparse.

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 uses a specific verb and resource ("Search issues in a GitLab project") and names the scoping key (project ID), plus enumerates the returned fields. The resource noun makes it distinguishable from siblings like gitlab_list_mrs and gitlab_list_projects without opening a schema. It stops short of explicitly contrasting itself with those siblings, so it is clear but not maximally differentiating.

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 when-to-use / when-not-to-use guidance and no named alternative, e.g. no hint about whether to use this versus gitlab_list_mrs for merge requests or gitlab_get_project for project metadata. "Filter by status and labels" describes capability, not selection criteria, leaving the agent to infer the routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.