Productivity Reporter
Generate a cross-user productivity report based on todo completion data.
Steps
- Fetch all users using
list_users - For each user, fetch their todos using
get_user_todos - Calculate metrics for each user:
- Total todos
- Completed count
- Completion rate (percentage)
- List of pending items
- Rank users by completion rate (highest first)
- Present the report in the output format below
Output Format
# Productivity Report
## Rankings
| Rank | User | Completed | Total | Rate |
|------|------|-----------|-------|------|
| 1 | {name} | {done} | {total} | {rate}% |
| ... | ... | ... | ... | ... |
## Overall Stats
- Total todos across all users: {total}
- Overall completion rate: {rate}%
- Most productive: {top_user}
- Needs attention: {bottom_user}
## Pending Items by User
### {user.name} ({pending_count} pending)
- {todo_title_1}
- {todo_title_2}
...
Notes
- JSONPlaceholder has exactly 10 users with 20 todos each (200 total)
- Todo completion status is static — the same report is generated each time
- Useful for demonstrating report-generation workflows
