Skip to main content
Glama
ni-c

woodpecker-ci-mcp

by ni-c

List repositories

list_repositories
Read-onlyIdempotent

List Woodpecker CI repositories visible to your account, with optional filtering, pagination, and inclusion of inactive forge repositories. Administrators can list all server repositories.

Instructions

Lists repositories. By default the ones the authenticated account can see in Woodpecker; with include_inactive it also lists repositories that exist in the forge but were never activated, which is where the forge_remote_id for activate_repository comes from. scope="instance" lists every repository on the server and needs an administrator.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoSubstring filter on the repository name (account scope only).
pageNoPage number, starting at 1.
scopeNoDefault "account". "instance" lists all repositories on the server (admin only).
per_pageNoEntries per page (1 … 50). Woodpecker clamps anything above 50 without saying so.
include_inactiveNoAlso list repositories from the forge that are not activated in Woodpecker. Only meaningful for scope="account"; it makes the call noticeably slower because Woodpecker refreshes them from the forge.

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

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

Annotations already mark the operation as read-only, idempotent, and non-destructive; the description adds meaningful behavioral detail beyond that, including the default visibility boundary, the admin requirement for instance scope, the performance cost of include_inactive, and the relationship between inactive repositories and forge_remote_id. 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?

Three focused sentences deliver the core behavior, the key parameter distinctions, the admin caveat, and a cross-tool hint without wasted words. The most important default behavior is front-loaded.

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?

The description is complete for a listing tool: it explains all meaningful mode switches, the admin constraint, the performance tradeoff, and the connection to activate_repository. The output schema and fully documented parameters cover return shape and pagination, so no critical operational context is missing.

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 coverage is 100%, so the baseline is 3; the description adds extra value by explaining that include_inactive is only meaningful for account scope, that it is noticeably slower, and that the returned forge_remote_id is intended for activate_repository. This supplements rather than merely repeats the schema parameter descriptions.

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 opens with a specific verb and resource ('Lists repositories') and then clarifies the scope variants: authenticated account view, inactive forge repos, and instance-wide view. It also ties one variant to the forge_remote_id needed by activate_repository, which helps distinguish this listing tool from nearby repository-related siblings.

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 conditions for each mode: default account-scope listing, include_inactive for never-activated forge repositories, and scope="instance" for admin-only server-wide listing. It does not explicitly say 'use X instead when Y,' but it names activate_repository as the consumer of the forge_remote_id, giving practical routing context.

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