Skip to main content
Glama

manage_orphans

List or remove orphaned packages on SUSE Linux to free disk space and clean up unused dependencies. Preview removals with dry-run and exclude specific packages.

Instructions

[MAINTENANCE] Unified tool for managing orphaned packages (dependencies no longer required). Supports two actions: 'list' (show orphaned packages) and 'remove' (remove orphaned packages). Only works on SUSE Linux. Requires sudo access for removal. Examples: action='list' → shows all orphaned packages with disk usage; action='remove', dry_run=true → preview what would be removed; action='remove', dry_run=false, exclude=['pkg1'] → remove all orphans except 'pkg1'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform: 'list' (list orphaned packages) or 'remove' (remove orphaned packages)
dry_runNoPreview what would be removed without actually removing (only for remove action). Default: true
excludeNoList of package names to exclude from removal (only for remove action)
Behavior1/5

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

The description explicitly says 'remove orphaned packages' and requires sudo for removal, indicating destructive operations. However, annotations set destructiveHint=false, which directly contradicts the described behavior. This is an annotation contradiction.

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 well-organized, front-loading the purpose, then providing constraints and examples. Every sentence adds value and the examples are illustrative without being verbose.

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

Completeness4/5

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

Covers actions, platform, privileges, and usage examples, and explains the output for 'list' (disk usage). However, it does not describe the return value for 'remove' (other than dry-run preview), leaving some ambiguity.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds meaningful examples (list shows disk usage, dry_run preview, exclude list) that clarify parameter behavior and default values beyond the schema.

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 clearly states it is a 'unified tool for managing orphaned packages' with two specific actions ('list' and 'remove'), distinguishing it from sibling tools like 'remove_packages' by focusing on orphans. The verb and resource are explicit.

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

Usage Guidelines4/5

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

Provides clear platform and privilege context ('Only works on SUSE Linux', 'Requires sudo access for removal') and concrete examples for each action. However, it does not explicitly name alternative tools or state when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/chrisjohntapp/suse-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server