Skip to main content
Glama

GitLab Execute Tool

gitlab_execute_tool
Destructive

Execute any GitLab action from the catalog using its ID or alias. Pass required parameters as an object; set confirm=true for destructive actions.

Instructions

Execute one GitLab catalog action by canonical ID or alias. Always pass params as an object; destructive actions require top-level confirm=true. Use find first only when action or params are unclear.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesCanonical action ID returned by gitlab_find_action, or a supported compatibility alias, such as project.list, issue.update, or issue.close.
confirmNoSet top-level confirm=true to explicitly approve destructive actions; do not put confirm inside params for gitlab_execute_tool.
paramsYesRequired action-specific parameters object validated by the selected action schema. Use an empty object for actions with no parameters.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
next_stepsNoOptional. Suggested follow-up actions or tool calls for the LLM, contextual to the result.
paginationNoPresent on list actions. Use `has_more` and `next_page` to paginate through results.
Behavior4/5

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

Annotations already include destructiveHint: true and openWorldHint: true. The description adds that destructive actions require a top-level confirm=true parameter, which is an important behavioral detail not fully covered by annotations. This enhances transparency beyond what is provided structurally.

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 extremely concise with three sentences, each serving a clear purpose: stating the tool's function, providing structural requirements, and guiding when to use the sibling tool. No wasted words.

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 has an output schema and three parameters with 100% schema coverage, the description covers the key contextual points: usage scenarios, parameter structure, and destructive action handling. It could mention that params must conform to the action's specific schema, but that is implied. Overall, it is sufficiently complete.

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 that params must always be an object and that confirm is for destructive actions, which reinforces the schema but does not add significant new meaning beyond what the schema descriptions already provide.

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: executing one GitLab catalog action by canonical ID or alias. It distinguishes itself from its sibling 'gitlab_find_action' by telling the agent to use 'find' first when unclear, making the differentiation explicit.

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 provides explicit usage guidance: always pass params as an object, destructive actions require top-level confirm=true, and use find_action when action or params are unclear. This tells the agent when to use this tool versus the alternative.

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

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