Skip to main content
Glama

gitlab_action

Perform GitLab operations: search projects, get details, list issues, merge requests, and look up users. 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 must disclose behavioral traits. It mentions 'Interact with the GitLab REST API' but fails to describe authentication (access_token is required), rate limits, or side effects. The list of actions mirrors the enum in the schema, adding no new behavioral context.

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?

The description is concise with two sentences, front-loading the main purpose in the first sentence and adding a key detail in the second. It is efficient but could be better structured by separating action list from usage notes.

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?

Given the complexity (10 parameters, no output schema, multiple actions), the description is incomplete. It does not explain return values, pagination behavior (per_page, page), how to select an action, or error handling. The agent would need to infer too much from the schema alone.

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 coverage is 100%, so baseline is 3. The description adds context about self-hosted instances (related to base_url), but does not elaborate on other parameters like query, project_id, state, labels, username, per_page, or page beyond what the schema already provides.

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?

The description clearly states it interacts with the GitLab REST API and lists specific actions like search projects, get project details, list issues, list merge requests, and look up users. However, it does not differentiate from sibling tools like github_action, leaving potential confusion about when to use this tool over similar ones.

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 description provides no guidance on when to use this tool versus alternatives. For example, no mention is made of prerequisites like requiring an access token, nor does it compare to similar tools like github_action. The only contextual note is support for self-hosted instances, which is useful but insufficient.

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