Skip to main content
Glama
gghammer

MCP J-Link Server

by gghammer

rtt_read

Read data from Real-Time Transfer (RTT) uplink buffers in embedded systems to monitor debug output from target devices to host computers.

Instructions

從 RTT 上行緩衝區讀取資料(裝置→主機方向)。

讀取的資料會從緩衝區中移除。若無資料則回傳空結果。

Args: buffer_index: RTT 上行緩衝區索引,預設 0(通常是 Terminal) num_bytes: 最大讀取位元組數,預設 1024

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buffer_indexNo
num_bytesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries full burden and does well by disclosing key behavioral traits: '讀取的資料會從緩衝區中移除' (read data is removed from buffer) indicates destructive consumption, and '若無資料則回傳空結果' (returns empty result if no data) clarifies the empty case behavior. However, it doesn't mention potential rate limits, error conditions, or authentication needs.

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?

The description is efficiently structured with a clear purpose statement first, followed by behavioral notes, then parameter explanations. Every sentence adds value with no wasted words, and the bilingual presentation (Chinese with English parameter names) is practical for the context.

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?

Given the tool has an output schema (which handles return values), no annotations, and good parameter coverage in the description, the description is quite complete. It covers purpose, key behavior, and parameter semantics. The main gap is lack of explicit usage guidelines compared to sibling tools.

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?

With 0% schema description coverage, the description compensates well by explaining both parameters: buffer_index specifies 'RTT 上行緩衝區索引,預設 0(通常是 Terminal)' (RTT upstream buffer index, default 0, usually Terminal), and num_bytes specifies '最大讀取位元組數,預設 1024' (maximum bytes to read, default 1024). This adds meaningful context beyond the bare schema.

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

Purpose5/5

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

The description clearly states the specific action ('從 RTT 上行緩衝區讀取資料' - read data from RTT upstream buffer) and resource ('裝置→主機方向' - device to host direction). It distinguishes from sibling tools like rtt_write (which writes data) and other J-Link tools that perform different operations on the debugger/emulator.

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?

The description implies usage when needing to read data from the RTT upstream buffer, but doesn't explicitly state when to use this vs alternatives like rtt_get_status (which provides status rather than data) or other buffer operations. No explicit exclusions or prerequisites are mentioned.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gghammer/MCP_JLINK'

If you have feedback or need assistance with the MCP directory API, please join our Discord server