Skip to main content
Glama

capability_uninstall

Preview and remove a managed capability: by default it moves the copy to installed/.trash, leaves the external path untouched, and optionally unlinks the host copy unless locally modified.

Instructions

Preview removing a managed capability by default. Set yes=true only after explicit user confirmation; the copy moves to installed/.trash and the original external path is untouched. With unlink_host (default true) the host-side copy is removed too, unless it was modified locally.

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_uninstall"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
yesNo
forceNoDelete the host copy even when it differs from the installed copy.
host_rootNoOverride the host skill root used for unlinking.
unlink_hostNoAlso remove the copy in the current host's skill root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.9/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 burden and does substantial work: it discloses that the copy moves to installed/.trash, that the original external path is untouched, that host unlinking is on by default, and that a locally modified host copy is spared. It leaves out permissions, error conditions, and what the preview returns, so not a 5.

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?

Three dense sentences with the safe default front-loaded and the confirmation gate second, so the most decision-relevant facts come first. Every sentence carries content, though the clause about the external path sitting untouched is slightly buried mid-sentence.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the safety model, the destination of files, and the default host-unlink behavior. The main residual gap is the semantics of host_root and of force's interaction with the local-modification carve-out.

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 60%, so the schema already documents force, host_root, and unlink_host. The description adds real meaning for yes (confirmation gate) and unlink_host (conditional on local modification), but never explains host_root or how it interacts with the host-root override, leaving the partial gap unfilled.

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 first clause pairs a specific verb with a specific resource ('removing a managed capability') and immediately qualifies the default as a preview rather than a destructive action. It clearly separates this from the sibling install path without naming it, which keeps it just short of a 5.

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 an explicit gating rule: confirm first, then set yes=true. That is actionable when-to-use guidance. It stops short of naming alternatives such as capability_install for reversal or explaining what to do on failure, so no exclusions or sibling routing.

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