Skip to main content
Glama
hashirR786

incident-commander-mcp

by hashirR786

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": true,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_recent_deploymentsA

Retrieves the most recent deployments across all services, or filtered by a specific service name. Use this tool first during incident investigation to check whether any recent deployment correlates with an observed symptom. Each result includes service name, version, commit SHA, deployment time, and who triggered the deploy.

get_service_logsA

Retrieves error logs for a specific service within a time window. Use this to identify error messages, stack traces, and patterns after a symptom is observed. Filter by log level to focus on ERROR/FATAL entries during an incident. The "since_minutes" parameter looks back N minutes from the current simulation time (14:06 UTC).

get_service_metricsA

Retrieves time-series performance metrics for a specific service: latency (ms), error rate (0–1), CPU usage (0–1), memory usage (0–1), and requests per second. Use this to identify performance degradation trends and correlate them with deployments or incidents. Look for sudden spikes in error_rate or latency_ms following a deployment.

check_pod_statusA

Checks the current Kubernetes pod/container status for a service. Returns desired vs ready replica counts, restart count, pod phase (Running, CrashLoopBackOff, etc.). A pod_phase of "CrashLoopBackOff" combined with high restarts is a strong indicator of a bad deploy. Use this alongside get_service_metrics to assess service health during an incident.

analyze_root_causeA

Performs automated root cause correlation for a service exhibiting a given symptom. Internally cross-references recent deployments, error logs, and service metrics to produce a structured hypothesis: {likely_cause, confidence (0–1), evidence[]}. This is the primary reasoning tool — call it after collecting data with get_recent_deployments, get_service_logs, and get_service_metrics. Confidence above 0.7 suggests high certainty.

trigger_rollbackA

Submits a rollback request for a service to a target version. IMPORTANT: This tool does NOT immediately execute the rollback. It returns a pending_approval object with a rollback_id that must be reviewed and approved by a human operator before any deployment action is taken. Call analyze_root_cause first to confirm the target version is safe to roll back to. Required fields: service name and target_version (e.g., "v2.4.0").

create_incident_ticketA

Creates a new incident ticket and appends it to the in-memory incident registry. Use this when a new issue is detected that warrants formal tracking. Returns the generated ticket ID and the full incident object. IMPORTANT: This tool appends a new record — calling it twice creates two tickets. Check for existing incidents with the incident://current resource before creating a new one.

post_status_updateA

Appends a timeline entry to an existing incident record. Use this to log investigation findings, actions taken, or status changes during an ongoing incident. Requires a valid incident_id (e.g., "INC-2026-0042"). The message will be timestamped and attributed to "incident-commander-mcp".

Prompts

Interactive templates invoked by user choice

NameDescription
root_cause_investigationGuides the assistant through a structured root cause analysis (RCA) investigation for a service exhibiting a given symptom. Instructs the assistant to systematically call get_recent_deployments, get_service_logs, get_service_metrics, and analyze_root_cause, then synthesise a hypothesis with confidence score and evidence citations.
postmortem_reportGenerates a structured postmortem report for a completed or ongoing incident. Pulls incident details and timeline from the in-memory store and asks the assistant to produce a blameless postmortem with summary, timeline, root cause, impact, remediation, and action items.
rollback_decisionGuides the assistant through a structured risk/benefit analysis before recommending whether to trigger a rollback for a service to a target version. Instructs use of get_service_metrics and check_pod_status to assess current state, then weighs rollback risk vs. benefit before recommending trigger_rollback. Enforces human-in-the-loop review.

Resources

Contextual data attached and managed by the client

NameDescription
Active Incident SnapshotReturns the currently active (highest-priority) incident as a JSON object, including severity, affected services, start time, status, description, and full timeline. Read this resource at the start of any incident investigation workflow.
Incident TimelineReturns the chronological timeline of events for a specific incident identified by {id} (e.g., incident://INC-2026-0042/timeline). Each timeline entry contains a timestamp, actor, and message. Useful for postmortem generation and understanding incident progression.
Recent DeploymentsReturns the 20 most recent deployments across all services, ordered by deployment time (newest first). Use this resource to get a quick overview of what changed in the system before investigating a specific service.
Service Health SnapshotReturns a health snapshot for a specific service identified by {name} (e.g., service://payment-service/health). Includes pod status, latest performance metrics, recent error count, and an overall status (healthy | degraded | down). Use this for quick triage before running detailed tool calls.
Health ChecksCurrent health status of all registered health checks
Widget ExamplesProvides metadata and examples for all registered UI widgets

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hashirR786/incident-commander-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server