Skip to main content
Glama

Search GitLab

gitlab_search
Read-only

Locate GitLab projects, issues, merge requests, code, commits, wiki, and notes. Search globally or within a specific group or project.

Instructions

Global, group or project search across projects, issues, merge requests, code blobs, commits, wiki and notes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refNoBranch/tag for blobs, wiki_blobs and commits scopes
pageNoPage number (default 1)
limitNoCap for all_pages (default 500)
scopeYesWhat to search for
searchYesSearch query
group_idNoLimit the search to this group
per_pageNoItems per page, max 100 (default 20)
all_pagesNoFollow pagination and return up to `limit` items across pages
project_idNoLimit the search to this project
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description does not need to repeat safety. It adds useful context about the search scope (global/group/project) and entity types. However, it does not disclose behaviors such as pagination semantics, the role of the 'ref' parameter, or default scope behavior when no group/project is specified, leaving some behavioral details to the schema.

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 a single sentence that front-loads the verb 'search' and the resource scope, then efficiently lists the searchable entity types. It contains no redundant words and is appropriately sized for the tool's complexity.

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

Completeness4/5

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

For a tool with 9 parameters and no output schema, the description provides a solid high-level overview of what it searches and the available scoping. The schema covers parameter-specific details, and annotations confirm it is a safe read operation. It could mention pagination or global default behavior, but the combination of description, schema, and annotations gives enough context for correct invocation.

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%, meaning all 9 parameters have individual descriptions that already explain their purpose and constraints. The tool description's mention of entity types mirrors the scope enum but does not add deeper parameter-level meaning. With the schema handling parameter semantics thoroughly, a baseline score of 3 is appropriate.

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 is for searching GitLab globally, by group, or by project, and enumerates the entity types it covers: projects, issues, merge requests, code blobs, commits, wiki, and notes. This distinguishes it from sibling tools that list or get individual resources, making its purpose unmistakable.

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 usage for cross-entity search, and the scope options (global, group, project) suggest when to use it, but it does not explicitly say when to prefer this over specific list or get tools, nor does it mention alternatives or exclusions. The presence of a dedicated search tool among siblings makes it inferable, but explicit guidance is lacking.

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

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