Skip to main content
Glama
ni-c

woodpecker-ci-mcp

by ni-c

Update repository settings

update_repository
DestructiveIdempotent

Modify Woodpecker CI repository settings, changing only the specified fields such as visibility, timeout, or approval requirements.

Instructions

Changes Woodpecker settings of a repository. Only the fields you pass are touched. Note that "trusted" grants pipelines of this repository elevated container privileges and is an administrator-only change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_idYesNumeric repository id. lookup_repository turns an "owner/name" pair into one; list_repositories shows both.
timeoutNoPipeline timeout in minutes.
allow_prNoRun pipelines for pull requests.
visibilityNo"public" shows builds to anyone, "internal" to logged-in users, "private" only to people with forge access.
config_fileNoPath to the pipeline config, e.g. ".woodpecker.yml" or a directory like ".woodpecker/". Empty string restores the default.
allow_deployNoAllow deployment events for this repository.
confirm_tokenNoRequired when granting one of the trusted_* flags, when lowering "require_approval", or when setting visibility to "public"; every other change applies on the first call.
trusted_networkNoAdmin only: allow pipelines to use the host network.
trusted_volumesNoAdmin only: allow pipelines to mount host volumes.
require_approvalNoWhich events wait for a human. "forks" is the default and the one that keeps a fork from running arbitrary code with your secrets.
trusted_securityNoAdmin only: allow privileged containers. This lets a pipeline take over the agent host.
cancel_previous_pipeline_eventsNoEvents where a new pipeline cancels the still-running previous one.

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.2/5.0
Behavior4/5

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

Annotations already convey read-only=false, idempotent=true, and destructive=true. The description adds useful behavioral context beyond those flags: partial-update patch semantics and the security consequence of the 'trusted' flag (elevated container privileges, administrator-only change). No contradiction with annotations.

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?

Two sentences with no filler. The first sentence states the action and the patch behavior; the second highlights the most important security caveat. Everything earns its place.

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?

Despite 12 parameters, the schema provides detailed descriptions for every parameter and an output schema exists, so the description does not need to repeat them. The description covers the general behavior and the main sensitive flag. It could mention confirm_token requirements or asynchronous effects, but these are already documented in the schema. Overall adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds cross-cutting meaning beyond the schema: that only passed fields are changed, and that the trusted flags share an elevated-privilege security implication. This helps the agent apply consistent semantics across all parameters.

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 action ('Changes Woodpecker settings of a repository') with a clear resource, and the partial-update note ('Only the fields you pass are touched') adds precision. It is clearly differentiated from sibling tools like get_repository, delete_repository, activate_repository, and repair_repository.

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 purpose implies when to use it — when repository settings must be modified. However, there is no explicit guidance about when not to use it or how it compares to alternatives such as activate_repository or repair_repository. Usage must be inferred rather than stated.

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