Skip to main content
Glama

pack_enable

Enable a CMSIS-Pack component in an STM32CubeMX project by specifying vendor, pack, version, class, and group, then validate the pack configuration.

Instructions

Enable a CMSIS-Pack component (pack enable <vendor> <pack> <version> <class> <group> [variant] [-resolve]) and run pack validate.

Input Schema

NameRequiredDescriptionDefault
packYesPack name (X-CUBE-BLE1/BlueNRG-MS for a bundle)
saveNoPersist the .ioc
classYesComponent class
groupYesComponent group or group/subgroup
vendorYesPack vendor
resolveNoAsk CubeMX to resolve dependencies automatically
variantNoOptional component variant
versionYesPack version
project_idYesProject id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden. It usefully discloses the side effect of running 'pack validate', but never states that it mutates the .ioc (save defaults true), whether changes are reversible, permission/auth needs, or what happens on failure. This is thin for a write tool.

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?

A single, front-loaded sentence with no padding; the primary action leads and the validation side effect follows. It is efficient, though extremely terse given the tool's complexity.

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?

For a 9-parameter mutation tool with no annotations and no output schema, the description is minimal. It conveys the action and validate side effect, but omits mutation persistence behavior and result reporting, leaving notable gaps.

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 all nine parameters are fully documented in the schema, establishing a baseline of 3. The description's CLI template loosely reiterates argument order (vendor/pack/version/class/group, [variant], -resolve) but adds no new semantics beyond the schema.

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 gives a specific verb+resource ('Enable a CMSIS-Pack component') and even shows the underlying CLI syntax. It implies a clear scope, but does not explicitly contrast with siblings like pack_disable, pack_status, or pack_validate (which it invokes internally), leaving the agent to infer the distinction.

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?

Usage is only implied by the verb 'Enable' — there is no statement of when to use this versus pack_disable, pack_status, or the standalone pack_validate tool. The embedded CLI line suggests context but does not specify preconditions or exclusions.

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

Deploy Server

Other Tools