Skip to main content
Glama
Wafleem

stm32cubemx-mcp

by Wafleem

cubemx_generate_project

Convert an STM32CubeMX .ioc file into a new STM32CubeIDE project in a designated output directory, enabling a clean build setup from existing configuration.

Instructions

Generate one new STM32CubeIDE project in a new output directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cubemxNo
succeededYes
toolchainYes
validationYes
diagnosticsNo
project_nameYes
project_pathYes
source_sha256Yes
generated_filesNo
output_directoryYes
Behavior2/5

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

With no annotations, the description carries the burden of disclosing side effects. It only mentions 'new output directory' but does not state whether existing contents are overwritten, whether the .ioc file is modified, or what happens if the project already exists.

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 a single sentence, directly stateful and free of fluff. It is appropriately brief, though it could add a little more context without becoming bloated.

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?

The tool is under-described for its role in a generation workflow. It lacks mention of required inputs (ioc_path), dependencies on prior steps, behavior with existing output directories, and any side effects on the .ioc file. The output schema exists but the description does not integrate it into the overall process.

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%, so the description should compensate. It gives a hint that output_directory should be a new directory, but ioc_path and project_name are not explained beyond the schema's basic type/constraint information. The nested request object is not clarified either.

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 action (generate a project) and the target (STM32CubeIDE), with a qualifier about the output directory. However, it does not mention that it operates on an existing .ioc file, so it could be conflated with creating a .ioc from scratch (cubemx_create_ioc).

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 guidance is provided on when to use this tool versus siblings like cubemx_create_ioc, cubemx_apply_ioc_changes, or cubemx_plan_regeneration. It does not state prerequisite steps such as having an .ioc file already prepared.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Wafleem/stm32cubemx_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server