Skip to main content
Glama
Wafleem

stm32cubemx-mcp

by Wafleem

cubemx_plan_regeneration

Generate a temporary STM32CubeMX project copy and obtain a read-only file change plan to review before applying modifications.

Instructions

Regenerate a temporary project copy. Return a read-only file change plan.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
cubemxNo
changesYes
plan_idNo
ioc_pathYes
succeededYes
validationNo
diagnosticsNo
project_pathYes
source_manifest_sha256Yes
planned_manifest_sha256No
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses that the operation creates a temporary copy (implying the original is untouched) and that the returned plan is read-only. This gives essential safety context beyond a bare 'plan regeneration' statement, though it does not mention cleanup or side effects.

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 short sentences with no filler. The key actions—regenerating a temporary copy and returning a read-only plan—are front-loaded and every word adds value.

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?

The tool is simple and has an output schema, so return value details are covered elsewhere. However, the lack of parameter semantics and weak usage guidance leave noticeable gaps for a tool with one required parameter and an optional one. It is minimally complete but not thorough.

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 mentions no parameters at all. It fails to explain that project_directory is required or what ioc_path is for. The description adds no meaning beyond the raw schema fields, leaving the agent to guess parameter purposes.

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 description clearly states the tool regenerates a temporary project copy and returns a read-only file change plan. This specific verb+resource pairing distinguishes it from siblings like cubemx_apply_ioc_changes (which applies changes) and cubemx_generate_project (which generates the project outright).

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 a planning/preview use case (temporary copy, read-only plan) but does not explicitly mention when to use it versus alternatives like cubemx_plan_ioc_changes or cubemx_generate_project. No exclusions or alternative tool names are given, leaving the choice somewhat implicit.

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