Skip to main content
Glama

Read a log

myio_log
Read-onlyIdempotent

Read a single day of controller logs and filter by level, text, time range, or tail count to inspect errors, events, and diagnostics.

Instructions

Read one day of a log (default: today's event log) with filters: level (error | info | debug - 4.x event log lines start with E/I/D), contains (text), since / until (HH:MM), tail (last N matching lines, default 150; 0 = all). date = YYYY-MM-DD, YYMMDD, today or yesterday; or give path (e.g. /ev_log/e_261025.csv). vol: q | s (default: the controller's own lookup, internal flash first). Editor/admin level.

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

Input Schema

NameRequiredDescriptionDefault
volNoq = internal flash (GIGA/Opta default), s = SD card (the only volume on a Due)
dateNo
kindNo
pathNo
tailNo
levelNo
sinceNo
untilNo
serverNocontroller name (default Ground floor)
channelNo
containsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds useful context: the default truncation at 150 lines, the 0 = all escape hatch, the volume fallback order ('internal flash first'), and the editor/admin access level. It does not disclose the return shape (log lines, CSV-ish rows, headers), which is the main behavioral gap.

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 dense but well-ordered paragraph: the core action and default come first, then filter syntax, then formats, then access level. Parenthetical format notes are compact; the only cost is that the sentence is overloaded with three separate concerns separated by semicolons.

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 an 11-parameter, all-optional tool with no output schema, the description covers the filtering story adequately but leaves real gaps: the undocumented 'kind'/'server'/'channel' parameters and no hint at what a returned log entry looks like. An agent could call it correctly for the common case but would be guessing on the remaining dimensions.

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

Parameters1/5

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

With 11 parameters and only 18% schema description coverage, the description must carry the load, and it omits several parameters entirely: 'kind' (6 enum values, never mentioned), 'server', and 'channel'. It does add helpful semantics for level (E/I/D line prefixes), date formats, since/until HH:MM, tail, and vol defaults, but three parameters remain undocumented in both places.

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 opens with a specific verb+resource+scope ('Read one day of a log', default today's event log) and enumerates the filter dimensions, so the agent knows exactly what the tool retrieves. It never names a sibling (e.g. myio_file_read or myio_find) even though the 'path' argument overlaps with file-reading tools, so differentiation is left implicit.

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?

Defaults are stated clearly ('default: today's event log', 'default 150' tail), which tells the agent it can call with no arguments. However, there is no guidance on when to prefer this over myio_file_read/myio_files given the 'path' option, and no exclusions or preconditions beyond an 'Editor/admin level' note.

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

Deploy Server

Other Tools