Skip to main content
Glama

Delete Pipeline Schedule

gitlab_delete_pipeline_schedule
Destructive

Permanently deletes a GitLab pipeline schedule and its variables; use only for irreversible cleanup, and pause schedules instead when you may need to restore them.

Instructions

Delete a pipeline schedule and its variables permanently. Irreversible; prefer gitlab_update_pipeline_schedule with active=false to pause. Requires pipeline_schedule_id.

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": {
      "pipeline_schedule_id": "<pipeline_schedule_id>"
    },
    "name": "gitlab_delete_pipeline_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_idNo
pipeline_schedule_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety profile is known; the description nonetheless earns credit for spelling out 'permanently' and 'irreversible' plus the cascading removal of variables, which annotations cannot express. It stops short of stating required permissions or whether a 404/409 is returned for an already-deleted schedule.

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?

Three short clauses, front-loaded with the destructive effect before the safer alternative. No filler and nothing buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The destructive nature and the pause alternative are covered well for a two-parameter mutation tool, and no output schema means return values need no explanation. The unresolved gap is project_id: with 0% schema coverage, the description should say whether it accepts a path or numeric ID and what happens when it is omitted.

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 must carry parameter meaning, but it only restates that pipeline_schedule_id is required — information already in the schema's required array. The optional project_id (string-or-null) is never mentioned, leaving an agent unsure how the project scope is resolved.

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?

States a specific verb and resource ('Delete a pipeline schedule') and adds scope the name alone does not convey: the schedule's variables are removed too, and the action is permanent. That distinguishes it clearly from siblings like gitlab_update_pipeline_schedule and gitlab_delete_pipeline.

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?

Names an explicit alternative and the condition that selects it: 'prefer gitlab_update_pipeline_schedule with active=false to pause.' This is concrete routing guidance with the exact parameter value, not a vague suggestion.

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