Query File Provides
query_file_providesFind packages that contain a command or filesystem path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | ||
| path | Yes | ||
| repo | No | ||
| distro | No | ||
| source | No | ||
| release | No | ||
| catalog_revision | No |
query_file_providesFind packages that contain a command or filesystem path.
| Name | Required | Description | Default |
|---|---|---|---|
| arch | No | ||
| path | Yes | ||
| repo | No | ||
| distro | No | ||
| source | No | ||
| release | No | ||
| catalog_revision | No |
Changes observed during successful MCP inspections.
Input schema / properties / archAdded value: +{
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}Input schema / properties / catalog_revisionAdded value: +{
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}Input schema / properties / distroAdded value: +{
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}Input schema / properties / releaseAdded value: +{
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}Input schema / properties / repoAdded value: +{
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}Input schema / properties / sourceAdded value: +{
+ "maxLength": 256,
+ "minLength": 1,
+ "type": "string"
+}Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already indicate read-only, idempotent, and non-destructive behavior. The description does not contradict these hints, but it also adds no additional behavioral context such as open-world result handling or potential incompleteness.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no filler or redundant information. It is well-structured and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With seven parameters, no parameter descriptions, no output schema, and no usage context, the description is far from complete. An agent would not know how to set optional filters or what the response shape will be.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% and no parameter is explained beyond the required 'path'. The meaning of arch, repo, distro, source, release, and catalog_revision is not clarified, leaving the agent to guess their roles.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: finding packages that contain a command or filesystem path. It is specific enough to distinguish the core operation, though it does not explicitly contrast it with sibling search tools.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives such as search_packages, get_package, or resolve_install. There is no mention of use cases, limitations, or preferred scenarios.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.