Skip to main content
Glama

capability_install

Install a local skill, plugin, or project from a directory or ZIP using a preview-and-approve flow, then link it into the host's skill root so it loads immediately.

Instructions

Install a LOCAL skill/plugin/project from a directory or ZIP. Returns a preview unless approve=true. To approve, call once with approve=false, show the preview to the user, then call again with approve=true and approve_hash set to the returned source_hash. Remote fetch/install stays CLI-only.

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": {
      "source": "<source>"
    },
    "name": "capability_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
typeNo
forceNo
sourceYes
approveNo
host_rootNoOverride the host skill root used for linking.
link_hostNoAfter a successful install, copy the skill into the current host's skill root so the host can load it immediately. Only skills are linked.
approve_hashNosource_hash from the preview call
payload_onlyNo

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 burden and does disclose the key trait: the tool is preview-only unless approve=true, and approval is bound to a source_hash so the preview cannot be bypassed. It leaves the overwrite/conflict behavior of force=true and what happens to an already-installed capability unstated, which matters for a mutating tool.

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 sentences, zero filler, and the core behavior (preview unless approved) is front-loaded before the mechanics. The approval sentence is long but every clause is load-bearing; nothing is repeated from the schema unnecessarily.

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?

For a 9-parameter mutation tool with no annotations and no output schema, the definition covers the approval flow and source types well but omits conflict/overwrite semantics and what the preview actually contains. Adequate to invoke correctly in the happy path, but an agent could not predict the result of force=true or a re-install.

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 only 33%, so the description must compensate. It does add real meaning for source (directory or ZIP), approve (preview gate), and approve_hash (source_hash from the preview call), but it never explains force, name, type, or payload_only, leaving four parameters defined only by their names.

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?

States a specific verb (install) and resource (skill/plugin/project) and immediately narrows scope to LOCAL sources from a directory or ZIP. The exclusion 'Remote fetch/install stays CLI-only' removes the only plausible ambiguity, so an agent knows exactly which operation this is.

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

Usage Guidelines5/5

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

Gives an explicit when-not (remote installs are CLI-only) and a precise two-phase protocol: call with approve=false, show the preview to the user, then call again with approve=true plus the returned source_hash. There is no guesswork about the approval sequence or the guard condition.

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