Skip to main content
Glama
ni-c

woodpecker-ci-mcp

by ni-c

Update a forge

update_forge
DestructiveIdempotent

Change forge configuration (URL, type, OAuth) for the CI instance. Admin-only two-step process prevents lockout when updating critical connection settings.

Instructions

Changes a forge configuration. Admin only, and two-step: this is the setting every login and every repository read depends on, and a wrong value locks everyone out of the instance — including whoever is fixing it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlNoBase URL of the forge, e.g. "https://github.com".
typeNoWhich forge software this is.
clientNo
forge_idYesNumeric forge id.
oauth_hostNoPublic URL used for the OAuth redirect, when it differs from "url" — the usual case for a forge reachable under two names.
skip_verifyNo
confirm_tokenNoToken from a previous call of this tool.
oauth_client_secretNo

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

A3.8/5.0
Behavior4/5

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

Beyond the annotations, the description discloses an admin requirement, a two-step invocation flow, and the destructive consequence of a bad value ('locks everyone out of the instance'). It also notes that the forge is a shared dependency for logins and repository reads. It doesn't detail the exact token handshake, but this is substantial context not present in 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, front-loaded with the action and then the critical risk. The lockout warning is earned and vivid without being verbose, and every sentence adds decision-relevant information.

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 destructive, admin-gated mutation, the description covers authorization, risk, and dependency criticality. It stops short of spelling out the two-step sequence explicitly (e.g., first call returns a token, second call applies it), but the schema's confirm_token description and the presence of an output schema partially fill that gap.

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?

The description contains no per-parameter guidance; all meaning must come from the schema, which itself leaves client, skip_verify, and oauth_client_secret undocumented at 63% coverage. The only hint related to confirm_token is the phrase 'two-step', which is not parameter-level semantics. The schema and output schema carry the burden.

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?

The description opens with 'Changes a forge configuration' — a concrete verb and object that clearly maps to the update-forge operation and separates it from get_forge, create_forge, and delete_forge. It doesn't enumerate what configuration fields can change, but the resource and action are unambiguous.

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?

The description gives clear operational context: 'Admin only' sets the authorization bar, 'two-step' flags the invocation process, and the lockout warning explains the high blast radius. It doesn't name sibling alternatives or state when not to use the tool, but for a config-update tool the usage context is enough to route an agent.

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