Skip to main content
Glama

gitlab_action

Search GitLab projects, retrieve project details, list issues and merge requests, and look up users via REST API. Works with self-hosted GitLab instances.

Instructions

Interact with the GitLab REST API: search projects, get project details, list issues and merge requests, and look up users. Supports self-hosted GitLab instances.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction: search_projects, get_project, list_issues, list_mrs, get_user.
access_tokenNoGitLab personal access token (PAT).
base_urlNoGitLab base URL (default: https://gitlab.com/api/v4). Set for self-hosted instances.
queryNoSearch query string (for search_projects).
project_idNoProject ID or URL-encoded namespace/project path.
stateNoFilter by state: opened, closed, merged.
labelsNoComma-separated label names to filter by.
usernameNoGitLab username (for get_user).
per_pageNoResults per page.
pageNoPage number.
Behavior2/5

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

No annotations are provided, so the description carries full burden. The description only says 'interact' and lists actions, all of which are read-only (search_projects, get_project, list_issues, list_mrs, get_user), but it does not explicitly state that the tool does not modify data. It also does not disclose authentication requirements beyond the schema. Behavioral traits like read-only nature are missing.

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 two sentences with no wasted words. It front-loads the main purpose and then adds the self-hosted support detail. Every part is informative and necessary.

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

Completeness3/5

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

The tool has 10 parameters and no output schema. The description only covers the actions but does not describe the expected return format or pagination behavior. For a moderately complex tool, this leaves gaps in understanding what the agent will receive.

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 the baseline is 3. The description does not add parameter-level information beyond what the schema already provides. It briefly lists actions but does not explain parameter relationships or provide examples 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 interacts with the GitLab REST API and lists specific actions (search projects, get project details, list issues, list merge requests, look up users). It also mentions support for self-hosted instances, which adds specificity and distinguishes it from other tools. The verb 'interact' is broad but the enumerated actions make the purpose unambiguous.

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 does not provide explicit guidance on when to use this tool versus alternatives. Since it's the only GitLab tool among siblings, the need is lower, but there is no mention of when not to use it or comparison to other tools. The context is clear enough for a single-tool scenario.

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/malamutemayhem/unclick'

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