Flow numbers of a project - cycle time, lead time, throughput, WIP, stuck cards, bugs and releases - for a date range (Premium, spec D152)
get_project_insightsFlow numbers of a project - cycle time, lead time, throughput, WIP, stuck cards, bugs and releases - for a date range (Premium, spec D152).
MCP tool get_project_insights (read-only, Premium: Free / Pro -> 403 plan_required, details.feature insights). Flow numbers from board history, no AI. Cycle time = first move into in-progress -> done (median, p85, calendar days); only cards with a recorded first move are measured: say "measured cycle_measured of cycle_total cards", never fill the gap. Lead time = created -> done. Default range: last 30 days (omit from/to); compare adds the equal-length period before. people (per-person load, stuck cards, and the cards / points each one finished in the range — D191) and unassigned appear only when the token owner is a project or company admin: when absent say so, never guess it. Done counts go to the card's current assignee; the rows plus unassigned add up to the cards / points done in the range. to < from or over 366 days -> 400 invalid_range.
Insights (D152): summarise the numbers for the user in plain words (cycle time median / p85 in days, throughput, WIP, stuck cards, bugs) and name issue keys where the result lists them. When cycle data is partial say "measured n of m cards" (cycle_measured of cycle_total) — never extrapolate to the unmeasured cards. If people is absent the token owner is not an admin: say per-person data is not available to you and never invent it. "Who finished how many cards / points" (D191) = people[].done_cards / done_points plus unassigned (cards with no assignee); they count the card's current assignee and add up to the cards done in the range. The default range is 30 days; pass from / to (and compare) only when the user names a range. Exports (CSV) are web only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last day (Asia/Bangkok), inclusive. Default: today. | |
| from | No | First day (Asia/Bangkok), inclusive. Default: 29 days before `to` (30 days). | |
| compare | No | Include the previous period (`prev`, `delta_*`, `better`). Default true. | |
| project_key | Yes | Project key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter. |