Skip to main content
Glama

Get Issue

gitlab_get_issue
Read-onlyIdempotent

Retrieves a GitLab issue by its IID, optionally scoped to a project, so you can inspect issue details for triage, tracking, or automation.

Instructions

Get issue by IID.

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": {
      "issue_iid": "<issue_iid>"
    },
    "name": "gitlab_get_issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
issue_iidYes
project_idNo
full_responseNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • removedInput schema / properties / full_response / anyOf
      Removed value: -[
      -  {
      -    "type": "boolean"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / full_response / type
      Added value: +[
      +  "boolean",
      +  "null"
      +]
  2. First observedv1.6.1

TDQS

C2.6/5.0
Behavior2/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 safety is covered. The description adds nothing beyond that: it does not say what happens when the issue is missing, whether it works across projects, or what full_response changes. With annotations carrying the safety profile the bar is lower, but this description still contributes essentially zero behavioral context.

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 short sentence with no wasted words and the key identifier front-loaded. However, the brevity is under-specification rather than disciplined conciseness — there is room to add clarifying clauses without bloat.

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 three-parameter tool with no output schema and no parameter documentation, the description should explain project scoping, the full_response flag, and the return shape. None of that is present, leaving significant gaps for an agent to call it correctly.

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% for three parameters. The description only hints at issue_iid by saying "by IID"; project_id (project scoping, nullable) and full_response (nullable boolean) are left completely unexplained in both schema and description, so an agent cannot know what they do.

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?

"Get issue by IID" states a specific verb (get) and resource (issue) and clarifies that the lookup key is the issue IID rather than a global ID. It does not explicitly differentiate from sibling readers like gitlab_get_milestone_issue or gitlab_get_issue_link, but the name plus description make the scope clear enough.

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 statement of when to use this tool versus alternatives, no prerequisites, and no exclusion of related readers. The agent must infer usage entirely from the name.

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