Skip to main content
Glama

list_labels

Retrieve available labels for a Gitopia repository to apply them to issues. Returns label details including name, color, and description for organizing and categorizing tasks.

Instructions

Use this when you need to see available labels for a repository before applying them to issues. Returns a JSON array of label objects with id, name, color, and description. Requires 'owner' and 'name'. See also: create_label, update_issue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ownerYesRepository owner (username or DAO name)
nameYesRepository name
Behavior4/5

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

With no annotations provided, the description carries the full burden and successfully discloses the return format ('JSON array of label objects with id, name, color, and description'), compensating for the lack of output schema. However, it omits explicit safety disclosure (e.g., confirming it is read-only) or rate limiting information.

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 sentences with zero waste: sentence 1 establishes usage context, sentence 2 describes return values, and sentence 3 covers prerequisites and cross-references. Information is front-loaded and every clause 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?

For a simple 2-parameter tool without annotations or output schema, the description is nearly complete. It covers invocation context, required parameters, return structure, and sibling relationships. A minor gap is the lack of explicit safety classification (read-only status), though this is implied by the operation type.

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?

Input schema has 100% description coverage (owner and name are well-defined), establishing a baseline of 3. The description notes that these are required but adds no additional semantic context such as format constraints, validation rules, or examples beyond what the schema already provides.

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 clearly identifies the resource (repository labels) and action (see/retrieve them). It effectively distinguishes from siblings like create_label and update_issue via the 'See also' reference and the contextual phrase 'before applying them to issues.' The verb 'see' is slightly less precise than 'list' or 'retrieve,' preventing a perfect score.

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?

Excellent guidance: explicitly states when to use ('when you need to see available labels... before applying them to issues'), identifies required inputs ('Requires owner and name'), and names specific sibling alternatives (create_label, update_issue). This provides clear decision-making context for the agent.

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

Install Server

Other Tools

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/gitopia/gitopia-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server