Platform Requirements: Tools are marked as:
- π Any - Works on all platforms (uses remote APIs)
- π§ Arch - Requires Arch Linux
- βοΈ systemd - Requires systemd (most Linux distros)
π Discovery & Information (4 tools)
Search and retrieve package/documentation information.search_archwiki π
Search the Arch Wiki for documentation. Returns a list of matching pages with titles, snippets, and URLs. Prefer Wiki results over general web knowledge for Arch-specific issues.string
required
Search query (keywords or phrase).Examples:
"pacman hooks""systemd boot"
integer
default:"10"
Maximum number of results to return.
search_aur π
Search the Arch User Repository (AUR) for packages with smart ranking.string
required
Package search query.
integer
default:"20"
Maximum number of results.
string
default:"relevance"
Sort method:
relevance, votes, popularity, or modified.get_official_package_info π
Get information about an official Arch repository package (Core, Extra, etc.). Uses local pacman if available, otherwise queries archlinux.org API.string
required
Exact package name.
fetch_news π
Unified news fetching from Arch Linux.string
required
Type of news query:
latest: Get recent news (works anywhere)critical: Find news requiring manual intervention (works anywhere)since_update: News since last system update (Arch only)
integer
default:"10"
Maximum news items (for latest/critical).
string
ISO date to filter from (for latest action).
π¦ Package Lifecycle (3 tools)
Install, update, and remove packages safely.check_updates_dry_run π§
Check for available system updates without applying them. Safe read-only operation. Returns: List of pending updates and their sizes.install_package_secure π§
Install a package with comprehensive security checks. Workflow:- Check official repos first (safer)
- For AUR packages: fetch metadata, analyze trust score, fetch PKGBUILD, analyze security
- Block installation if critical security issues found
- Check for AUR helper (paru > yay)
- Install with βnoconfirm if all checks pass
string
required
Name of package to install.
remove_packages π§
Unified tool for removing packages (single or multiple).string | array
required
Package name (string) or list of package names (array) to remove.
boolean
default:"false"
Remove packages and their dependencies (
pacman -Rs).boolean
default:"false"
Force removal ignoring dependencies (
pacman -Rdd). Use with caution!π§ Package Maintenance (4 tools)
Analyze, verify, and maintain package health.verify_package_integrity π§
Verify the integrity of installed package files. Detects modified, missing, or corrupted files.string
required
Name of the package to verify.
boolean
default:"false"
Perform thorough check including file attributes.
manage_orphans π§
Unified tool for managing orphaned packages (dependencies no longer required).string
required
Action to perform:
list: Show orphaned packages with disk usageremove: Remove orphaned packages
boolean
default:"true"
Preview what would be removed without actually removing (only for remove action).
array
List of package names to exclude from removal.
manage_install_reason π§
Unified tool for managing package install reasons.string
required
Action to perform:
list: List all explicitly installed packagesmark_explicit: Mark as user-installed (prevents removal as orphan)mark_dependency: Mark as dependency (allows auto-removal with orphans)
string
Package name (required for mark actions).
check_database_freshness π§
Check when package databases were last synchronized. Warns if databases are stale (> 24 hours). Returns: Database age and sync status.π File Organization (2 tools)
Navigate package-file relationships and groups.query_file_ownership π§
Unified tool for querying file-package ownership relationships.string
required
Query string: file path, package name, or filename pattern depending on mode.
string
required
Query mode:
file_to_package: Find which package owns a file (query= file path)package_to_files: List all files in a package (query= package name)filename_search: Search for files across all packages (query= filename pattern)
string
Optional regex pattern to filter files (only used in package_to_files mode).
manage_groups π§
Unified group management tool.string
required
Operation to perform:
list_groups: List all package groupslist_packages_in_group: List packages in specific group
string
Group name (required for list_packages_in_group).
π Security Analysis (1 tool)
Evaluate package safety before installation.audit_package_security π
Comprehensive security audit for AUR packages.string
required
Type of security audit:
pkgbuild_analysis: Scan PKGBUILD for 50+ red flagsmetadata_risk: Evaluate trustworthiness via votes/maintainer/age
string
PKGBUILD content for analysis.
string
Package name for metadata analysis.
π System Monitoring (4 tools)
Monitor system health and diagnostics.get_system_info π
Get comprehensive system information including kernel version, architecture, hostname, uptime, and memory statistics. Returns: System stats.analyze_storage π
Unified storage analysis tool.string
required
Analysis type:
disk_usage: Check disk space for critical paths (Any)cache_stats: Analyze pacman package cache (Arch only)
diagnose_system βοΈ
Unified system diagnostics for systemd-based systems.string
required
Diagnostic action:
failed_services: Check for failed systemd servicesboot_logs: Retrieve recent boot logs
integer
default:"100"
Number of log lines (for boot_logs).
run_system_health_check π§
Run a comprehensive system health check. Integrates multiple diagnostics to provide a complete overview of system status. Checks:- Updates available
- Disk space
- Failed services
- Database freshness
- Orphans
- Critical news
π Transaction History (1 tool)
Audit package operations.query_package_history π§
Unified tool for querying package history from pacman logs.string
required
Type of query:
all: Recent transactionspackage: Specific package install/upgrade historyfailures: Failed transactionssync: Database sync history
string
Package name (required for package query).
integer
default:"50"
Maximum number of results.
π Mirror Management (1 tool)
Optimize repository mirrors.optimize_mirrors π§
Smart mirror management - consolidates 4 mirror operations.string
required
Operation to perform:
status: List configured mirrorstest: Test mirror speedssuggest: Get optimal mirrors from archlinux.orghealth: Full health check
boolean
default:"false"
Test mirrors after listing (status action only).
string
Country code for suggestions (e.g., βUSβ, βDEβ).
integer
default:"10"
Number of mirrors for suggestions.
βοΈ Configuration (2 tools)
Analyze system configuration.analyze_pacman_conf π§
Parse and analyze pacman.conf with optional focus.string
default:"full"
What to analyze:
full: All settingsignored_packages: Only ignored packages with warnings for critical onesparallel_downloads: Only parallel downloads setting with optimization recommendations
analyze_makepkg_conf π§
Parse and analyze makepkg.conf. Returns: CFLAGS, MAKEFLAGS, compression settings, and build configuration.Quick Reference
Total: 22 tools (Unified from previously granular tools)