Skip to main content
Glama

flightmortem Drone Blackbox & Crash Forensics Oracle (MCP)

fm_inspect_log

Read-onlyIdempotent

Free flight-log parser for ArduPilot .bin, PX4 .ulog, Betaflight/INAV .bbl, or JSON telemetry returning sample counts, duration, sample rate, dropouts, events, and parameters.

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_inspect_log"
  }
}

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? }).
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the supported formats, labelling the parser 'free', and summarizing the returned metrics (sample counts, dropouts, events, parameters), which tells an agent this is a cheap diagnostic read. It does not mention failure behavior for unsupported or corrupted logs.

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?

A single well-formed sentence with the purpose and format list front-loaded and no padding. Every clause carries information an agent would otherwise have to guess at.

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?

There is no output schema, so the description must describe return values, and it does so by enumerating sample counts, duration, sample rate, dropouts, events, and parameters. For a read-only 6-parameter tool with full schema coverage that is nearly sufficient; it could be improved by noting behavior on unsupported formats and any relationship to the sibling analysis tools.

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 every parameter — firmware, log_index, telemetry, log_base64, log_format, parameters — is already documented in the schema, including the 1.5 MB decoded size cap. The description restates the format list but adds no new meaning about, for example, how log_index interacts with bbl sessions or how the parameters override merges. 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 (parse/inspect) and resource (flight log), and enumerates the supported input formats (.bin, .ulog, .bbl, JSON) along with the returned fields. It gives an agent a clear picture of what the tool does; the only gap is that it doesn't contrast itself with the sibling analysis tools like fm_crash_diagnose.

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: you call this to inspect a flight log you already have. There is no explicit when-to-use vs. when-not-to-use language, and no statement that this is the entry point before fm_compare_flights, fm_crash_diagnose, or fm_tune_diff consume the parsed data.

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.