Skip to main content
Glama
ni-c

woodpecker-ci-mcp

by ni-c

Look up a repository by name

lookup_repository
Read-onlyIdempotent

Resolve an owner/name pair to a numeric repository id for Woodpecker CI. Use this id with other repository tools; unactivated repositories return a 404, so search with list_repositories instead.

Instructions

Resolves an "owner/name" pair to a repository id. Every other repository tool takes the numeric id, and this is how you get one. A repository that exists in the forge but was never activated in Woodpecker answers 404 — use list_repositories with include_inactive to find it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
full_nameYesFull repository name in "owner/name" form.

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 indicate this is read-only, idempotent, and non-destructive. The description adds meaningful behavioral context beyond that: it warns that repositories existing in the forge but not activated in Woodpecker return a 404, and it clarifies the tool's role as the id-resolution step. This is valuable edge-case disclosure.

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 compact sentences, each earning its place. The core purpose is front-loaded, the relationship to sibling tools is stated next, and the failure mode with alternative is given last. No filler or redundancy.

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?

For a single-parameter lookup tool with complete schema coverage, full annotations, and an output schema, the description is complete. It covers the tool's purpose, the 404 edge case, and how to recover, leaving no significant gap for an agent to call it incorrectly.

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?

The input schema already fully documents full_name with its format, pattern, and description. The description's mention of an 'owner/name pair' reinforces the schema but does not add substantial new semantic meaning beyond what the schema already provides.

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 ('Resolves') and a precise resource ('owner/name pair to a repository id'). It clearly distinguishes itself from related tools by explaining that every other repository tool takes the numeric id and this is how you obtain it.

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

Usage Guidelines5/5

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

The description explicitly explains when to use this tool: any time you need the numeric repository id for other repository tools. It also provides an actionable alternative for the failure case, directing users to list_repositories with include_inactive when the repository is not activated in Woodpecker.

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