Skip to main content
Glama

run_cpu

Starts CPU execution on a J-Link-connected STM32 target to run flashed firmware and observe runtime behavior.

Instructions

Run CPU / 运行 CPU.

Returns: Run 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": "run_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.4/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 burden of behavioral disclosure and provides essentially none. It does not say whether this is a blocking or asynchronous operation, whether it mutates target state, what permissions or connection state are required, or what 'Run result' contains beyond the output schema.

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 text is short and front-loaded, but the bilingual duplication and the 'Returns: Run result' line add no information beyond the existing output schema. It is compact but under-specified rather than efficiently concise.

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?

The output schema covers return values, so that part is not required. But for an action tool with no annotations, no parameter schema to lean on, and siblings that halt or inspect the CPU, the definition leaves critical questions (preconditions, side effects, blocking behavior) unanswered.

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 there is nothing for the description to disambiguate. Baseline 4 applies since the empty schema fully specifies the call signature.

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?

"Run CPU" names a verb and resource, so the agent can infer this starts or resumes CPU execution. However, it does not distinguish this from siblings such as halt_cpu or get_cpu_state, nor does it state whether it resumes a halted core, starts a debug session, or begins a test run.

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., target must be connected or halted), and no mention of alternatives. The agent must guess the context in which this is the correct tool.

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