Analyze database
analyzeRun read-only OmniFocus analytics to get health snapshots, velocity, overdue clusters, and stalled projects as markdown counts and lists for your own interpretation.
Instructions
Read-only analytics over the OmniFocus database: health_snapshot, velocity, overdue_clusters, or stalled_projects. Returns counts, rates, lists and dates as markdown — no scores and no recommendations — so the caller does the interpreting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass the process-local cache. Other clients and GUI changes may otherwise remain cached for the advertised TTL. | |
| analysis | Yes | Which analysis to run. health_snapshot = one-pass counts of inbox, incomplete, overdue, due-today, flagged, untagged, un-estimated tasks plus project status counts and recent completions. velocity = per-day completed/created counts over a trailing window. overdue_clusters = overdue tasks grouped by project and by tag. stalled_projects = active projects with no next action and/or no recent activity. | |
| dateMode | No | Date predicates use dates set directly on tasks, or effective dates inherited from parents/projects. Default: direct. | |
| velocity | No | Options for analysis="velocity"; ignored by other analyses | |
| overdueClusters | No | Options for analysis="overdue_clusters"; ignored by other analyses | |
| stalledProjects | No | Options for analysis="stalled_projects"; ignored by other analyses | |
| includeProjectRoots | No | Include project root tasks (default false). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| meta | No | ||
| tool | Yes | ||
| success | Yes |