Skip to main content
Glama

generate_rca

Generates a structured Root Cause Analysis report for production incidents, turning incident details into a publish-ready RCA with timeline, cause, impact, and corrective actions.

Instructions

Generate a detailed Root Cause Analysis report for a production incident. Returns a structured prompt the host LLM completes into a publish-ready RCA document with summary, timeline, root cause, impact, resolution, corrective actions, preventive measures, and lessons learned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
impactNoQuantified impact: users affected, revenue, SLO burn, etc.
timelineNoFree-form timeline of events from detection through resolution.
rootCauseNoKnown or suspected root cause, if already identified.
resolutionNoWhat was done to resolve / mitigate.
extraContextNo
detectionTimeNoISO-8601 timestamp when first noticed.
incidentTitleYesShort name for the incident, e.g. 'Checkout 500s 2026-06-20'.
resolutionTimeNoISO-8601 timestamp when mitigated / resolved.
affectedSystemsNoServices / regions / customer segments affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A3.7/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden. It does disclose a genuinely important trait – it returns a structured prompt the host LLM completes, rather than the finished document itself – which is valuable beyond structured fields. However, it omits permission requirements, how optional params (8 of 9 are optional) are handled when absent, and any limits.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the core action, with no filler. The second sentence is long but each listed section earns its place by telling the agent what the generated document will contain.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description must characterize the return value – and it does, describing the structured prompt and its component sections. For a 9-parameter generation tool this is largely complete, with only optional-parameter behavior left unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 89%, so the schema already documents nearly every parameter. The description lists the output sections (summary, timeline, root cause, impact, resolution, corrective actions, preventive measures, lessons learned), which loosely maps to the input fields but adds little syntax or format meaning beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ("Generate") and resource ("detailed Root Cause Analysis report") scoped to "a production incident," and no sibling tool overlaps with this capability, so an agent can distinguish it immediately.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The context "for a production incident" implies post-incident usage, but the description never states when to reach for this versus e.g. analyze_bug or jira_create_issue, nor any preconditions or exclusions. Usage is inferable but not guided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.