Get Project Flow Metrics
asana_get_project_flow_metricsReveal where work gets stuck by computing cycle-time/lead-time percentiles, dwell times, throughput, reschedule frequency, and worst offenders for a project.
Instructions
Compute delivery-flow statistics for a project by replaying the activity stream of its recently-completed tasks. Returns cycle-time and lead-time percentiles (p50/p85/p95 — cycle time is right-skewed, so the mean is reported only as a secondary figure), per-section dwell times ranked worst-first to expose bottlenecks, weekly throughput, reschedule frequency and median slip, and 'worst offender' task lists with clickable permalinks. EXPENSIVE: costs roughly one API request per sampled task, so it is bounded by max_tasks (hard cap 100) and by the server-wide per-prompt request budget; the response always states how much of the project was actually sampled. Use this to answer 'where does work get stuck?' or 'how long does delivery actually take?'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The project to analyze. Accepts a GID (`'1200000000'`), an Asana project URL (`'https://app.asana.com/0/1200000000/list'`), or a project name to resolve via typeahead (e.g. `'Backend API'`). | |
| max_tasks | No | Maximum number of completed tasks to sample. Each sampled task costs one extra API request, so keep this small for exploratory questions. Defaults to 50, hard-capped at 100. The most recently completed tasks are sampled first. | |
| completed_since | No | Only sample tasks completed on or after this date, as `YYYY-MM-DD` (e.g. `'2026-05-01'`). Defaults to 90 days ago. Widen it for slow-moving projects; narrow it to measure a recent process change. Malformed values silently fall back to the default. |