Skip to main content
Glama

rtt_start

Start Real-Time Transfer (RTT) logging for J-Link targets to capture runtime diagnostics from STM32 firmware using a selected buffer, read mode, and timeout.

Instructions

Start RTT / 启动 RTT.

Args: buffer_index: RTT buffer index / RTT 缓冲区索引 read_mode: Read mode / 读取模式 timeout_ms: Timeout (milliseconds) / 超时时间(毫秒)

Returns: Start result / 启动结果

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

Input Schema

NameRequiredDescriptionDefault
read_modeNocontinuous
timeout_msNo
buffer_indexNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: no permissions, no side effects, no statement of what happens if a session is already started, and no explanation of whether timeout_ms governs the handshake or ongoing reads. It merely restates the argument names.

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 short and front-loads the verb+resource, but the docstring block is essentially a duplicate list of schema property titles and the English/Chinese doubling adds bulk without adding information. Nothing present is harmful, but little of it earns its place.

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?

The output schema exists, so return values need not be described, but for a session-initialization tool with three undocumented parameters and no annotations the definition is thin. An agent cannot tell what preconditions exist or how to interpret read_mode and timeout_ms from this text alone.

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 compensate, but it only repeats the parameter names with one-word glosses ("RTT buffer index", "Read mode", "Timeout (milliseconds)"). The read_mode string has a default of "continuous" but no allowed values are given, and which buffer indices are valid, or what timeout_ms actually times out, is left unstated.

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?

"Start RTT" gives a specific verb plus resource, so an agent knows this initiates an RTT session rather than reading, writing, or stopping one. It does not, however, contrast itself with siblings such as start_runtime_monitor or explain what RTT is relative to those alternatives.

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 at all: nothing says this must follow a device connection or RTT buffer configuration, nor that rtt_read/rtt_write are the natural follow-ups. The only implicit signal is the tool name itself.

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