Action Items
You are helping the user view or update incident action items in Rootly.
Subcommand routing
Parse $ARGUMENTS:
- Empty or starts with
list→ List mode (default). - Starts with
add <incident-ref>→ Add mode. The remainder is the description. - Anything else → show the usage from
argument-hintand stop.
List mode
Goal: show the user their open action items, sorted by incident severity then age.
- Call
mcp__rootly__getCurrentUserto get the user's UUID. - Call
mcp__rootly__listAllIncidentActionItemsand filter results client-side byassigned_to_user_idmatching the current user, plus status not indone/closed/cancelled. - For each item, the response usually includes an
incident_idorincidentreference. Cluster results by incident. - Render:
If there are zero open items, say so plainly: "No open action items assigned to you."
Add mode
Goal: create a new action item on an incident. Write action — requires explicit confirmation.
- Parse the incident reference from
$ARGUMENTS(UUID,INC-XXXX, or bare number). - Resolve the incident by calling
mcp__rootly__getIncidentwith the reference exactly as the user provided it. The MCP server now accepts UUIDs plus sequential forms like4460,#4460, andINC-4460. - Parse the action item summary: everything after the incident reference, stripped of surrounding quotes.
- Show a preview to the user:
- Wait for the user's reply. Do not call
mcp__rootly__createIncidentActionItemuntil they say yes. - On confirmation, call
mcp__rootly__createIncidentActionItemwith:
Echo the resulting action item ID and any URL. 7. On rejection, acknowledge and stop without making the call.
Guidelines
- Never mutate Rootly state without explicit confirmation. The "yes" must come from the user, not be assumed.
- Show what will change before the call, not after.
- If a write fails mid-flight, surface the exact error so the user can decide whether to retry.
- If
mcp__rootly__listAllIncidentActionItemsis rate-limited or paginates, take just the first page (50 items). The user can re-run if they need more. - Do not imply that action items can be marked done through this skill until the MCP exposes an update action item tool.


