Skip to main content
Glama

halt_execution

Interrupt target device execution to pause STM32 firmware for GDB inspection, breakpoint analysis, or fault triage; optionally target a named debug session.

Instructions

Interrupts/halts the target device execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionNoOptional debug-session name. Omit for the default target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare this is a non-read-only, non-destructive, non-idempotent operation, covering the safety profile. The description adds nothing beyond the verb: it does not say whether execution state is preserved, whether the halt is resumable via continue_execution, or how it interacts with breakpoints or running scenarios. It does not contradict the annotations.

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?

A single short sentence with no filler and the action front-loaded. It is appropriately sized, though it is thin rather than efficient—the brevity comes partly from omission of useful context.

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?

For a simple one-optional-parameter mutation with annotations present and no output schema, the description is minimally adequate. It still leaves the agent unsure about resumability and the operational effect of halting relative to sibling stop/reset tools, which a one-line addition could resolve.

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?

With a single optional parameter and 100% schema description coverage, the schema already fully explains the session argument ('Omit for the default target'). The description adds no extra meaning, which is the expected baseline when the schema carries the parameter burden.

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 states a specific action (interrupts/halts) on a specific resource (target device execution), so the core purpose is unambiguous. However, it does nothing to distinguish itself from closely related siblings like continue_execution, stop_debug_session, reset_target, or wait_for_stop, leaving the agent to infer the boundary.

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 guidance on when to use this versus alternatives such as stop_debug_session (session teardown) or reset_target (restart). No prerequisites, no follow-up guidance (e.g., whether continue_execution can resume afterward), and no exclusions are given.

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