Skip to main content
Glama

gitlab_search_projects

Search GitLab projects by name or description to find relevant repositories across public and private projects using partial matching queries.

Instructions

Search all GitLab projects Returns: Projects matching search query Use when: Finding projects across GitLab Scope: All public projects + your private projects

Different from list_projects:

  • Searches ALL of GitLab

  • list_projects only shows YOUR accessible projects

Related tools:

  • gitlab_list_projects: Your projects only

  • gitlab_search_in_project: Search within project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
searchYesSearch query Type: string Matching: Case-insensitive, partial matching Searches in: Project names and descriptions Examples: - 'frontend' (finds 'frontend-app', 'old-frontend', etc.) - 'API' (matches 'api', 'API', 'GraphQL-API', etc.) Tip: Use specific terms for better results
per_pageNoNumber of results per page Type: integer Range: 1-100 Default: 20 Example: 50 (for faster browsing) Tip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing
pageNoPage number for pagination Type: integer Range: ≥1 Default: 1 Example: 3 (to get the third page of results) Note: Use with per_page to navigate large result sets
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses key behavioral traits: the scope ('All public projects + your private projects'), the return type ('Projects matching search query'), and how it differs from siblings. However, it doesn't mention potential limitations like rate limits, authentication requirements, or pagination behavior (though pagination is hinted at via parameters). For a search tool with no annotations, this is good but not exhaustive.

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 well-structured and concise, using bullet points and clear sections ('Returns:', 'Use when:', 'Scope:', 'Different from:', 'Related tools:'). Every sentence earns its place by providing essential information without redundancy. It's front-loaded with the core purpose and efficiently organized.

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?

Given the tool's moderate complexity (a search function with 3 parameters), no annotations, and no output schema, the description does a good job of covering context: it explains purpose, usage, scope, and differences from siblings. However, it lacks details on output format (e.g., what fields are returned) and doesn't fully address behavioral aspects like error handling or authentication needs. It's mostly complete but has minor 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%, with detailed descriptions for each parameter (e.g., 'search' includes matching behavior and examples, 'per_page' and 'page' include ranges and defaults). The description adds no additional parameter semantics beyond what's in the schema. According to the rules, with high schema coverage (>80%), the baseline is 3 even with no param info in the description, which applies here.

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's purpose: 'Search all GitLab projects' and 'Returns: Projects matching search query'. It specifies the verb ('search'), resource ('GitLab projects'), and scope ('all GitLab'), and explicitly distinguishes it from the sibling 'list_projects' tool by noting that this searches across all of GitLab while list_projects only shows accessible projects. This is specific and provides clear differentiation from siblings.

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

Usage Guidelines5/5

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

The description includes explicit guidance: 'Use when: Finding projects across GitLab' and 'Scope: All public projects + your private projects'. It directly compares to 'list_projects' in a 'Different from' section and lists related tools ('gitlab_list_projects' and 'gitlab_search_in_project') with brief explanations of their differences. This provides clear when-to-use context and alternatives.

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

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