Skip to main content
Glama

pack_disable

Disable a CMSIS-Pack component in an STM32CubeMX project and validate the resulting component selection to confirm configuration consistency.

Instructions

Disable a CMSIS-Pack component and validate the selection.

Input Schema

NameRequiredDescriptionDefault
packYesPack name
classYesComponent class
groupYesComponent group
vendorYesPack vendor
variantNoOptional variant
versionYesPack version
project_idYesProject id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. 'Disable' implies a mutation, but the description does not say whether the project must be open, whether the operation is reversible, whether validation failures block the disable or just report, or what is returned. 'Validate the selection' is the only behavioral hint and it is ambiguous.

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 efficient sentence with no wasted preamble, and the action is front-loaded. The appended 'and validate the selection' is slightly ambiguous but costs little space.

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?

This is a 7-parameter mutation tool with zero annotations and no output schema, where the description is the only source of behavioral context. It does not cover preconditions, failure modes, or the effect of validation, leaving an agent under-informed for a state-changing operation.

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 description coverage is 100%, so every parameter (vendor, pack, version, class, group, variant, project_id) is already documented in the schema. The description adds no additional parameter meaning (e.g., how to identify a component uniquely via vendor/pack/class/group), so baseline 3 applies.

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?

States a specific verb ('Disable') and resource ('CMSIS-Pack component'), which distinguishes it from the inverse sibling pack_enable. It does not explicitly differentiate itself from pack_validate or pack_status, and the trailing 'and validate the selection' blurs the boundary with pack_validate.

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 on when to use this versus pack_enable, pack_validate, or pack_status, and no stated prerequisites (e.g., project must be open, component must currently be enabled). Usage is only implied by the verb.

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