Skip to main content
Glama

investigate

Run runbook-driven automated analysis for backend incidents and return a structured report with root cause, supporting evidence, and recommended next actions.

Instructions

Performs Runbook-driven automated investigation for backend incidents, returning a structured incident report (root cause, evidence, recommended next actions).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "context_id": "<context_id>",
      "context_type": "<context_type>",
      "symptom": "<symptom>",
      "expected": "<expected>"
    },
    "name": "investigate"
  }
}

Input Schema

NameRequiredDescriptionDefault
symptomYesCurrent observed abnormal phenomenon, be as specific as possible
expectedYesExpected behavior or state under normal conditions
context_idYesTraceable context identifier, such as trace_id, order_id, request_id
context_typeYesType of context_id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 usefully discloses that the process is automated and Runbook-driven and enumerates the report contents (root cause, evidence, recommended actions), but says nothing about whether it is read-only, whether it mutates backend state, expected latency for a long-running investigation, or permission requirements.

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?

A single well-formed sentence that front-loads the action and closes with the return value — no filler. It could be marginally improved by splitting behavior from output, but nothing is wasted.

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?

All four required parameters are documented in the schema and, since no output schema exists, the description usefully summarizes the return shape. The main gap is operational context (duration, side effects, whether it can be retried safely) for what sounds like a heavyweight investigation.

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 100%, so the four parameters (symptom, expected, context_id, context_type enum) are already fully documented. The description adds no extra meaning about how these inputs shape the investigation, so the baseline 3 applies.

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?

The description names a specific verb (investigate) and resource (backend incidents) and adds the mechanism (Runbook-driven automated investigation) plus the return artifact. It is unambiguous about what the tool does, though there are no sibling tools to be distinguished from.

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?

Usage is only implied by the phrase 'for backend incidents' — an agent can infer this is the tool to reach for when triaging a backend problem, but the description states no preconditions, no when-not-to-use conditions, and no alternatives.

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

Deploy Server

Other Tools