Skip to main content
Glama
gghammer

MCP J-Link Server

by gghammer

jlink_memory_write

Write data to target chip memory using SEGGER J-Link debug probes for embedded system programming and debugging tasks.

Instructions

寫入資料到目標晶片的記憶體。

Args: address: 起始位址,支援十六進位格式如 "0x20000000" 或十進位 data: 要寫入的資料陣列,每個元素對應一個 width 單元 width: 資料寬度,可選 8、16 或 32(位元),預設 32

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
addressYes
dataYes
widthNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It states this is a write operation, implying mutation, but doesn't disclose critical behavioral traits: whether it requires an active connection, has side effects (e.g., halting the chip), includes error handling, or has rate limits. The description lacks details on what happens if writes fail or overlap with protected memory.

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 appropriately sized and front-loaded with the core purpose in the first sentence. The Args section is structured but could be more concise; for example, combining format details into bullet points might improve readability. Overall, it avoids unnecessary verbosity.

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?

Given complexity (a write operation with 3 parameters, no annotations, but with an output schema), the description is partially complete. It explains parameters well but lacks behavioral context (e.g., connection requirements, error handling). The output schema exists, so return values needn't be described, but other gaps remain for safe usage.

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?

Schema description coverage is 0%, so the description must compensate. It adds meaningful semantics: address supports hex/decimal formats, data is an array where each element corresponds to a width unit, and width options are 8, 16, or 32 bits with default 32. This clarifies beyond the basic schema types, though it doesn't explain array length constraints or address alignment rules.

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?

The description clearly states the verb '寫入資料' (write data) and resource '目標晶片的記憶體' (target chip's memory), making the purpose explicit. It distinguishes from siblings like jlink_memory_read (read vs. write) but doesn't explicitly differentiate from other write operations like jlink_register_write or rtt_write.

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 guidance is provided on when to use this tool versus alternatives. The description doesn't mention prerequisites (e.g., connection status), compare with siblings like jlink_register_write (memory vs. register writes) or rtt_write (RTT vs. direct memory writes), or specify when this tool is appropriate versus others.

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