Skip to main content
Glama
ttpears

GitLab MCP Server

by ttpears

Iterations

list_iterations
Read-onlyIdempotent

Retrieve iterations (sprints) for a GitLab group with cadence information. Filter by state and paginate results for sprint planning visibility.

Instructions

List iterations (sprints) for a group with cadence info. Requires GitLab Premium/Ultimate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
groupPathYesFull path of the group (e.g., "my-group" or "parent/child-group")
stateNoFilter by state: upcoming, current, opened, closed (omit for all)
firstNoNumber of iterations to retrieve
afterNoCursor for pagination
fetchAllNoFetch all pages up to 100 results
userCredentialsNoYour GitLab credentials (optional — falls back to the configured env token if not provided)
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and idempotentHint=true. The description adds 'Requires GitLab Premium/Ultimate' as a behavioral constraint and mentions 'cadence info' in the output, but does not describe other behaviors like pagination or rate limits. No contradiction.

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?

The description is two sentences, front-loaded with the action, and contains no redundant or irrelevant information. Every part adds value.

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?

The description lacks details about return values (no output schema) beyond 'cadence info', and does not explain pagination or the meaning of cadence. However, parameters are well-documented in schema and annotations clarify read-only nature. Adequate but with gaps.

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%, so the input schema fully describes parameters. The tool description adds no additional meaning or context for parameters, so baseline score of 3 is appropriate.

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 clearly states it lists iterations (sprints) for a group with cadence info, using a specific verb and resource. It distinguishes from siblings like 'list_milestones' by mentioning 'iterations' and 'cadence info', but could be more explicit about differentiation.

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?

The description mentions a prerequisite ('Requires GitLab Premium/Ultimate') but provides no guidance on when to use this tool versus alternatives like 'list_milestones' or other list tools. There is no mention of context or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ttpears/gitlab-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server