Skip to main content
Glama

pio_pkg_update

Update PlatformIO project dependencies to versions that satisfy the version ranges declared in platformio.ini.

Instructions

Update dependencies within the version ranges declared in platformio.ini.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNo
project_dirNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/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 of behavioral disclosure. 'Update dependencies' implies mutation, but it does not say whether it modifies platformio.ini, only fetches packages, requires network access, changes lock files, or has any other side effects. This is a notable gap for a mutating tool.

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?

The description is a single focused sentence with no filler or repetition. It front-loads the core action and the scoping constraint, making it easy for an agent to parse quickly.

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?

Although the tool has only two optional parameters and an output schema, the absence of annotations plus the lack of parameter explanations leaves the description incomplete for safe invocation. An agent cannot tell whether this command only updates installed packages or also alters project declarations, which is essential behavioral context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage for its two parameters, and the description adds no meaning to env or project_dir. It does not explain that env likely filters by environment or that project_dir sets the project location, leaving the agent without any parameter context beyond the bare property names.

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 tool's action and target: updating dependencies constrained by the version ranges in platformio.ini. It is a valid one-sentence definition, but it does not explicitly distinguish itself from sibling tools such as pio_pkg_install or pio_pkg_outdated beyond the verb 'update'.

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?

The description gives no explicit guidance about when to use this tool versus related tools like pio_pkg_install, pio_pkg_uninstall, or pio_pkg_outdated. There is no stated prerequisite, no alternative routing, and no mention of which scenarios call for this tool over its siblings.

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