Skip to content

pm_sprint

Vanguard

The pm_sprint tool manages sprints within projects. Sprints group tasks for a time-bounded delivery window and support parent/child hierarchies for programs or release trains.

Actions

create, get, list, query, set_parent, update, delete, link_task, unlink_task, close_checked, help

All timestamps are epoch milliseconds.


create

Create a new sprint under a project.

Parameters

FieldTypeRequiredNotes
projectKeystringYesProject this sprint belongs to
namestringYesSprint name
startTsnumberYesStart timestamp (epoch ms)
endTsnumberYesEnd timestamp (epoch ms)
goalstringNoSprint goal statement
statusstringNoplanned (default), active, review, closed
velocityTargetnumberNoTarget story points
metadataobjectNo{ owners?, links?, notes? }

Example

pm_sprint {
  action: "create",
  projectKey: "my-api",
  name: "Sprint 12 — rate limiting",
  goal: "Ship per-IP rate limiting on auth endpoints",
  startTs: 1712620800000,
  endTs: 1713830400000,
  status: "planned",
  velocityTarget: 40
}

get

Fetch a sprint by ID.

Parameters

FieldTypeRequired
sprintIdstringYes

list

List sprints for a project.

Parameters

FieldTypeRequired
projectKeystringYes
statusstringNo
limitnumberNo
offsetnumberNo

query

Search sprints across one or more projects.

Parameters

FieldTypeRequiredNotes
projectKeystringNoSingle project scope
projectKeysstring[]NoMultiple project scope
querystringNoSearch text (name/goal)
statusstringNo
limitnumberNo
offsetnumberNo

set_parent

Set or clear the parent sprint for a child sprint. Pass null to parentSprintId to clear.

Parameters

FieldTypeRequired
sprintIdstringYes
parentSprintIdstring | nullNo

update

Update sprint fields.

Parameters

FieldTypeRequired
sprintIdstringYes
namestringNo
goalstringNo
statusstringNo
startTsnumberNo
endTsnumberNo
velocityTargetnumberNo
metadataobjectNo

delete

Delete a sprint. Linked tasks are unlinked automatically.

Parameters

FieldTypeRequired
sprintIdstringYes

link_task

Link a task to a sprint.

Parameters

FieldTypeRequiredNotes
sprintIdstringYes
taskIdstringYes
actorHandlestringNoWho performed the link
clientRequestIdstringNoIdempotency key

Example

pm_sprint {
  action: "link_task",
  sprintId: "01HXYZ...",
  taskId: "01HABC...",
  actorHandle: "@skadi"
}

unlink_task

Unlink a task from a sprint.

Parameters

FieldTypeRequired
sprintIdstringYes
taskIdstringYes
actorHandlestringNo
clientRequestIdstringNo

close_checked

Close a sprint after checking that its task set is nonempty and every task is done. Pass the task keys you intended to complete to detect membership changes before closing.

FieldTypeRequiredNotes
projectKeystringYesProject owning the sprint
sprintIdstringYesSprint to close
clientRequestIdstringYesRetain for retries of this close operation
expectedTaskKeysstring[]NoNonempty list of tasks you expect in the sprint; omission checks current membership
actorHandlestringNoActor for the operation
pm_sprint {
  action: "close_checked",
  projectKey: "my-api",
  sprintId: "<sprint-id>",
  clientRequestId: "<generated-request-id>",
  expectedTaskKeys: ["MYAPI-42", "MYAPI-43"]
}

Inspect structuredContent.outcome: closed or existing confirms closure; tasks_not_done, task_set_drift, or needs_attention requires follow-up. A successful tool response can contain one of those non-closing outcomes. Reuse the same request ID and arguments for an uncertain retry.


help

Return the structured action reference from the running MCP server.

pm_sprint { action: "help" }

The help payload is a read-only contract for sprint orchestration:

FieldContents
actionsEvery accepted action, including close_checked
whenToUseGuidance for sprint creation, scoped listing, cross-project query, hierarchy, lifecycle, and task membership
examplesRepresentative calls such as querying active sprints, linking a task by taskId, and clearing a parent sprint
cautionsFetch-before-update, task IDs for membership, and request IDs for supported mutations
compatibilityCompatibility notes for supported calls

Use help when building sprint agents that need to understand hierarchy and membership boundaries.

Related