Skip to main content
Glama

pio_pkg_uninstall

Remove a specified library, platform, or tool from your PlatformIO project and its platformio.ini configuration.

Instructions

Remove a library/platform/tool from the project and platformio.ini.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
envNo
specYes
typeNolibrary
project_dirNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 behavioral burden. It does disclose the key side effect: the item is removed from both the project and platformio.ini. However, it does not mention whether dependencies are affected, whether the operation is reversible, or what happens if the package is still referenced.

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?

A single sentence with no filler. The action, target types, and affected files are all included compactly, and the core idea is front-loaded.

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?

While an output schema exists, the tool still has four parameters and zero schema descriptions. The description is too sparse to fully support correct invocation, especially for `env` and the exact format of `spec`. It provides enough purpose clarity but not enough operational detail.

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%, so the description needed to explain the parameters, but it only hints at 'library/platform/tool', which loosely maps to the `type` property. The required `spec` parameter, `env`, and `project_dir` are not explained at all, forcing the agent to guess their semantics.

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 uses a specific action, 'Remove', and identifies the resource ('a library/platform/tool') and the affected scope ('from the project and platformio.ini'). This clearly distinguishes it from sibling tools like pio_pkg_install and pio_pkg_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 implies when to use the tool (to remove a package) but provides no explicit guidance on when not to use it or which alternative to choose. It does not mention pio_pkg_install, pio_pkg_update, or pio_pkg_list, leaving usage decisions to inference.

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