Skip to main content
Glama

pack_validate

Apply every component enabled since the last validation and persist the .ioc to keep an STM32CubeMX project current.

Instructions

Apply every component enabled since the last validate (pack validate) and persist the .ioc.

Input Schema

NameRequiredDescriptionDefault
saveNoPersist the .ioc
project_idYesProject id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/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. It discloses the core mutation (applies enabled components) and side effect (persists the .ioc), but omits whether the project must be open, failure modes, idempotency, or any safety/permission constraints.

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 wasted words. The inline CLI reference is compact, though the phrase 'since the last validate' is slightly dense and could be clearer.

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 simple two-parameter mutation tool with no output schema, the description explains the main effect and persistence. It still leaves out prerequisites, error behavior, and what 'applying' entails operationally, which matters because no annotations are available to fill those 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 description coverage is 100%, including the 'save' default and meaning, so the schema already documents both parameters. The description adds no syntax or semantic detail beyond what the schema provides.

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 action (apply enabled components) and resource (pack components) and notes persistence of the .ioc, which distinguishes it from pack_enable/pack_disable/pack_status. However, the name 'validate' and the phrase 'since the last validate' create slight ambiguity about whether this validates or reconciles/applies state.

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?

Implies usage after enabling components ('enabled since the last validate') but gives no explicit when-to-use versus siblings like pack_status or pack_enable, no prerequisites (e.g., project must be open), and no 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