Skip to main content
Glama
RikiGomes

woodpecker-mcp

by RikiGomes

List cron jobs

list_crons
Read-only

Retrieves all cron jobs for a repository, including schedule, branch, next run time, and set variable names. Requires push access.

Instructions

Lists a repository's cron jobs: id, name, schedule, timezone, branch, enabled, next run (ISO) and the names of the variables each sets (not their values). Requires push access to the repository; Woodpecker answers 403 otherwise. Pipelines started by a cron have event "cron".

Input Schema

NameRequiredDescriptionDefault
repoYesRepository as "owner/name" (e.g. "acme/webapp") or a numeric Woodpecker repo id.
instanceYesWoodpecker instance name. Configured instances: default.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.0

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses the authorization requirement (push access, 403 on failure), the exact response shape, and a subtle behavioral detail that variable values are deliberately omitted while names are returned. This is exactly the extra context annotations cannot carry.

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 tight sentences: what it returns first, then prerequisites, then a cross-reference hint. No filler, and the field list earns its length because there is no output schema.

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

Completeness5/5

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

With no output schema, the field enumeration is essential and present; with only two enum-free required params, the description plus schema fully covers invocation. Auth behavior is disclosed, so an agent can anticipate and interpret the 403.

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% for both parameters (repo accepts owner/name or numeric id; instance names the Woodpecker instance), so the schema already does the work. The description only implies the repo scoping and adds no format or syntax detail beyond the schema, so baseline 3 applies.

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 ('Lists a repository's cron jobs') and enumerates exactly which fields come back (id, name, schedule, timezone, branch, enabled, next run, variable names). No sibling tool covers crons, so it is unmistakable against list_pipelines and list_repos.

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?

Gives clear calling context: it requires push access to the repository and Woodpecker returns 403 otherwise, and it notes that pipelines started by a cron carry event 'cron', which cross-navigates to pipeline-listing tools. It does not phrase explicit when-not-to-use conditions, but no sibling offers overlapping functionality, so routing ambiguity is low.

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