Skip to main content
Glama
ttpears

GitLab MCP Server

by ttpears

List Projects

get_projects
Read-onlyIdempotent

List GitLab projects accessible to the authenticated user. Supports pagination, sorting, and fetching all pages up to 100 results.

Instructions

List projects accessible to the user (requires authentication to see private projects)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
firstNoNumber of projects to retrieve
afterNoCursor for pagination
sortNoSort order (e.g., UPDATED_DESC, CREATED_DESC, CREATED_ASC). Defaults to UPDATED_DESC for recency.
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, destructiveHint, and idempotentHint, so the safety profile is clear. The description adds the authentication requirement for private projects, which is useful context beyond annotations. However, it omits behaviors like pagination, sorting, and the fetchAll parameter.

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?

The description is a single sentence of 12 words, which is concise and front-loaded. It conveys the essential purpose without unnecessary detail. However, it could be slightly more structured to improve readability.

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?

Given the tool has 5 parameters (pagination, sorting, fetchAll) and no output schema, the description is insufficient. It does not explain the return format, pagination behavior, or the effect of fetchAll, leaving the agent unaware of how to effectively use the tool.

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 coverage is 100%, meaning each parameter is already described in the input schema. The description does not add any additional meaning or context for the parameters beyond what the schema provides, so it meets the baseline but adds no extra value.

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 the tool lists projects accessible to the user, with a note on authentication for private projects. However, it does not explicitly differentiate from sibling tools like get_group_projects or search_projects, which also list projects but with different scopes.

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 provides no guidance on when to use this tool versus alternatives (e.g., get_group_projects for group projects, search_projects for search). It only mentions authentication, which is a prerequisite but not a selection criterion.

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