Skip to main content
Glama
ni-c

woodpecker-ci-mcp

by ni-c

Delete a pipeline

delete_pipeline
DestructiveIdempotent

Remove a pipeline and all logs attached to it by specifying repository ID and pipeline number. Cancel running pipelines before deletion; confirmation token completes the two-step process.

Instructions

Removes a pipeline and everything attached to it, including its logs. A running pipeline cannot be deleted — cancel it first. Two-step.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numberYesPipeline number — the per-repository counter shown in the UI, not the global pipeline id.
repo_idYesNumeric repository id. lookup_repository turns an "owner/name" pair into one; list_repositories shows both.
confirm_tokenNoToken from a previous call of this tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
truncatedNoPresent only when the answer was shortened to fit the budget.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.2.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already mark the tool destructive and non-read-only, and the description adds meaningful behavioral context: it destroys logs and attached data, cannot target running pipelines, and requires a two-step flow. This goes beyond the annotations by specifying exactly what gets removed and the precondition.

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 sentences, each earning its place: the destructive scope, the running-pipeline constraint, and the two-step nature. It is front-loaded with the action and consequence, with no filler.

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?

Given the output schema and full parameter schema, the description provides enough context for selection and invocation. The only minor gap is that 'Two-step' is not fully elaborated, though the confirm_token parameter description and schema make the flow recoverable.

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 100%, so the schema fully documents repo_id, number, and confirm_token. The description's 'Two-step' hint adds some process context around confirm_token, but it does not materially enrich parameter understanding beyond the schema.

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?

The description states a specific verb and resource: 'Removes a pipeline and everything attached to it, including its logs.' This clearly distinguishes it from log-only tools like delete_pipeline_logs and from cancel_pipeline, while the destructive scope is explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit guidance for a key edge case: 'A running pipeline cannot be deleted — cancel it first,' which points the agent toward the cancel_pipeline sibling. It does not enumerate other alternatives like delete_pipeline_logs for log-only removal, but the core usage context is clear.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ni-c/woodpecker-ci-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server