Skip to main content
Glama

deb_provides

Read-onlyIdempotent

Find which Debian package provides a command or file path, installed or available, to resolve command-to-package and file-to-package ownership.

Instructions

Which package provides a command or file (installed or available).

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": {
      "target": "<target>"
    },
    "name": "deb_provides"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesCommand name (e.g. 'pdftotext') or absolute file path.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

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, destructiveHint=false and a closed-world scope, so safety is covered. The description's only added behavioral detail is that it matches both installed and merely-available packages, which is genuinely useful, but nothing is said about ambiguous/multiple matches or return shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the key scoping parenthetical placed immediately after the resource, so it is front-loaded and waste-free. It borders on under-specified rather than verbose.

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

Completeness3/5

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

The tool is simple (one required string parameter), an output schema exists, and annotations carry the safety profile, so the definition is nearly sufficient. It still leaves the agent without guidance on disambiguating this lookup from sibling tools or on interpreting multiple providers.

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 target parameter is already documented with an example ('pdftotext') and the absolute-path option. The description restates 'command or file' without adding format rules, path-resolution behavior, or matching semantics beyond the schema.

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 states a specific query: given a command or file, return the package that provides it, with the scope clarified as 'installed or available'. That is more than a restatement of the name and separates it from a general package search, though it does not name any sibling explicitly.

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

Usage Guidelines3/5

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

Usage is only implied by the phrasing – an agent can infer this is the lookup for 'what owns this binary/path' rather than for searching package names. There is no explicit when-to-use, no exclusion, and no pointer to deb_search or deb_man for adjacent questions.

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