Skip to main content
Glama

step

Execute instruction-level single steps in a microcontroller debug session. Automatically pauses the target if running before stepping.

Instructions

单步执行指令(指令级单步,不是源码级)。 如果目标正在运行会先自动暂停。

Args: count: 单步执行次数,默认 1 次。

Returns: 执行的步数和新的 PC 地址。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo

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 discloses that the tool automatically pauses a running target before stepping. It also describes the return value (steps executed and new PC). This is good transparency for a step operation, though it could mention if any side effects occur.

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 very concise: two lines for behavior, then Args and Returns in a structured format. No wasted words. Key information is front-loaded.

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 simplicity of the tool (one parameter, no nested objects) and the presence of an output schema (though not shown), the description adequately covers the behavior, auto-pause logic, and return value. It is complete for typical use.

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 coverage is 0%, so the description must explain parameters. The 'count' parameter is clearly described with default and purpose (number of steps). This adds significant value beyond the schema alone.

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?

Description clearly states it performs instruction-level single stepping, distinguishing it from source-level stepping. The verb 'step' is specific and the resource is implicit (CPU execution). Sibling tools like 'run' and 'halt' are different operations.

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 mentions auto-pause if target is running, which provides context for use, but does not explicitly state when to use this tool over alternatives like 'run' or 'halt'. No exclusions or when-not-to-use guidance.

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