Skip to main content
Glama

halt_cpu

Pauses target CPU execution so you can inspect state and diagnose STM32 firmware during debugging.

Instructions

Halt CPU / 暂停 CPU.

Returns: Halt 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": "halt_cpu"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it says nothing about whether the halt is immediate or graceful, whether execution can be resumed, whether it affects an active debug session, or what permissions/connection state are required. For a state-changing operation on a target CPU this is effectively no disclosure.

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 action is front-loaded, but the content is doubled across two languages and the "Returns: Halt result" line is empty filler, especially since an output schema already exists to describe the return value.

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 tool is simple (no parameters, output schema present), so the description's thinness is less damaging than it would be for a parameterized tool. Still, key operational context for a CPU-halting action, such as connection prerequisites and resumability, is missing.

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?

The tool takes zero parameters, so the schema needs no elaboration and the baseline of 4 applies. Nothing in the description adds or detracts from parameter meaning.

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

Purpose3/5

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

"Halt CPU" states a verb and resource, so the basic action is intelligible, but it is essentially a restatement of the tool name with a bilingual echo and nothing more. It gives no scope (which core? whole target?) and no differentiation from siblings such as run_cpu or get_cpu_state.

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, no preconditions (e.g. must be connected to a target), and no mention of alternatives like run_cpu for resuming. The agent must infer the operating context entirely.

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