Skip to main content
Glama

stop_debug_session

Stops the GDB client/server, variable tracking, and active RTT/SWO/UART readers to end an STM32 debug session cleanly. Omit session to target the default debug target.

Instructions

Stops the GDB client/server, variable tracking, and all active RTT/SWO/UART readers.

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

B3.4/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false), so the bar is lower; the description goes further by naming exactly which subsystems are terminated (GDB client/server, variable tracking, all active RTT/SWO/UART readers). This is useful context beyond the annotations, though it sits in mild tension with destructiveHint=false since live streams are being torn down.

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?

One tightly written sentence with the action verb front-loaded and no redundant filler. It is efficient, though the trailing enumeration makes it slightly list-like rather than fully structured.

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 no-required-param tool with annotations and no output schema, the description is adequate about what gets stopped, but it omits post-stop state (are sessions cleared or recoverable?), whether it acts on a named session vs default, and how it relates to close_session/recover_session.

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 100% and the single optional 'session' parameter is already documented as omitting to the default target. The description adds no additional parameter semantics, so the baseline 3 for a fully-covered schema is correct.

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 ("Stops") plus the resource ("debug session") and enumerates the concrete components torn down (GDB client/server, variable tracking, RTT/SWO/UART readers). That makes the operation's scope clear, but it does not differentiate itself from the sibling close_session, which appears to be an overlapping teardown concept.

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?

No when-to-use or when-not-to-use guidance is given, and the prominent sibling close_session is never mentioned, so an agent cannot tell which teardown tool applies to its situation. Only an implicit 'clean up after debugging' reading is available.

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