Skip to main content
Glama

write_rtt

Send text data to a target microcontroller's RTT input channel. Specify the text string and optional channel number to write, and receive the number of bytes written.

Instructions

向 RTT 输入通道发送数据(发送到目标单片机)。

Args: text: 要发送的文本字符串。 channel: RTT 通道号,默认 0。

Returns: 实际写入的字节数。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
channelNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided. The description does not disclose behavioral traits such as required state (e.g., target halted), blocking behavior, side effects, or error handling for invalid channels.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise with a clear Chinese sentence followed by a well-structured English docstring (Args/Returns). Some redundancy exists but overall efficient.

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?

The description covers the purpose and return value, but lacks context about when to use the tool (e.g., after connection), interaction with sibling tools, or prerequisites for success.

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

Parameters3/5

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

With 0% schema description coverage, the description partially compensates by explaining text and channel. However, the explanations are minimal and mostly restate parameter names and defaults.

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 tool sends data to the RTT input channel (target microcontroller). It distinguishes from sibling tools like read_rtt by specifying 'write' direction.

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?

No explicit guidance on when to use this tool versus alternatives (e.g., write_memory, write_variable). It does not state prerequisites or context such as requiring a connection or target state.

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/xun123456/jlink-mcp'

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