Skip to main content
Glama

Play Pipeline Job

gitlab_play_pipeline_job

Play a manual GitLab pipeline job, optionally passing job variables or typed inputs, to trigger or unblock a pipeline action.

Instructions

Play a manual job, optionally with job_variables_attributes ([{key, value}]) and typed job_inputs.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "gitlab_play_pipeline_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes
job_inputsNo
project_idNo
job_variables_attributesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv1.7.0
    • addedInput schema / properties / job_inputs
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": {},
      +      "propertyNames": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedInput schema / properties / job_variables_attributes
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "properties": {
      +          "key": {
      +            "maxLength": 255,
      +            "minLength": 1,
      +            "pattern": "^[A-Za-z0-9_]+$",
      +            "type": "string"
      +          },
      +          "value": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "key",
      +          "value"
      +        ],
      +        "type": "object"
      +      },
      +      "maxItems": 100,
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
  2. First observedv1.6.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false, and openWorldHint=true, but the description adds no behavioral context beyond 'play'. It says nothing about required permissions, whether playing twice errors (non-idempotent), what state the job must be in, or what the call returns after triggering.

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?

A single front-loaded sentence with the core action first and optionals trailing — no filler. The bracketed '[{key, value}]' shorthand is slightly cryptic but compact rather than wasteful.

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 mutating, non-idempotent trigger operation with no output schema and zero schema description coverage, yet the definition is one short sentence. An agent lacks the preconditions, failure modes, and parameter meaning needed to invoke it confidently.

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%, so the description carries the full burden and only partially delivers: it names job_variables_attributes with a '[{key, value}]' shape and calls job_inputs 'typed', but does not explain project_id, what 'typed' means concretely, or the 100-item cap. The key/value shape it restates is already visible in the schema.

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?

States a specific verb and resource — 'Play a manual job' — which immediately distinguishes it from siblings like cancel_pipeline_job or retry_pipeline_job, since only manual jobs can be played. It doesn't explicitly name those alternatives, but the 'manual job' qualifier does most of the differentiating work.

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 word 'manual' implies the job must be in a manual/blocked state, which is useful implied usage guidance. However, there is no explicit statement of preconditions, no mention of what happens if the job is not manual, and no routing guidance versus retry_pipeline_job or play_pipeline_schedule.

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