Skip to main content
Glama

reset_target

Resets the target chip using normal, halt, or core mode to restart execution or hold the CPU. Use it to recover a stuck target or begin a fresh debug session.

Instructions

Reset target chip / 复位目标芯片.

Args: reset_type: Reset type (normal/halt/core) / 复位类型(normal/halt/core)

Returns: Reset 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": "reset_target"
  }
}

Input Schema

NameRequiredDescriptionDefault
reset_typeNonormal

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.8/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 burden and provides little: it does not say whether reset is disruptive to a running session, whether it requires an active connection, whether it halts execution afterward, or whether it is recoverable. The reset_type names (halt/core) hint at differing behavior but are never explained.

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?

The body is short and front-loaded, but the bilingual duplication doubles the length for no added information, and the "Returns: Reset result" line restates what the output schema already defines. The Args block reads like boilerplate rather than purposeful documentation.

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?

An output schema exists, so return values need not be described, but for a state-changing hardware tool with zero annotations the description omits the operationally important facts: connection prerequisites, effect on the running CPU state, and the meaning of each reset mode. It is not sufficient for an agent to invoke it confidently.

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?

Schema description coverage is 0% and the schema declares reset_type merely as a free-form string with a default of normal. The description at least enumerates the accepted values (normal/halt/core), which is genuine information the schema lacks, but it never explains what each mode does or whether invalid values are rejected.

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?

States a specific verb and resource ("Reset target chip"), which is unambiguous and distinct from read-oriented siblings like get_target_info or get_target_voltage. It does not explicitly differentiate from halt_cpu, another state-changing sibling, so it stops short of a 5.

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 whether a device must be connected, whether this is needed before flashing or after halting, or when to prefer halt_cpu. The only context is an enumeration of reset_type values, which is parameter data rather than usage guidance.

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