Skip to main content
Glama

read_output

Read-only

Reads debug output from an active Keil session across ITM printf, serial, or Event Recorder channels, letting you filter by channel and cap returned lines.

Instructions

Output debug: printf qua ITM, cửa sổ serial, Event Recorder.

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

Input Schema

NameRequiredDescriptionDefault
sinceNo
channelNoitm
max_linesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered externally. The description adds nothing behavioral beyond the channel list — no statement about whether this is a live tail versus a snapshot, whether an empty window returns nothing, or how 'since' interacts with buffered data.

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?

It is very short and front-loads the topic, but it is a comma-separated fragment without a subject or verb, which hurts parseability even though nothing is wasted.

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

Completeness2/5

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

For a three-parameter tool with no parameter documentation and no output schema, the description should explain what is returned and what the defaults do. Instead it only names the three sources, leaving the agent unable to predict result shape or volume (max_lines semantics unstated).

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%, so the description must carry parameter meaning and it does not. Only 'evtr' is indirectly explained (Event Recorder); 'since', 'max_lines', and the ITM/serial channel choice are left entirely undocumented in both schema and description.

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

Purpose3/5

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

The description names the resource family — printf output over ITM, the serial window, and the Event Recorder — so the agent can tell it surfaces debug output. But it has no verb ("Output debug" is a label, not an action) and nothing distinguishes it from siblings like read_log or journal, so the agent cannot confidently pick it over those.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of prerequisites (target halted? channel open?), and no reference to alternatives among read_log, journal, or recorder, which all plausibly return text output. The agent must guess from the channel list alone.

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