Skip to main content
Glama

debug_config

Manage configuration files for STM32 GDB sessions: load, save, and validate settings before firmware debugging.

Instructions

Debug-config file (.json) management. action=load(path) | save(path,config) | validate(config).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathNoPath to a YAML debug config file.
actionYesWhich operation to perform.
configNoConfig object to save.
sessionNoOptional debug-session name. Omit for the default target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.1

TDQS

B3.2/5.0
Behavior2/5

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

Annotations only declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false); the description adds little beyond that and never says save overwrites the destination file, whether writes are reversible, or what load/validate return. Worse, it labels the file '.json' while the schema describes 'Path to a YAML debug config file', a contradiction that can actively mislead an agent about the format.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight fragments, front-loaded with the resource and then the operations; nothing is padded. The only issue is accuracy, not verbosity.

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?

With no output schema, the description should explain what load and validate yield, but says nothing about return values, error behavior, or the role of the 'session' parameter. For a mutating, file-writing tool this leaves a significant gap for an agent to call it correctly.

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 coverage is 100%, so the baseline is 3, and the oneOf already encodes which parameters each action requires. The inline signatures (load(path), save(path,config), validate(config)) restate that mapping compactly but add no format or constraint detail, and the description omits the optional 'session' parameter entirely.

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 names a specific resource (debug-config file) and enumerates the three concrete operations (load/save/validate) with their argument signatures, so an agent can tell what the tool does at a glance. It does not, however, differentiate itself from any sibling tool by name or scope.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Listing action=load(path) | save(path,config) | validate(config) implies which operation to pick for a given need, which is better than nothing, but there is no explicit when-to-use guidance, no prerequisites (e.g. session context), and no routing to alternatives.

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