Skip to main content
Glama

List Work Items

gitlab_list_work_items
Read-onlyIdempotent

List GitLab project work items by type, state, search, assignees, or labels to find relevant issues, tasks, and epics for review or management.

Instructions

List work items in a project with filters for type, state, search, assignees, and labels.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "gitlab_list_work_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
afterNo
firstNo
stateNo
typesNo
searchNo
project_idNo
label_namesNo
assignee_usernamesNo

Schema Changelog

Changes observed during successful MCP inspections.

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

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is fully covered. The description adds nothing beyond the schema beyond restating filter fields; it does not mention pagination behavior, default ordering, result limits, or what the response contains.

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?

A single front-loaded sentence with no wasted words. It states the action, scope, and major filters efficiently.

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 listing tool with eight optional parameters and no output schema, the description is adequate but incomplete. It omits pagination behavior (first/after), default page size, project scoping details, and any ordering or return shape information.

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 0%, so the description must compensate. It names five of the eight parameters (types, state, search, assignees, labels) but does not explain enum values, array semantics, or the role of project_id, first, and after, leaving meaningful gaps.

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 ('List') and resource ('work items') scoped to a project, and names the filter categories. This clearly distinguishes it from mutation siblings like create_work_item or update_work_item, though it does not explicitly name alternatives.

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

Usage Guidelines3/5

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

The description implies use when you need to list or filter work items within a project, but gives no explicit when-to-use versus alternatives (e.g., gitlab_list_work_item_statuses) and no exclusions or prerequisites.

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