rootlyhq/rootly-mcp-server
Rootly MCP server
d6a7cb40fa0brootly-mcp-server3.0.0 in pyproject.tomlPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 585 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- 26 tools, prompts and resources registered only in the repository's tests are not counted on this page
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Not every path through the code could be followed. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 31 tools, 5 resources. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
check_oncall_health_risk, check_responder_availability, create_override_recommendation, get_investigation_progress, get_oncall_handoff_summary, get_oncall_schedule_summary and 4 morecheck_oncall_health_riskcheck_oncall_health_riskcheck_oncall_health_riskNo tool was seen to: start other programs on the machine; read or write files.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
ONCALLHEALTH_API_KEY· check_oncall_health_risk
Text it brings in from outside
No tool was seen returning text from outside the server to the model.
Not all three are present in the tools the scanner traced.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (36: 31 tools, 5 resources)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
get_incident_resourceresource Expose incident details as an MCP resource for easy reference and context.
Expose incident details as an MCP resource for easy reference and context.
get_oncall_status_resourceresource Show current on-call status across teams - critical for incident response context.
Show current on-call status across teams - critical for incident response context.
get_team_resourceresource Expose team details as an MCP resource for easy reference and context.
Expose team details as an MCP resource for easy reference and context.
get_workflow_guide_resourceresource Provide workflow guidance for common Rootly operations.
Provide workflow guidance for common Rootly operations.
list_incidents_resourceresource List recent incidents as an MCP resource for quick reference.
List recent incidents as an MCP resource for quick reference.
cancel_investigationtool Cancel a running investigation.
Cancel a running investigation.
check_oncall_health_risktool Check if any at-risk responders (based on On-Call Health analysis) are scheduled for on-call.NetworkCredentialsEnv varsSensitive paths
Check if any at-risk responders (based on On-Call Health analysis) are scheduled for on-call.
Integrates with On-Call Health (oncallhealth.ai) to identify responders with elevated
workload health risk and checks if they are scheduled during the specified period.
Optionally recommends safe replacement responders.
Privacy: This tool surfaces identifiable employee workload health data from On-Call Health.
It is an opt-in feature — an administrator must explicitly configure the ONCALLHEALTH_API_KEY
environment variable to enable it.
Available only in self-hosted deployments. Requires ONCALLHEALTH_API_KEY environment variable.check_responder_availabilitytool Check if specific users are scheduled for on-call in a date range.Network
Check if specific users are scheduled for on-call in a date range.
Use this to verify if at-risk users (from On-Call Health) are scheduled,
or to check availability before assigning new shifts.
Returns scheduled users with their shifts and total hours,
plus users who are not scheduled. Shift times and hours are clipped to
the requested window; date-only end dates include that entire UTC day.collect_incidentstool Collect a bounded working set of incidents across multiple pages for audits and analysis.
Collect a bounded working set of incidents across multiple pages for audits and analysis.
Use this instead of list_incidents when you want a compact batch of incidents in one
tool call, while keeping payload size under control.
Argument caps: max_results <= 100, batch_size between 10 and 100. Values
outside those bounds are clamped and reported, not rejected.create_incidenttool Create an incident with a scoped set of fields for agent-driven workflows.
Create an incident with a scoped set of fields for agent-driven workflows.
create_override_recommendationtool Recommend replacement responders for an override shift.Network
Recommend replacement responders for an override shift.
Finds users in the same schedule rotation who are not already
heavily loaded during the period.
Returns recommended replacements sorted by current load (lowest first),
plus a ready-to-use override payload for the top recommendation.find_related_incidentstool 🔍 Find historically similar incidents using ML similarity analysis - CRITICAL for incident response.
🔍 Find historically similar incidents using ML similarity analysis - CRITICAL for incident response.
WHEN TO USE:
• EARLY in incident response to learn from past similar issues
• When you're unsure about root cause or resolution approach
• Before escalating to find if this is a known pattern
• For post-incident analysis to identify recurring issues
Provide either incident_id OR incident_description (e.g., 'website is down', 'database timeout errors').
Use status_filter to limit to specific incident statuses or leave empty for all incidents.
Argument caps: max_results <= 20. Values outside the bounds are clamped
and reported, not rejected.get_alert_by_short_idtool Get alert details by short_id or alert URL. Use this when a user pastes an alert URL or short_id from a pager notification and wants to investigate the alert.
Get alert details by short_id or alert URL. Use this when a user pastes an alert URL or short_id from a pager notification and wants to investigate the alert.
get_incidenttool Retrieve a single incident with PIR-related fields for direct verification.
Retrieve a single incident with PIR-related fields for direct verification.
get_incident_meeting_transcriptstool Read what was said on an incident's calls (Rootly Meeting Scribe).
Read what was said on an incident's calls (Rootly Meeting Scribe).
Returns the spoken transcript of each recorded call for the incident, as
text per speaker turn, alongside Scribe's own summary. Covers Google Meet,
Zoom and Microsoft Teams calls that Scribe recorded.
Use this to catch up on a call you missed, or to pull decisions and
actions out of an incident bridge. Recordings where nobody spoke are
skipped rather than returned empty.get_incident_retrospectivetool Fetch the written retrospective for one incident.
Fetch the written retrospective for one incident.
Answers "what did we learn from INC-4460" in a single call. Returns the
document's title, content and status alongside the incident it belongs
to, and reports the incident's retrospective progress so a blank
document is distinguishable from one nobody has started.
The route exists only in this direction: `/post_mortems` cannot be
filtered by incident, and the document carries no reference back to one,
so the id has to come from the incident's own relationship. Doing that
here keeps a caller from having to know it. Use
`list_incident_post_mortems` to search across retrospectives instead.get_investigationtool Get an investigation's verdict: summary, root cause, confidence, hypotheses,
Get an investigation's verdict: summary, root cause, confidence, hypotheses,
evidence, causal chain and open_questions (what Rootly couldn't verify, so you
can check them with tools only you have).get_investigation_progresstool Follow a running investigation. Returns new steps and tool calls sinceNetwork
Follow a running investigation. Returns new steps and tool calls since
after_cursor, waiting up to wait_seconds for them. Keep calling with
after_cursor=next_cursor until done is true.get_oncall_handoff_summarytool Get current on-call handoff summary. Shows who's currently on-call and who's next.Network
Get current on-call handoff summary. Shows who's currently on-call and who's next.
Optionally fetch incidents (set include_incidents=True, but slower).
Each responder's `role` is their On-Call role (e.g. Responder, Admin);
shifts themselves carry no role.
Use filter_by_region=True with a timezone to see only people on-call
during business hours in that region (e.g., timezone='Asia/Tokyo', filter_by_region=True
shows only APAC on-call during APAC business hours).
Useful for:
- Quick on-call status checks
- Daily handoff meetings
- Regional on-call status (APAC, EU, Americas)
- Team coordination across timezonesget_oncall_schedule_summarytool Get compact on-call schedule summary for a date range.Network
Get compact on-call schedule summary for a date range.
Returns one entry per user per schedule (not raw shifts), with
aggregated hours. Optimized for AI agent context windows.
Use this instead of list_shifts when you need:
- Aggregated hours per responder
- Schedule coverage overview
- Responder load analysis with warnings
One row per user per schedule, so the response stays the same size
whether the range is a week or a year. For individual shift times, or
for one person's schedule, use list_shifts instead.
Ranges longer than the upstream cap are split into windows and merged
automatically.get_oncall_shift_metricstool 📊 Get on-call workload metrics and shift statistics - ESSENTIAL for fairness and planning.Network
📊 Get on-call workload metrics and shift statistics - ESSENTIAL for fairness and planning.
WHEN TO USE:
• Monthly/quarterly reviews of on-call distribution
• Before adjusting schedules to ensure fair workload
• For management reporting on on-call burden
• When investigating potential on-call burnout
Returns shift counts, total hours, and statistics grouped by user, schedule, or team.
Examples:
- Monthly report: start_date='2025-10-01', end_date='2025-10-31'
- Specific user: start_date='2025-10-01', end_date='2025-10-31', user_ids='123,456'
- Specific team: team_ids='team-1' (will query schedules for that team first)get_schedule_shiftstool List shifts for one schedule over a date range.Network
List shifts for one schedule over a date range.
Replaces the generated getScheduleShifts, which passed the range
straight through and failed with `Datetime range exceeds 1 month` on
anything longer than the upstream accepts. Ranges longer than that are
split into windows and merged here, so a two-month question is a normal
request.
Use list_shifts instead when the question spans schedules or filters by
user.get_server_versiontool Get the Rootly MCP server version.
Get the Rootly MCP server version.
Returns the current version of the deployed MCP server.
Useful for checking if the server has been updated.get_shift_incidentstool Get incidents and alerts that occurred during a specific shift or time period.Network
Get incidents and alerts that occurred during a specific shift or time period.
Useful for:
- Shift handoff summaries showing what happened during the shift
- Post-shift debriefs and reporting
- Incident analysis by time period
- Understanding team workload during specific shifts
Returns incident details including severity, status, duration, and basic summary.get_workflow_task_params_schematool Get the task_params fields for one workflow task type.
Get the task_params fields for one workflow task type.
Call this before create_workflow_task or update_workflow_task: their
task_params schema lists only the task types, not each type's fields.
Pass the result's fields inside data.attributes.task_params, together
with task_type.list_auditstool Read the Rootly audit log: who changed which configuration object, when, and what changed.
Read the Rootly audit log: who changed which configuration object, when, and what changed.
Each record carries the action, the acting user, the source, and the
before-and-after value of every modified field. Use it to answer "who
changed this escalation policy", "what did this workflow look like
before", or to collect change evidence for a compliance review.
Covers roughly 60 resource types at the object level and is retained
indefinitely. Two limits worth knowing: schedule rotations, escalation
levels and shift overrides are not audited, and sign-in events are kept
separately from this log.
Returns a single page of at most 25 records, newest first, alongside
`total_matching` so a wider search can be narrowed with the filters. It
does not walk the whole log, so a full compliance export belongs on the
REST endpoint rather than here.
Requires an API token whose role has the "Audits - read" permission.list_endpointstool List all available Rootly API endpoints with their descriptions.
List all available Rootly API endpoints with their descriptions.
list_incident_post_mortemstool Browse retrospectives across incidents.
Browse retrospectives across incidents.
Answers "the last five retrospectives", "published ones for this team
since June", or "how many are still draft". Each result carries the
document's analysis -- summary, causes, impact, actions. A recognised
Timeline is dropped and the record says so with `timeline_omitted`,
because a minute-by-minute log is a third of a document and rarely what
a browse is after. What remains is still capped, and a record cut that
way carries `content_truncated` with its real `content_chars`. Use
`get_incident_retrospective` for one document whole, Timeline included
and nothing cut.
Filtering happens upstream for status, severity, team, service and
dates. Free-text search is not offered here because the API's search
matches titles only, and titles are generated from the incident name --
it cannot find a retrospective by what it says. Use
`get_incident_retrospective` when the incident is already known.list_incident_rolestool List role assignments for an incident (who is Commander, Scribe, etc.).
List role assignments for an incident (who is Commander, Scribe, etc.).
Without `incident_id`, lists the incident roles the organization
defines (name, slug, summary, enabled), for "what roles do we have?".
Returns one entry per defined role with role metadata and the assigned
user (or `user_id: null` for roles that are defined on the incident but
not yet assigned). Use this to answer questions like "who is the
incident commander?", "is there a postmortem owner?", or "list all
roles for INC-4460".
Implementation note: this wraps `GET /v1/incidents/{id}?include=roles`
and flattens the JSON:API `included` array of `incident_role_assignments`
into a flat table so callers don't need to walk the relationships graph.list_incidentstool 🚨 List incidents with structured filters - ESSENTIAL for incident response.
🚨 List incidents with structured filters - ESSENTIAL for incident response.
WHEN TO USE:
• During incident response to check for related ongoing incidents
• For shift handoffs to review recent incidents by team/service
• For post-incident analysis to find patterns by severity/date range
• For audit workflows requiring specific filtering criteria
Use this when you need date-range, team, service, severity, or status filters.
For simple text searches, prefer search_incidents instead.
Argument caps: page_size <= 100. Values outside the bounds are clamped
and reported, not rejected.list_investigationstool List AI SRE investigations you can see, newest first.
List AI SRE investigations you can see, newest first.
list_shiftstool List on-call shifts with reliable filtering, enrichment, and MCP-level pagination.Network
List on-call shifts with reliable filtering, enrichment, and MCP-level pagination.
Unlike the raw API, this tool:
- Actually filters by user_ids (client-side filtering)
- Includes user_name, user_email, schedule_name, team_name
- Calculates total_hours for each shift
- Returns a predictable paginated result for MCP clients
Use this instead of the auto-generated listShifts when you need user filtering
or dependable pagination on large tenants.
Answers questions about *individual* shifts: who is on call at a given
time, when a handoff happens, which shifts were overrides, or one
person's schedule (via user_ids). For questions about totals across a
team -- hours per responder, coverage, load -- use
get_oncall_schedule_summary, whose response size depends on team size
rather than on how long a range you asked for.
Ranges longer than the upstream cap are split into windows and merged
automatically, so a multi-month range is a normal request.search_incidentstool Search incidents with flexible pagination control.
Search incidents with flexible pagination control.
Use page_number=0 to fetch all matching results across multiple pages.
Use page_number>0 to fetch a specific page.
max_results (also accepted as `limit`) caps how many incidents come back
in either mode: across pages when page_number=0, and within the page
otherwise. Left unset, a single page returns page_size incidents and
page_number=0 stops at 5.
Argument caps: page_size <= 20, max_results <= 10. Values outside those
bounds are clamped and reported, not rejected.start_investigationtool Start an AI SRE investigation on one alert or incident. Then follow it with
Start an AI SRE investigation on one alert or incident. Then follow it with
get_investigation_progress.suggest_solutionstool 💡 Get actionable solution recommendations from similar resolved incidents - KEY for incident response.
💡 Get actionable solution recommendations from similar resolved incidents - KEY for incident response.
WHEN TO USE:
• AFTER find_related_incidents to get specific resolution steps
• When team is stuck on how to resolve the current incident
• To speed up incident resolution with proven solutions
• For training new responders on resolution patterns
Provide either incident_id OR title/description. Defaults to resolved incidents for solution mining.
Argument caps: max_solutions <= 10. Values outside the bounds are clamped
and reported, not rejected.update_incidenttool Update native incident fields via ``PUT /v1/incidents/{id}``.
Update native incident fields via ``PUT /v1/incidents/{id}``.
Only the arguments you provide are sent, so unspecified fields —
including the lifecycle ``status`` — are left untouched.Text the model reads (38)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
list_endpoints tool
List all available Rootly API endpoints with their descriptions.
get_server_version tool
Get the Rootly MCP server version.
Returns the current version of the deployed MCP server.
Useful for checking if the server has been updated.get_alert_by_short_id tool
Get alert details by short_id or alert URL. Use this when a user pastes an alert URL or short_id from a pager notification and wants to investigate the alert.
list_audits tool
Read the Rootly audit log: who changed which configuration object, when, and what changed.
Each record carries the action, the acting user, the source, and the
before-and-after value of every modified field. Use it to answer "who
changed this escalation policy", "what did this workflow look like
before", or to collect change evidence for a compliance review.
Covers roughly 60 resource types at the object level and is retained
indefinitely. Two limits worth knowing: schedule rotations, escalation
levels and shift overrides are not audited, and sign-in events are kept
separately from this log.
Returns a single page of at most 25 records, newest first, alongside
`total_matching` so a wider search can be narrowed with the filters. It
does not walk the whole log, so a full compliance export belongs on the
REST endpoint rather than here.
Requires an API token whose role has the "Audits - read" permission.list_incidents tool
🚨 List incidents with structured filters - ESSENTIAL for incident response.
WHEN TO USE:
• During incident response to check for related ongoing incidents
• For shift handoffs to review recent incidents by team/service
• For post-incident analysis to find patterns by severity/date range
• For audit workflows requiring specific filtering criteria
Use this when you need date-range, team, service, severity, or status filters.
For simple text searches, prefer search_incidents instead.
Argument caps: page_size <= 100. Values outside the bounds are clamped
and reported, not rejected.collect_incidents tool
Collect a bounded working set of incidents across multiple pages for audits and analysis.
Use this instead of list_incidents when you want a compact batch of incidents in one
tool call, while keeping payload size under control.
Argument caps: max_results <= 100, batch_size between 10 and 100. Values
outside those bounds are clamped and reported, not rejected.search_incidents tool
Search incidents with flexible pagination control.
Use page_number=0 to fetch all matching results across multiple pages.
Use page_number>0 to fetch a specific page.
max_results (also accepted as `limit`) caps how many incidents come back
in either mode: across pages when page_number=0, and within the page
otherwise. Left unset, a single page returns page_size incidents and
page_number=0 stops at 5.
Argument caps: page_size <= 20, max_results <= 10. Values outside those
bounds are clamped and reported, not rejected.get_incident tool
Retrieve a single incident with PIR-related fields for direct verification.
get_incident_retrospective tool
Fetch the written retrospective for one incident.
Answers "what did we learn from INC-4460" in a single call. Returns the
document's title, content and status alongside the incident it belongs
to, and reports the incident's retrospective progress so a blank
document is distinguishable from one nobody has started.
The route exists only in this direction: `/post_mortems` cannot be
filtered by incident, and the document carries no reference back to one,
so the id has to come from the incident's own relationship. Doing that
here keeps a caller from having to know it. Use
`list_incident_post_mortems` to search across retrospectives instead.list_incident_post_mortems tool
Browse retrospectives across incidents.
Answers "the last five retrospectives", "published ones for this team
since June", or "how many are still draft". Each result carries the
document's analysis -- summary, causes, impact, actions. A recognised
Timeline is dropped and the record says so with `timeline_omitted`,
because a minute-by-minute log is a third of a document and rarely what
a browse is after. What remains is still capped, and a record cut that
way carries `content_truncated` with its real `content_chars`. Use
`get_incident_retrospective` for one document whole, Timeline included
and nothing cut.
Filtering happens upstream for status, severity, team, service and
dates. Free-text search is not offered here because the API's search
matches titles only, and titles are generated from the incident name --
it cannot find a retrospective by what it says. Use
`get_incident_retrospective` when the incident is already known.list_incident_roles tool
List role assignments for an incident (who is Commander, Scribe, etc.).
Without `incident_id`, lists the incident roles the organization
defines (name, slug, summary, enabled), for "what roles do we have?".
Returns one entry per defined role with role metadata and the assigned
user (or `user_id: null` for roles that are defined on the incident but
not yet assigned). Use this to answer questions like "who is the
incident commander?", "is there a postmortem owner?", or "list all
roles for INC-4460".
Implementation note: this wraps `GET /v1/incidents/{id}?include=roles`
and flattens the JSON:API `included` array of `incident_role_assignments`
into a flat table so callers don't need to walk the relationships graph.get_incident_meeting_transcripts tool
Read what was said on an incident's calls (Rootly Meeting Scribe).
Returns the spoken transcript of each recorded call for the incident, as
text per speaker turn, alongside Scribe's own summary. Covers Google Meet,
Zoom and Microsoft Teams calls that Scribe recorded.
Use this to catch up on a call you missed, or to pull decisions and
actions out of an incident bridge. Recordings where nobody spoke are
skipped rather than returned empty.create_incident tool
Create an incident with a scoped set of fields for agent-driven workflows.
update_incident tool
Update native incident fields via ``PUT /v1/incidents/{id}``.
Only the arguments you provide are sent, so unspecified fields —
including the lifecycle ``status`` — are left untouched.find_related_incidents tool
🔍 Find historically similar incidents using ML similarity analysis - CRITICAL for incident response.
WHEN TO USE:
• EARLY in incident response to learn from past similar issues
• When you're unsure about root cause or resolution approach
• Before escalating to find if this is a known pattern
• For post-incident analysis to identify recurring issues
Provide either incident_id OR incident_description (e.g., 'website is down', 'database timeout errors').
Use status_filter to limit to specific incident statuses or leave empty for all incidents.
Argument caps: max_results <= 20. Values outside the bounds are clamped
and reported, not rejected.suggest_solutions tool
💡 Get actionable solution recommendations from similar resolved incidents - KEY for incident response.
WHEN TO USE:
• AFTER find_related_incidents to get specific resolution steps
• When team is stuck on how to resolve the current incident
• To speed up incident resolution with proven solutions
• For training new responders on resolution patterns
Provide either incident_id OR title/description. Defaults to resolved incidents for solution mining.
Argument caps: max_solutions <= 10. Values outside the bounds are clamped
and reported, not rejected.list_investigations tool
List AI SRE investigations you can see, newest first.
get_investigation tool
Get an investigation's verdict: summary, root cause, confidence, hypotheses,
evidence, causal chain and open_questions (what Rootly couldn't verify, so you
can check them with tools only you have).get_investigation_progress tool
Follow a running investigation. Returns new steps and tool calls since
after_cursor, waiting up to wait_seconds for them. Keep calling with
after_cursor=next_cursor until done is true.start_investigation tool
Start an AI SRE investigation on one alert or incident. Then follow it with
get_investigation_progress.cancel_investigation tool
Cancel a running investigation.
get_oncall_shift_metrics tool
📊 Get on-call workload metrics and shift statistics - ESSENTIAL for fairness and planning.
WHEN TO USE:
• Monthly/quarterly reviews of on-call distribution
• Before adjusting schedules to ensure fair workload
• For management reporting on on-call burden
• When investigating potential on-call burnout
Returns shift counts, total hours, and statistics grouped by user, schedule, or team.
Examples:
- Monthly report: start_date='2025-10-01', end_date='2025-10-31'
- Specific user: start_date='2025-10-01', end_date='2025-10-31', user_ids='123,456'
- Specific team: team_ids='team-1' (will query schedules for that team first)get_oncall_handoff_summary tool
Get current on-call handoff summary. Shows who's currently on-call and who's next.
Optionally fetch incidents (set include_incidents=True, but slower).
Each responder's `role` is their On-Call role (e.g. Responder, Admin);
shifts themselves carry no role.
Use filter_by_region=True with a timezone to see only people on-call
during business hours in that region (e.g., timezone='Asia/Tokyo', filter_by_region=True
shows only APAC on-call during APAC business hours).
Useful for:
- Quick on-call status checks
- Daily handoff meetings
- Regional on-call status (APAC, EU, Americas)
- Team coordination across timezonesget_shift_incidents tool
Get incidents and alerts that occurred during a specific shift or time period.
Useful for:
- Shift handoff summaries showing what happened during the shift
- Post-shift debriefs and reporting
- Incident analysis by time period
- Understanding team workload during specific shifts
Returns incident details including severity, status, duration, and basic summary.get_schedule_shifts tool
List shifts for one schedule over a date range.
Replaces the generated getScheduleShifts, which passed the range
straight through and failed with `Datetime range exceeds 1 month` on
anything longer than the upstream accepts. Ranges longer than that are
split into windows and merged here, so a two-month question is a normal
request.
Use list_shifts instead when the question spans schedules or filters by
user.list_shifts tool
List on-call shifts with reliable filtering, enrichment, and MCP-level pagination.
Unlike the raw API, this tool:
- Actually filters by user_ids (client-side filtering)
- Includes user_name, user_email, schedule_name, team_name
- Calculates total_hours for each shift
- Returns a predictable paginated result for MCP clients
Use this instead of the auto-generated listShifts when you need user filtering
or dependable pagination on large tenants.
Answers questions about *individual* shifts: who is on call at a given
time, when a handoff happens, which shifts were overrides, or one
person's schedule (via user_ids). For questions about totals across a
team -- hours per responder, coverage, load -- use
get_oncall_schedule_summary, whose response size depends on team size
rather than on how long a range you asked for.
Ranges longer than the upstream cap are split into windows and merged
automatically, so a multi-month range is a normal request.get_oncall_schedule_summary tool
Get compact on-call schedule summary for a date range.
Returns one entry per user per schedule (not raw shifts), with
aggregated hours. Optimized for AI agent context windows.
Use this instead of list_shifts when you need:
- Aggregated hours per responder
- Schedule coverage overview
- Responder load analysis with warnings
One row per user per schedule, so the response stays the same size
whether the range is a week or a year. For individual shift times, or
for one person's schedule, use list_shifts instead.
Ranges longer than the upstream cap are split into windows and merged
automatically.check_responder_availability tool
Check if specific users are scheduled for on-call in a date range.
Use this to verify if at-risk users (from On-Call Health) are scheduled,
or to check availability before assigning new shifts.
Returns scheduled users with their shifts and total hours,
plus users who are not scheduled. Shift times and hours are clipped to
the requested window; date-only end dates include that entire UTC day.create_override_recommendation tool
Recommend replacement responders for an override shift.
Finds users in the same schedule rotation who are not already
heavily loaded during the period.
Returns recommended replacements sorted by current load (lowest first),
plus a ready-to-use override payload for the top recommendation.check_oncall_health_risk tool
Check if any at-risk responders (based on On-Call Health analysis) are scheduled for on-call.
Integrates with On-Call Health (oncallhealth.ai) to identify responders with elevated
workload health risk and checks if they are scheduled during the specified period.
Optionally recommends safe replacement responders.
Privacy: This tool surfaces identifiable employee workload health data from On-Call Health.
It is an opt-in feature — an administrator must explicitly configure the ONCALLHEALTH_API_KEY
environment variable to enable it.
Available only in self-hosted deployments. Requires ONCALLHEALTH_API_KEY environment variable.get_workflow_task_params_schema tool
Get the task_params fields for one workflow task type.
Call this before create_workflow_task or update_workflow_task: their
task_params schema lists only the task types, not each type's fields.
Pass the result's fields inside data.attributes.task_params, together
with task_type.list_incidents tool
list_incidents tool
get_incident_resource resource
Expose incident details as an MCP resource for easy reference and context.
get_team_resource resource
Expose team details as an MCP resource for easy reference and context.
list_incidents_resource resource
List recent incidents as an MCP resource for quick reference.
get_oncall_status_resource resource
Show current on-call status across teams - critical for incident response context.
get_workflow_guide_resource resource
Provide workflow guidance for common Rootly operations.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 36 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 36 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 36 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any addressNo tool sends a request to an address the caller supplies — 36 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 36 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 36 capabilities; 34 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 36 capabilities; 34 more call code the scanner could not follow, where it may happen
- Tools that call the network10 of 36 capabilities call the network; 24 more call code the scanner could not follow, where it may happen
Where the code is: 36 handlers in 8 files at commit d6a7cb40fa0b
src/rootly_mcp_server/server.pylist_endpoints, get_server_versionsrc/rootly_mcp_server/tools/alerts.pyget_alert_by_short_idsrc/rootly_mcp_server/tools/audits.pylist_auditssrc/rootly_mcp_server/tools/incidents.pylist_incidents, collect_incidents, search_incidents, get_incident, get_incident_retrospective, list_incident_post_mortems, list_incident_roles, get_incident_meeting_transcripts, create_incident, update_incident, find_related_incidents, suggest_solutionssrc/rootly_mcp_server/tools/investigations.pylist_investigations, get_investigation, get_investigation_progress, start_investigation, cancel_investigationsrc/rootly_mcp_server/tools/oncall.pyget_oncall_shift_metrics, get_oncall_handoff_summary, get_shift_incidents, get_schedule_shifts, list_shifts, get_oncall_schedule_summary, check_responder_availability, create_override_recommendation, check_oncall_health_risksrc/rootly_mcp_server/tools/resources.pyget_incident_resource, get_team_resource, list_incidents_resource, get_oncall_status_resource, get_workflow_guide_resourcesrc/rootly_mcp_server/tools/workflow_tasks.pyget_workflow_task_params_schema
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: pyproject.toml
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: pyproject.toml: dependency ranges declared here were not resolved against a lockfile and were not checked
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionNo MCP SDK declared in a manifest
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials1 of 36 capabilities read credentials; 33 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read (1 only in code no tool reaches)
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | Streamable HTTP |
| Sign-in | not checked needs the live server |
| Servers in the code | 20 (test, disconnect-test, disconnect-test-code-mode, alias-probe, Rootly Code Mode) |
The project's own security
| Security policy | yes SECURITY.md |
|---|---|
| Private reporting | the policy does not name a private channel |
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-14 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (awesome_mobinx, github_search, glama) |
|---|---|
| License | Apache-2.0 |
| Created | 2025-03-12 |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.