On-Call Health
v0.4.1On-call burnout analysis: team risk summaries, at-risk responders, daily health trends.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
validate_integrations Validate Integrations
Check that every connected integration has valid credentials. Call this before starting an analysis. Returns per-integration validation status (GitHub, Slack, Jira, Linear) and an all_valid flag.
| Parameter | Type | Description |
|---|---|---|
force_refresh | boolean | Bypass the backend cache and re-check every token. |
integrations_list Integrations List
List connected integrations (Rootly, GitHub, Slack, Jira, Linear).
oncall_users Oncall Users
Get the users currently on call for a Rootly integration. Cross-reference the returned emails with analysis data (for example get_at_risk_users) to see whether anyone currently on call is at risk.
| Parameter | Type | Description |
|---|---|---|
integration_id * | integer | Rootly integration ID from integrations_list. |
analysis_current Analysis Current
Get the most recent analysis for the current account. Returns metadata only (status, timestamps, configuration). Use analysis_summary with the returned id for the team overview.
analysis_run Analysis Run
Start a new health analysis, wait for it to finish, and return the summary. Runs as a background task for clients that support the MCP Tasks extension and inline otherwise. Progress messages report the analysis status while waiting. On timeout the analysis keeps running on the backend; use analysis_status with the reported analysis_id to pick it up later.
| Parameter | Type | Description |
|---|---|---|
days_back | integer | Number of days of on-call data to analyze (1-365). |
include_weekends | boolean | Include weekend activity in the analysis. |
integration_id | Rootly integration ID from integrations_list; omit for default. | |
wait_timeout_seconds | integer | How long to wait for completion before giving up. |
analysis_start Analysis Start
Start a new health analysis without waiting for it. Poll analysis_status until status is "completed", then use analysis_summary. Prefer analysis_run when you want a single call that waits for the result.
| Parameter | Type | Description |
|---|---|---|
days_back | integer | Number of days of on-call data to analyze (1-365). |
include_weekends | boolean | Include weekend activity in the analysis. |
integration_id | Rootly integration ID from integrations_list; omit for default. |
analysis_status Analysis Status
Get the status and metadata of an analysis.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | Analysis ID (see analysis_current). |
analysis_summary Analysis Summary
Get a condensed team summary of a completed analysis. Returns team averages, the risk-level distribution and the five most and least at-risk members. Use analysis_results only when you need every field.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | Analysis ID (see analysis_current). |
analysis_results Analysis Results
Get the full raw results for a completed analysis. WARNING: Returns complete data for 80+ members with ~40 fields each and may overwhelm a context window. Prefer analysis_summary, get_at_risk_users or member_daily_health unless you need every field.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | Analysis ID (see analysis_current). |
get_at_risk_users Get At Risk Users
Get users at or above a health-risk threshold with their external IDs. Use this to identify at-risk responders and correlate them with Rootly, PagerDuty, Slack or GitHub using the returned platform IDs. Results are sorted by OCH score, highest risk first.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | Analysis ID (see analysis_current). |
include_risk_levels | array | Risk levels to include. |
min_och_score | number | Minimum OCH score to include (0-100). |
get_safe_responders Get Safe Responders
Get users with low health risk who could take additional on-call shifts. Use this to find replacement responders when removing at-risk users from schedules. Results are sorted by OCH score, healthiest first.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | Analysis ID (see analysis_current). |
limit | integer | Maximum users to return. |
max_och_score | number | Maximum OCH score to include (0-100). |
check_users_risk Check Users Risk
Check health risk for specific users by their Rootly user IDs. Use this after fetching a schedule from Rootly to see whether any scheduled responders are at risk. A user is at risk when their OCH score is at or above min_och_score or their risk level is medium or high.
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | Analysis ID (see analysis_current). |
rootly_user_ids * | array | Rootly user IDs to check. |
min_och_score | number | OCH score at or above which a user is at risk. |
member_daily_health Member Daily Health
Get the day-by-day health breakdown for one team member. Shows per-day health scores, incident counts and after-hours activity over the analysis period (only days with data are included).
| Parameter | Type | Description |
|---|---|---|
analysis_id * | integer | Analysis ID (see analysis_current). |
member_email * | string | Email address of the member. |