Skip to main content
Glama

plugin_install

Build, validate, and install a plugin from its source tree, optionally replacing an existing one, and install changed source as an immutable snapshot.

Instructions

Build, validate and install or replace a plugin from its source tree. Rungs below Full ask the user before running code, including Auto. Changed source is installed as an immutable snapshot.

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": "plugin_install"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPlugin id from plugin_list, or the id being authored.
replaceNo
importanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does well: it reveals that the tool builds and validates, that it runs code, that consent may be required depending on the 'rung' setting, and that changed source is installed as an immutable snapshot. The unexplained jargon ('Rungs,' 'Full,' 'Auto') and the absence of failure or rollback behavior keep it from 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 sentences with no filler, and the core action appears first. The consent and immutability constraints follow logically, though the middle sentence introducing 'Rungs' is cryptic without prior context.

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 code-executing mutation tool with no annotations and no output schema, the description covers the essential flow but omits what happens to an existing plugin on replace, what failure modes or rollback exist, and what permissions are required. Adequate but with clear gaps.

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

Parameters2/5

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

Schema coverage is 33%: only id is described, while replace and importance are undocumented in the schema. The description never mentions importance and only hints at replace through the phrase 'install or replace.' With low schema coverage, the description should compensate, and it does not.

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 uses concrete verbs and a clear resource: 'Build, validate and install or replace a plugin from its source tree.' This distinguishes it from siblings like plugin_create or plugin_patch, which presumably work at a different level of abstraction. It does not explicitly name a sibling, which is why it falls 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 Guidelines3/5

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

The sentence 'Rungs below Full ask the user before running code, including Auto' implies when interactive consent occurs, but the description never states when to choose this tool over plugin_create, plugin_patch, or plugin_reload. The install-versus-replace distinction is only implicit in the verb 'replace.'

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