Skip to main content
Glama

List Issue Discussions

gitlab_list_issue_discussions
Read-onlyIdempotent

Retrieve paginated discussions for a GitLab issue to review comments and threads. Requires the issue IID and optional project ID for scoping.

Instructions

List issue discussions.

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_list_issue_discussions"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
per_pageNo
issue_iidYes
project_idNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

C2/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 covered by structured data. The description adds nothing beyond that: no statement about pagination behavior, ordering, or whether unauthenticated/private projects are reachable despite openWorldHint. With annotations doing the heavy lifting, a 3 is the ceiling here.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three words with zero waste, but this is under-specification rather than conciseness. The single sentence is front-loaded but carries no actionable content for a paginated, project-scoped list operation.

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

Completeness1/5

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

For a 4-parameter tool with no output schema and no parameter documentation, the description is far too thin. It omits required-vs-optional parameter guidance, pagination semantics, and any hint about the structure of returned discussions, leaving the agent to guess.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are 4 parameters with 0% schema description coverage, and the description explains none of them. It does not clarify that issue_iid is required, whether project_id is optional or which project it defaults to, or what page/per_page do for pagination.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"List issue discussions" merely restates the tool name and title without adding scope, distinguishing features, or what a "discussion" contains versus a note. It is a tautological restatement rather than a specification of the resource's shape or filtering behavior.

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 guidance, no mention of when to prefer issue discussions over issue notes, emoji reactions, or the merge-request equivalent siblings. The agent must infer selection from the tool name alone.

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