Skip to main content
Glama

clear_target_console

Clear the target UART console buffer to isolate fresh output before resets or test scenarios, avoiding stale log interference.

Instructions

Clear the target UART console circular buffer.

Recommended before triggering a reset or running a test scenario to isolate fresh output.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It implicitly discloses that buffered output is discarded ('clear the ... buffer'), which is the key destructive consequence, and frames it as a preparatory step. However, it says nothing about whether the clear is reversible, permission requirements, or effects on concurrent readers. Adequate but not rich.

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?

Two short sentences, action first, rationale second. Every clause earns its place and there is no restatement of the tool name or filler.

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?

The tool is simple (no params, output schema present so return values are covered), and the description supplies purpose plus a usage trigger. Only the absence of any behavioral caveats (reversibility, permissions) keeps it from being fully complete for a mutation-style tool with no annotations.

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

Parameters4/5

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

The tool takes zero parameters, so there is nothing for the description to disambiguate. The baseline of 4 for a parameterless tool is appropriate; the description adds scoping context by identifying the exact buffer affected.

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?

Names a specific verb and resource: 'Clear the target UART console circular buffer.' This clearly separates it from read_target_console and wait_for_console_pattern by stating it removes buffered output rather than reading or watching it. It does not explicitly name siblings, but the action is unambiguous.

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?

Gives explicit timing guidance: 'Recommended before triggering a reset or running a test scenario to isolate fresh output.' This tells the agent a concrete situation in which to call the tool and why. It stops short of stating when NOT to use it or naming an alternative, so it falls short of a 5.

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