READ

list_baselines

Lists a project's baselines in the project's order with their kind, status, version, clocks and record count, narrowed by kind, status or words; a guest token sees the frozen baselines only.

Read the baselines of a project before you touch its planning record. Each row is a named set of approved records frozen together, with kind (scope, release, sprint or milestone), status from draft to superseded, frozen and locks_items, the version (0 while never approved, 1 once the team froze it, 2 once the client signed), the clocks and item_count. Narrow with kind, status or search (words the name must contain) and page with limit and page. A record a frozen baseline holds is locked: an edit, a move, a delete or a restore of it is refused with BASELINE_LOCKED until an approved change request unlocks it, so read the baselines first and raise the change request rather than retrying the write. A client guest's token sees the frozen baselines only; the records a baseline holds come with get_baseline.

Requires ability

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

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 baselines to list.

kindstringoptional

Narrow to one kind.

scopereleasesprintmilestone
statusstringoptional

Narrow to one status.

draftin_reviewapprovedawaiting_sign_offsigned_offsuperseded
searchstringoptional

Words the name must contain.

limitintegeroptional

Baselines per page (1..100, default 25).

min1max100
pageintegeroptional

1-indexed page number.

min1

What it returns

{  "data": [    {      "id": "6a7b8c9d-0e1f-4a2b-8c3d-4e5f6a7b8c9d",      "project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",      "name": "v1.0 scope",      "kind": "scope",      "description": "<p>Everything the client signed for the first release.</p>",      "status": "signed_off",      "frozen": true,      "locks_items": true,      "version": 2,      "approved_at": "2026-10-29T10:12:00+00:00",      "approved_revision_id": "0e1f2a3b-4c5d-4e6f-8a7b-9c0d1e2f3a4b",      "frozen_at": "2026-10-27T15:40:00+00:00",      "frozen_by": "3f8a1c2e-7b4d-4e5f-9a6b-1c2d3e4f5a6b",      "signed_off_at": "2026-10-29T10:12:00+00:00",      "item_count": 14,      "position": 0,      "created_at": "2026-10-27T09:00:00+00:00",      "updated_at": "2026-10-29T10:12:00+00:00"    }  ],  "meta": { "page": 1, "limit": 25, "total": 2, "has_more": false }}

How it fails

VALIDATION_FAILED

unknown kind or status (the response lists the supported values), or limit outside 1..100.

RESOURCE_NOT_FOUND

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

FORBIDDEN

the holder's role on the project does not carry baseline:view-any.

TOKEN_MISSING_ABILITY

token lacks baseline:view-any.

How is this guide?

Last updated on