Skip to main content
Glama

Create Pipeline Schedule

gitlab_create_pipeline_schedule

Create recurring GitLab pipelines from a cron expression, specifying ref, timezone, and inputs to automate scheduled runs on a defined cadence.

Instructions

Create a recurring pipeline from a cron expression. cron_timezone defaults to UTC; use a full ref such as refs/heads/main when a branch and tag share a name. inputs ([{name, value}]) need GitLab 18.1+.

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": {
      "description": "<description>",
      "ref": "<ref>",
      "cron": "<cron>"
    },
    "name": "gitlab_create_pipeline_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes
cronYes
activeNo
inputsNo
project_idNo
descriptionYes
cron_timezoneNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-readOnly, non-idempotent, non-destructive open-world mutation, so the safety profile is covered. The description adds real behavior beyond that — the timezone default and the version gate on inputs — but says nothing about required permissions, duplicate-schedule behavior, or what the created schedule looks like.

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?

Three compact sentences, front-loaded with the core action, then the two most common gotchas (timezone, ref ambiguity). No filler, though the sentences are terse enough that some connective context is missing.

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?

For a 7-parameter creation tool with no output schema, the definition covers the highest-risk pitfalls (timezone default, ref disambiguation, version-gated inputs). Gaps remain around project_id/active semantics and what is returned, but an agent can call it correctly from what is given.

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 description coverage is 0% across 7 parameters, so the description carries the burden. It explains cron_timezone's default, ref's full-path form, and the {name, value} shape plus version constraint for inputs, but leaves description, active, and project_id entirely undocumented.

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?

"Create a recurring pipeline from a cron expression" gives a specific verb (create), resource (pipeline schedule) and the defining attribute (recurring/cron), which implicitly separates it from gitlab_create_pipeline. It stops short of naming a sibling or stating that a one-off run should use gitlab_create_pipeline instead.

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?

Provides useful call-time context: cron_timezone defaults to UTC, use a full ref like refs/heads/main for branch/tag ambiguity, and inputs require GitLab 18.1+. It does not say when to choose this over gitlab_create_pipeline or gitlab_create_pipeline_trigger, so usage is implied rather than directed.

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