Skip to main content
Glama

Start a background log

log_start

Start background logging of live multimeter readings to a CSV or JSONL file and return the job ID and file path for later status checks or stopping.

Instructions

Start logging live readings to a CSV or JSONL file in the background and return the job id and the file. The log ends after duration, at log_stop, or when the Bluetooth link stays lost longer than reconnect_for; it keeps running if this client disconnects. One log at a time, and meanwhile the other meter tools return BUSY. Follow it with log_status, end it with log_stop.

Input Schema

NameRequiredDescriptionDefault
outNooutput file (default data/log_<time>.csv in the open289 folder)
everyNowrite one reading per interval, e.g. '1s'; '0' = every reading (about 4/s)0
formatNofile format (default: from the out extension, else csv)
durationNoe.g. '30s', '10m', '8h' or 'forever' (no limit: it ends at log_stop); must be longer than 010m
reconnect_forNokeep retrying this long after the link is lost (default '5m'; '0' = end the log)
snapshot_everyNoalso save the full display (modes, MIN/MAX/AVG) at this interval, e.g. '10s' (a CSV log puts them in <file>.display.jsonl); '0' = off0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden and does so well: it discloses background execution, return values, termination triggers (duration, log_stop, prolonged Bluetooth loss), client-disconnect persistence, and concurrency BUSY behavior. These are exactly the operational traits an agent needs before invoking it.

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?

Three sentences, front-loaded with purpose, then lifecycle, then constraints. Every sentence adds operational value; there is no repetition or filler.

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

Completeness5/5

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

For a background logging tool with six optional parameters and no output schema, the description covers what is started, what is returned, how it ends, concurrency limits, and sibling follow-up tools. Nothing essential for correct invocation is missing.

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 the schema already defines each parameter including defaults and examples; the description adds only high-level lifecycle context for duration and reconnect_for. It does not add syntax or format details beyond the schema, so baseline 3 applies.

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?

The description opens with a specific verb and resource ('Start logging live readings...') and names output formats, background execution, and return values (job id and file). It also distinguishes this tool from log_status and log_stop by defining their roles in the lifecycle.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear lifecycle guidance: follow with log_status, end with log_stop, one log at a time, and other meter tools return BUSY while active. It also states termination conditions. It does not explicitly say when to use this instead of live/read for one-off readings, so it stops short of full alternative routing.

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