Skip to main content
Glama

flightmortem Drone Blackbox & Crash Forensics Oracle (MCP)

fm_tune_diff

Read-onlyIdempotent

Metered ($0.015) bounds-clamped, <=25%-step PID and notch/LPF parameter diff synthesizer for ArduPilot, PX4, Betaflight, and INAV with apply and atomic rollback manifests.

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

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.
max_step_pctNoMax relative parameter step percentage in (0, 25] (default 25).
current_paramsNoExplicit current PID/filter parameter map.
target_firmwareNoOverride target firmware parameter naming table.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/idempotent, but the description adds genuinely non-structural facts: per-call pricing, hard clamping to a 25% step ceiling, and that output includes apply and atomic rollback manifests. It does not specify what the returned diff/manifest actually looks like or how rollback is validated.

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?

Front-loaded and a single sentence, but it is an overloaded adjective chain ('bounds-clamped, <=25%-step PID and notch/LPF parameter diff synthesizer ... with apply and atomic rollback manifests') that is denser than it needs to be and buries the cost and safety facts inside one clause.

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?

For a 9-parameter tool with nested objects and no output schema, the description covers inputs and safety context but says nothing about the shape of the returned diff or manifest, which is the primary consumer-facing artifact. Adequate but leaves a real gap that annotations cannot fill.

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% with per-parameter descriptions and enums, so the schema already carries parameter meaning. The description only echoes the step bound, firmware set, and log types, adding no syntax or format detail beyond the schema.

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

Purpose5/5

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

States a specific verb and resource — synthesizing a bounds-clamped PID/notch/LPF parameter diff — plus the four supported firmwares, which clearly distinguishes it from siblings like fm_compare_flights and fm_fft_spectrum that evidently analyze rather than synthesize parameter changes.

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?

The description implies usage (you have a flight log and want a bounded parameter diff) and discloses the $0.015 metered cost, but never states when to choose this over alternatives or any preconditions/exclusions. Guidance is implied, not explicit.

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.