Skip to main content
Glama

capability_deps

Plan or check a capability's dependencies in read-only mode, returning exact install commands and risk flags without running pip/npm. Use plan for approved host installs and check for installed packages.

Instructions

Read-only dependency plan/check for one capability. Returns exact install commands and risk flags; never executes pip/npm. Use action=plan for the host to run after user approval, action=check for what is already installed.

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": {
      "id": "<id>"
    },
    "name": "capability_deps"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
actionNoplan

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does disclose the key traits: read-only, non-executing, and that it emits commands plus risk flags for a human-approved host action. It omits any auth/permission requirements and any statement about failure modes when a capability is unknown.

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?

Two tight sentences: what it does and its safety boundary first, then the action-value routing. No filler or restatement of the tool name.

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?

No output schema exists, and the description does adequately summarize returns (install commands, risk flags). It stops short of describing result structure or how `id` should be supplied, which is the remaining gap for a two-parameter tool.

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

Parameters4/5

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

Schema coverage is 0%, so the description must compensate; it defines the meaning and consequence of each `action` enum value (plan = commands for the host to run after approval, check = installed-state probe). The required `id` parameter is only indirectly covered ('one capability'), leaving its expected form undescribed.

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?

Specific verb and resource ('dependency plan/check for one capability') with an explicit negative scope ('never executes pip/npm') and a stated return ('install commands and risk flags'). An agent can distinguish this from capability_install without inspecting either schema.

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?

Gives explicit per-action guidance: plan for host execution after user approval, check for what is already installed. It also implicitly excludes mutation work, but does not name capability_install (the obvious alternative for actually installing) or state when not to use the tool.

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