Skip to main content
Glama

flightmortem Drone Blackbox & Crash Forensics Oracle (MCP)

fm_crash_diagnose

Read-onlyIdempotent

Metered ($0.020) flight crash forensics engine ranking 8 physical failure causes (motor loss, brownout, EKF divergence, vibration clipping, PID oscillation, attitude loss, dropout, failsafe) into a <= 20 KB fingerprint.

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

Input Schema

NameRequiredDescriptionDefault
firmwareNoFirmware hint when supplying structured JSON telemetry.
log_indexNo0-based session index for multi-log Betaflight .bbl files.
telemetryNoNormalized JSON telemetry alternative to log_base64 ({ sample_rate_hz?, imu?, attitude?, motors?, battery?, vibe?, ekf?, events? }).
cell_countNo
log_base64NoBase64-encoded ArduPilot .bin, PX4 .ulog, or Betaflight/INAV .bbl flight log (<= 1,572,864 decoded bytes over MCP).
log_formatNoBinary format hint (defaults to auto magic-byte detection).
parametersNoOptional parameter overrides merged over parsed flight log parameters.
crash_window_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is covered. The description adds genuinely useful facts beyond that: the per-call cost ($0.020) and the bounded output size (<= 20 KB fingerprint), which are real operational traits an agent would not otherwise know.

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?

One densely packed sentence with the cost and core function front-loaded and no filler. The trailing 'into a <= 20 KB fingerprint' is slightly cryptic jargon, but it does convey a real output constraint.

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?

With no output schema, the description partially compensates by describing the ranked-cause fingerprint output. However, for a tool with 8 parameters, nested objects, and zero required fields, it never explains what minimum input is needed to get a result or how the two input paths (binary log vs. normalized telemetry) differ.

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

Parameters2/5

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

Schema coverage is 75%, leaving parameters such as cell_count, crash_window_s, and parameters undocumented anywhere. The description adds no parameter-level meaning at all — no guidance on choosing log_base64 versus telemetry, no interpretation of crash_window_s, and no explanation of how it relates to the enumerated causes.

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 and resource ('crash forensics engine ranking 8 physical failure causes') and even enumerates the eight cause categories, so an agent knows exactly what class of analysis this performs. It does not explicitly contrast itself with siblings like fm_inspect_log or fm_power_health, but the 'crash forensics' framing is distinctive enough in practice.

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 when-to-use or when-not-to-use guidance, no prerequisites, and no mention of the sibling tools that cover adjacent analyses. The only usage signal is the implied context of the name and the metered price, which tells the agent this is costly but not when it is the right choice.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.