Skip to main content
Glama
szoran53
by szoran53

Remove Packages

apt_remove
Destructive

Remove apt packages while keeping their configuration files intact. Use run_command_sudo for a full purge.

Instructions

Remove one or more apt packages, leaving config files (apt-get remove). Use run_command_sudo for purge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
packagesYesPackage names to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so safety is covered. The description still adds real behavioral value by disclosing that this maps to 'apt-get remove' and that config files survive — the key side effect an agent needs to reason about. It stops short of mentioning dependency handling or required privileges.

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?

Two short sentences, zero waste, with the destructive scope and the alternative routing both front-loaded. Nothing could be cut without losing routing information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with annotations covering the safety profile and no output schema, the description supplies everything needed: what it removes, what it preserves, and where to go for the purge variant. No material gap remains.

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% and the single 'packages' array parameter is already documented. The description only echoes plurality ('one or more'), adding no format, naming, or wildcard guidance beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Remove one or more apt packages') and immediately qualifies the scope, distinguishing it from purge by noting config files are left behind. An agent can tell it apart from apt_install and the sudo/purge path without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the purge case to an alternative ('Use run_command_sudo for purge'), naming both the sibling tool and the condition that selects it. This is exactly the when/when-not/alternative guidance the dimension asks for.

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