Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Reconstruct crash root cause

crash_root_cause_analyze
Read-onlyIdempotent

Maps crash backtraces to source files to identify likely faulting functions/lines, flag unsymbolized frames, and propose root cause hypotheses from GDB, glibc, or AddressSanitizer traces.

Instructions

Map a crash backtrace onto a source file to locate the likely faulting function/line and propose a root cause hypothesis. Parses GDB, glibc and AddressSanitizer frame shapes (symbol, address, source file/line) and reports which frames could not be symbolised.

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": "crash_root_cause_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
crashIdNoCrash record id to load context from.
filePathNoSource file likely implicated by the crash.
backtraceNoInline backtrace frames.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish that this is a safe, idempotent, read-only analysis operation. Beyond that, the description usefully discloses supported backtrace formats (GDB, glibc, AddressSanitizer) and that it reports frames that could not be symbolised, which is real behavioral context an agent would not get from the annotations alone.

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

Conciseness5/5

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

The description is two tight sentences with the core action front-loaded. The second sentence adds useful parser-format detail without becoming bloated or burying the main point.

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

Completeness3/5

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

The description covers the core analysis and supported frame formats, but there is no output schema and no explanation of the returned root-cause hypothesis structure. It also leaves unclear what input combinations are valid, which matters because all three parameters are optional.

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 100%, so the schema already documents crashId, filePath, and backtrace. The description adds some meaning by specifying accepted backtrace frame formats, but it does not clarify how crashId and filePath relate or which input combinations are expected.

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 gives a specific verb and resource: mapping a crash backtrace onto a source file to locate the faulting function/line and propose a hypothesis. It is clear what the tool does, but it does not explicitly differentiate itself from nearby crash-analysis siblings such as fuzzing_crash_analyze or patch_root_cause_analyze.

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 implied by the reference to a crash backtrace and source file, so an agent can infer this is the tool for crash root-cause reconstruction. However, there is no explicit when-to-use guidance, no exclusions, and no named alternative for adjacent crash or patch analysis tasks.

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