Skip to main content
Glama
archlinux-official-packages-mcp

archlinux-official-packages-mcp

Get Arch Linux package files

get_archlinux_package_files
Read-onlyIdempotent

Inspect the installed file manifest, file count, and directory count shipped inside an official Arch Linux package to audit package contents and locate files by path filter.

Instructions

Inspect the installed file manifest, file count, and directory count shipped inside an official Arch Linux package.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pkgname": "<pkgname>"
    },
    "name": "get_archlinux_package_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
archNoPackage architecture (default "x86_64").
repoNoRepository name in lowercase (default "core").
limitNoMaximum file paths to return (default 50, max 250).
pkgnameYesExact Arch Linux package name (e.g. "openssl").
path_filterNoOptional case-insensitive substring filter for file paths (e.g. "bin/", ".so").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is fully covered elsewhere. The description adds only that the manifest is the "installed" file list shipped in the package, and says nothing about how the returned file paths interact with the limit cap or whether counts reflect the full manifest versus the truncated result set.

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?

It is a single front-loaded sentence with no filler, and the three returned artifacts are enumerated compactly. Nothing is repeated from the title and nothing needs trimming.

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?

For a read-only, five-parameter lookup whose schema documents every field and whose annotations cover safety, the description is largely sufficient. The remaining gap is that it does not clarify the relationship between the truncated file list and the aggregate counts, which an agent calling this with a limit would want to know.

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 description coverage is 100%, with arch, repo, limit, pkgname, and path_filter all documented in the schema itself, so the baseline is 3. The description contributes no additional parameter meaning, for example how path_filter interacts with the counts or that pulls are naturally scoped to a single exact package name.

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 uses a specific verb ("Inspect") tied to a concrete resource set: installed file manifest, file count, and directory count for an Arch Linux package. That clearly separates it from sibling tools like check_archlinux_package_dependencies or list_archlinux_repo_packages, though it never names or contrasts get_archlinux_package_detail, which is the closest potential overlap.

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?

There is no when-to-use or when-not-to-use guidance and no reference to alternatives, despite five sibling tools with adjacent scopes. The phrase "official Arch Linux package" implies a repository-package constraint, but the agent must infer both the use case and the repo-vs-AUR boundary entirely on its own.

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