Skip to main content
Glama

Incident Diagnose

incident_diagnose

Diagnose Linux incidents by correlating host, Docker, service, and security evidence to identify likely causes.

Instructions

Diagnose an incident using host, Docker, service, and security evidence.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "incident_diagnose"
  }
}

Input Schema

NameRequiredDescriptionDefault
symptomNo
containerNo
service_nameNo

Output Schema

NameRequiredDescriptionDefault
titleYes
summaryYes
findingsNo
hypothesesNo
limitationsNo
generated_atYes
observed_factsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about whether the tool only reads state or actively executes probes on hosts, what permissions are needed, or how long a multi-source sweep takes. The existence of an output schema covers return values, but operational behavior remains undisclosed for what appears to be a broad, multi-system operation.

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

Conciseness3/5

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

A single front-loaded sentence with no filler, which is structurally clean, but its brevity comes at the cost of under-specification rather than economy.

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

Completeness2/5

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

For a tool that aggregates evidence across four infrastructure domains with three undocumented optional parameters and no annotations, one sentence is not sufficient. The output schema relieves the need to describe results, but scope, cost, and safety of the diagnosis are all left unstated.

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 coverage is 0%, so the description must compensate, and the mention of 'host, Docker, service, and security evidence' loosely maps to the container and service_name parameters and hints at the symptom parameter's role. It still gives no format, matching rules, or behavior for all-optional parameters, so the mapping is suggestive rather than explanatory.

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

Purpose4/5

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

States a specific verb and resource ('Diagnose an incident') and enumerates the evidence domains it draws on (host, Docker, service, security), which conveys that this is an aggregating diagnostic rather than a single-source check. It does not, however, distinguish itself from siblings like service_failure_diagnostics or docker_container_logs.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to reach for this all-in-one diagnose versus the many narrower sibling tools, and no stated prerequisites or exclusions. The only cue is the implied 'incident' framing, which the agent must infer.

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