Skip to main content
Glama

Delete runner

gitlab_delete_runner
DestructiveIdempotent

Deletes a GitLab CI/CD runner by required runner_id and token, removing obsolete or compromised runners from a project or group.

Instructions

Delete a runner.

Args: **kwargs: Additional parameters for the request (e.g., runner_id, token).

Returns: Response: A wrapper containing the original response (no data for successful deletion).

Raises: MissingParameterError: If the runner_id or token is missing. ParameterError: If invalid parameters are provided.

Input Schema

NameRequiredDescriptionDefault
dataNo
infoNo
tokenNo
activeNo
lockedNo
pausedNo
statusNo
group_idNo
tag_listNo
runner_idNo
project_idNo
all_runnersNo
descriptionNo
runner_typeNo
access_levelNo
run_untaggedNo
api_parametersNo
maximum_timeoutNo
maintenance_noteNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv27.3.13

TDQS

C2.9/5.0
Behavior3/5

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

The annotations already disclose destructiveHint=true, idempotentHint=true, readOnlyHint=false, and openWorldHint=true. The description adds useful details by naming failure conditions and stating that successful deletion returns no data, but it does not explain side effects such as what happens to jobs assigned to the runner.

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 front-loaded with 'Delete a runner' and structured into Args, Returns, and Raises sections. The generic kwargs line is vague, but the overall text is not bloated.

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?

For a destructive tool with 19 mostly undocumented parameters and no output schema, the description is too thin. It mentions runner_id and token and the error behavior, but it does not explain scope, permissions, or how this differs from other runner deletion tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 19 parameters, so the description must carry the burden. It identifies runner_id and token as relevant or required, but leaves the other 17 parameters undocumented and does not clarify that most schema fields are likely irrelevant to deletion.

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 states a clear verb and resource: 'Delete a runner.' It does not differentiate this tool from close siblings such as gitlab_delete_project_runner, but the core action is unambiguous.

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 gives no guidance on when to use this tool instead of alternatives like gitlab_delete_project_runner, nor does it state prerequisites such as required permissions or runner scope. It only explains error conditions, leaving the agent to infer usage context.

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

Deploy Server

Other Tools