Skip to main content
Glama
DevquasarX9

gitlab-mcp-server

by DevquasarX9

Search Code

gitlab_search_code
Read-onlyIdempotent

Search code blobs in a GitLab project using the GitLab Search API with support for basic, advanced, and zoekt search types.

Instructions

Search code blobs in a project using the GitLab Search API.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo
searchYes
per_pageNo
project_idYes
search_typeNo
Behavior2/5

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

Annotations indicate readOnlyHint, idempotentHint, and destructiveHint=false. Description does not add behavioral traits beyond that; lacks disclosure on pagination, rate limits, or scoping.

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?

One sentence, 12 words, no redundancy. However, it is too minimal and lacks structure; front-loading is fine but brevity sacrifices utility.

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?

Tool has 5 parameters, no output schema, and no parameter descriptions. Description is too sparse to guide an agent effectively; omits search types, pagination, and project scoping details.

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?

Schema description coverage is 0%. Description does not explain any of the 5 parameters (project_id, search, page, per_page, search_type), failing to add meaning beyond the schema.

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

Purpose5/5

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

The description clearly states the tool searches code blobs in a project using GitLab Search API, which is a specific verb+resource. It distinguishes from siblings like gitlab_search (general) and gitlab_search_issues (issues) by focusing on code blobs.

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?

No guidance on when to use this tool vs alternatives (e.g., gitlab_search, gitlab_search_issues). Does not mention exclusions or context for choosing this search.

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/DevquasarX9/mcp-gitlab'

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