Skip to main content
Glama
brovk2008

STM32Cube-MCP

by brovk2008

stm32_send_ide_shortcut

Send Eclipse keyboard shortcuts to STM32CubeIDE to trigger build, debug, run, step, resume, terminate, save, or open-resource actions via GUI automation.

Instructions

Sends Eclipse keyboard shortcuts directly to the STM32CubeIDE window.

Supported actions:

  • 'build': Build active project (Ctrl+B / Cmd+B)

  • 'debug': Start debug session (F11)

  • 'run': Run target (Ctrl+F11)

  • 'step_into': Debug step into (F5)

  • 'step_over': Debug step over (F6)

  • 'step_return': Debug step return (F7)

  • 'resume': Debug resume execution (F8)

  • 'terminate': Stop/terminate debug (Ctrl+F2)

  • 'save_all': Save all open files (Ctrl+Shift+S)

  • 'open_resource': Open resource dialog (Ctrl+Shift+R)

  • 'quick_access': Focus Quick Access bar (Ctrl+3)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are present, so the description carries the behavioral burden. It does disclose the platform-specific shortcut variants (Ctrl vs Cmd) and lists every supported action, but it does not mention prerequisites such as the IDE being open or whether the window must be focused, nor what happens on invalid actions.

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?

The description is front-loaded with the tool's purpose, then uses a clean 'Supported actions:' list that adds necessary value. There is no filler, redundancy, or irrelevant detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter tool with a fully documented action list and an output schema available, the description is largely complete for invocation. Minor gaps such as preconditions and invalid-input behavior are absent, but they do not block correct usage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides only a bare 'action' string with 0% description coverage and no enum. The description fully compensates by enumerating all supported action values and their keyboard shortcut mappings, giving the agent precise information needed to invoke the tool correctly.

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

Purpose5/5

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

The opening sentence states a specific action ('Sends Eclipse keyboard shortcuts') and a specific target ('STM32CubeIDE window'), which clearly differentiates it from other STM32 tools. The list of supported actions reinforces the concrete scope of the tool.

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?

The description makes it obvious that the tool is for sending IDE keyboard shortcuts, but it does not explicitly say when to choose it over related siblings like stm32_build_project or stm32_launch_ide. Usage context is implied rather than stated with alternatives or exclusions.

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