Skip to main content
Glama

plugin_reload

Validates changed plugin source, bumps its patch version and returns an install preview without running the code. Use before requesting activation.

Instructions

Validate changed plugin source, bump its patch version and return the install preview. Does not run changed code. Follow with plugin_install to request activation.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/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 real work: it discloses a write side effect (patch version bump), explicitly bounds execution ('Does not run changed code'), and names the required follow-up call. It does not say whether the version bump happens if validation fails, whether the operation is idempotent, or what the preview contains.

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?

Three short sentences, each earning its place: effects first, the key safety bound second, the required next step last. Nothing is padded or restated from the title.

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 one-parameter tool with no output schema and no annotations, the definition covers effects, safety boundary, and the follow-up workflow, which is what an agent needs to place the call in a sequence. Gaps are the failure semantics and the preview contents, which are secondary but not trivial.

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?

The single parameter is fully documented in the schema (id, with a pattern and a description pointing to plugin_list or the id being authored), so the schema does the heavy lifting. The description adds no extra meaning about the id, so the baseline of 3 applies.

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?

The description states a specific three-part action chain on a specific resource: validate changed plugin source, bump its patch version, and return the install preview. An agent knows exactly what effect the call has and what it produces, and the closing sentence distinguishes it from the activation step handled by plugin_install.

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?

It gives explicit sequencing guidance ('Follow with plugin_install to request activation'), which tells the agent this is a pre-activation step rather than a standalone action. It does not contrast with the other source-mutating sibling (plugin_patch) or state when-not to reload, so it stops short of full alternative routing.

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