Skip to main content
Glama

search_repositories

Search GitLab projects and repositories by name or description, optionally filtering results within a specific group. Supports pagination to navigate large result sets.

Instructions

Search for GitLab projects and repositories (optionally filtered by group)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYesPage number for pagination (default: 1)
groupNoOptional group ID or path (e.g. 'buggycode' or 3) to filter repositories strictly within that group
searchNoSearch query to filter project names/descriptions (e.g. 'my-service')
per_pageYesNumber of results per page (default: 20, max: 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, and it discloses almost nothing: it does not confirm the operation is read-only, does not mention authentication or scope requirements, and does not describe pagination behavior beyond what the schema defaults imply. For an unannotated search tool this is a real gap.

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?

A single sentence with no filler, and the core purpose is front-loaded so an agent can read it in one glance. It is efficient but arguably too terse given four parameters and multiple sibling list tools it must be separated from.

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?

With no annotations and no output schema, and with several overlapping list/search siblings, the description should at minimum clarify scope differences and whether results are paginated. It does neither, leaving the agent to guess how this differs from list_group_projects or list_my_projects.

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 page, per_page, group, and search are all fully documented in the schema, including the group ID-or-path format and the per_page max. The description's "optionally filtered by group" adds no syntax or meaning beyond that, so the baseline 3 applies.

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?

States a specific verb ("Search") and resource ("GitLab projects and repositories"), so the agent knows it is a discovery tool rather than a mutation. However, it does not distinguish itself from close siblings such as list_group_projects, list_my_projects, or get_project, and the phrase "projects and repositories" is redundant in GitLab where the two are the same object.

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 only contextual hint is the parenthetical "optionally filtered by group", which is a restatement of a parameter rather than guidance. There is no statement of when to prefer this over list_group_projects/list_my_projects, nor when-not to use it. The agent must infer routing from the name alone.

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