READ

list_labels

A project's labels by name, each with its colour, what it means and how many work items carry it; the vocabulary to read before you draft or filter stories.

Return a project's labels by name: the words the team pins on its work items, each with its colour, what it means and how many work items carry it. Read it to learn a project's own vocabulary before you read or draft its stories, to describe the backlog in the team's words, and to name a label by id when you filter work items with label_id. Adding, renaming and removing words stays with people.

Requires ability

The token behind the MCP session must hold it, or the call is refused with TOKEN_MISSING_ABILITY.

Runs the same action as

The REST endpoint and this tool share one action, so validation, permissions and events are identical.

Annotations

Read-only

It reads and never changes anything.

Arguments

project_id*string

UUID of the project whose labels to list.

What it returns

{  "data": [    {      "id": "a7b8c9d0-e1f2-4a3b-8c4d-5e6f7a8b9c01",      "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",      "name": "payments",      "color": "amber",      "description": "Touches the checkout or the ledger",      "work_item_count": 7,      "created_at": "2026-10-28T09:20:00+00:00",      "updated_at": "2026-10-28T09:20:00+00:00"    },    {      "id": "b8c9d0e1-f2a3-4b4c-9d5e-6f7a8b9c0d12",      "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",      "name": "tech-debt",      "color": "violet",      "description": "Costs us time every sprint",      "work_item_count": 3,      "created_at": "2026-10-28T09:25:00+00:00",      "updated_at": "2026-10-28T09:25:00+00:00"    }  ]}

How it fails

RESOURCE_NOT_FOUND

unknown project_id, or a project outside the token's scope or the person's visibility.

FORBIDDEN

the token holder's role on the project does not carry work-item:view-any.

TOKEN_MISSING_ABILITY

token lacks work-item:view-any.

How is this guide?

Last updated on