Skip to main content
Glama

Pause runner

gitlab_pause_runner
Idempotent

Pause or unpause a specific GitLab runner by setting its active status, controlling whether CI/CD jobs can run on it.

Instructions

Pause or unpause a specific runner.

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

Returns: Response: A wrapper containing the original response and a Runner model.

Raises: MissingParameterError: If the runner_id or active status 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.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, so the safety profile is covered. The description adds only generic 'Raises: MissingParameterError/ParameterError' boilerplate and omits what an agent would actually need beyond annotations: required privileges (owner/admin), whether pausing interrupts running jobs, and what state changes are reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence is front-loaded and tight, but the Args/Returns/Raises block is boilerplate that partly wastes space – notably a Returns note that adds little and a 'kwargs' line that stands in for 19 named schema parameters. Not verbose, but not every sentence earns its place.

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?

This is a mutable, permission-sensitive operation with 19 zero-documented parameters and no output schema. The description covers purpose but leaves the agent unable to tell which of the 19 fields actually drive the pause behavior, which is essential to calling it correctly.

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, and the description only name-drops runner_id and active inside a catch-all **kwargs clause. It never explains the difference between `active`, `paused`, or `status` (all present in the schema), nor why unrelated filters like group_id, tag_list, or maximum_timeout exist on a pause endpoint.

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 first sentence names a specific verb pair (pause/unpause) and a specific resource (a runner), which distinguishes it from sibling getters like gitlab_get_runner or gitlab_update_runner_details. It does not clarify how a single call chooses between the two opposite operations, but the core purpose is clear.

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?

No when-to-use guidance is given. With siblings like gitlab_update_runner_details (which likely also toggles paused state), gitlab_delete_runner, and the various reset-token tools, the agent is not told which to pick or when. The 'e.g.' list of kwargs is not a usage rule.

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