Skip to main content
Glama
Otii MCP Server
by qoitech

get_log

Retrieve timestamped UART log lines from a device under test, defaulting to the latest recording and optionally filtering by a contained string.

Instructions

UART log lines recorded from the device under test, with timestamps in seconds from recording start. Defaults to the latest recording. Optionally keep only lines containing contains.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
deviceNo
containsNo
recording_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

B3.3/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the default recording selection, timestamp origin in seconds from recording start, and that filtering by `contains` is optional, but it says nothing about result ordering, limit behavior, or what happens when no recordings exist.

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 short sentences, front-loaded with what is returned, then the default, then the optional filter. Every sentence adds information and nothing is padded.

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?

An output schema exists, so return shape need not be spelled out, and the timestamp semantics are a bonus. Still, for a four-parameter tool with zero schema coverage and no annotations, the omission of `limit` and `device` semantics leaves a real gap for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0% across 4 parameters, so the description must compensate, and it only partly does. It explains `contains` and implies `recording_id`, yet `limit` (default 500) and `device` are never mentioned, leaving half the parameters undocumented anywhere.

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 states the concrete resource: UART log lines recorded from the device under test, with timestamp units specified. That distinguishes it from sibling tools such as list_recordings, which presumably enumerate recordings rather than return log content. The retrieval verb is only implicit in the name, which keeps it just short of a 5.

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 to the latest recording" gives a useful default-case hint for when the agent omits recording_id. However, there is no explicit when-to-use guidance, no when-not guidance, and no mention of alternatives such as list_recordings for discovering recording IDs.

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