Skip to main content
Glama
brovk2008

STM32Cube-MCP

by brovk2008

stm32_import_project

Headlessly import an existing STM32Cube project into an Eclipse workspace by providing the project directory and target workspace path for automated builds and debugging.

Instructions

Imports an existing STM32Cube project into an Eclipse workspace headlessly.

Args: workspace_path: Path to the target workspace folder. project_dir: Path to the project root folder containing .project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_dirYes
workspace_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description must convey behavioral traits. It mentions 'headlessly' which is useful, but does not disclose side effects (e.g., does it overwrite existing projects? does it require the IDE to be running or not? does it modify the workspace in a way that might conflict?). It doesn't mention potential errors or limitations, which is a significant gap for a mutation-like operation.

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?

The description is concise and front-loaded with the main purpose in the first sentence. The Args section is minimal but not bloated. It's efficient, though it could have used the space to add more behavioral detail.

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?

Given there is an output schema (not detailed here), the return is likely defined, but the description doesn't mention what the tool returns (e.g., success indicator, imported project handle). It lacks context on preconditions, side effects, and error handling. For a tool with no annotations and two required parameters, it's under-specified.

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

Parameters2/5

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

Schema description coverage is 0%, and the description barely explains the parameters. It only says 'workspace_path: Path to the target workspace folder' and 'project_dir: Path to the project root folder containing .project', which is minimal. It doesn't clarify if paths should be absolute, whether project_dir must be inside workspace, or any format requirements. The description adds only slight value over the raw names.

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 clearly states the verb 'Imports' and the resource 'existing STM32Cube project into an Eclipse workspace', distinguishing it from creation/build/flash tools. However, it doesn't explicitly differentiate from sibling tools like stm32_create_project or stm32_list_projects, though the context of 'import' is distinct enough.

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 implies usage by being an import operation, but doesn't explicitly state when to use it over alternatives like stm32_create_project (for new projects) or stm32_list_projects (for listing). No exclusions or prerequisites are mentioned, such as needing the IDE to be closed or the project not already existing.

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