Skip to main content
Glama

Recorder Export

recorder_export
Destructive

Export selected Meshtastic recorder streams—logs, telemetry, packets, or events—for a time window into JSONL files in a target directory for bug reports, notebooks, or backfills.

Instructions

Bundle a slice of the recorder's streams into dest_dir.

Writes one uncompressed JSONL per requested stream. Useful for attaching to a bug report, feeding a notebook, or backfilling Datadog after the fact.

Returns {dest_dir, paths, window}; paths maps each stream to its file and <stream>_count to its row count.

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": {
      "start": "<start>",
      "end": "<end>",
      "dest_dir": "<dest_dir>"
    },
    "name": "recorder_export"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesSlice end, in the same forms.
startYesSlice start, as in `logs_window`.
streamsNoAny of logs, telemetry, packets, events; omit for all four.
dest_dirYesThe directory to write into; created if missing.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing the on-disk format (one uncompressed JSONL per stream) and the exact return shape. With destructiveHint=true it should still warn whether existing files in dest_dir are overwritten, which it omits.

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?

Three short sentences, front-loaded with the action and outcome, then use cases, then return shape. No filler, though the return-shape sentence duplicates the output schema.

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?

For a destructive export tool with a full schema and output schema, the description covers what gets produced and returned. The one meaningful gap is overwrite/conflict behavior on an existing dest_dir.

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% and already documents start/end forms, stream names, and the create-if-missing behavior of dest_dir, so the description has little to add. It only reiterates that each requested stream yields a file.

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?

States a specific verb and resource: bundling a slice of the recorder's streams into a destination directory. It clearly differs from window-query siblings by writing files rather than returning rows, though it never names an alternative.

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?

Gives three motivating scenarios (bug report attachment, notebook, backfilling Datadog) but no explicit when-to-use versus when-not, and no pointer to logs_window/events_window for agents that only want to read data rather than export it.

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