Skip to main content
Glama

reload_extension

Hot-reloads the extension's code in the connected browser by clicking Update on chrome://extensions so agents can test changes. Tabs and logins survive; all unpacked extensions reload too.

Instructions

Hot-reload the extension's code in the connected personal browser (connect_browser mode only) by clicking the toolbar 'Update' button on chrome://extensions — reloads every installed unpacked extension (and update-checks every Web Store one) as a side effect, so it's not scoped to just this extension, but the extension ID stays stable and tabs/logins survive. Waits 10s after the click before returning to give the reload time to settle.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reload_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

A4.6/5.0
Behavior5/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 so well: it discloses the mechanism (toolbar Update click), the important side effect that all unpacked extensions are reloaded and Web Store ones update-checked, that the extension ID stays stable and tabs/logins survive, and that it blocks for 10 seconds after the click. These are exactly the behavioral traits an agent needs before invoking a mutating action.

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?

The core action is front-loaded in the first clause, and every subsequent detail (mode restriction, side effects, ID stability, 10s wait) is useful. The single long sentence with em-dashes and parentheticals is dense but not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-parameter, no-output mutation tool with no annotations, the description covers scope, mechanism, side effects, state preservation, and timing behavior. An agent has everything needed to decide whether and how to call it.

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?

The tool takes zero parameters, so there is nothing for the description to clarify beyond the schema; baseline is 4. The description correctly implies no inputs are needed by describing a fixed UI-driven action.

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 names a specific verb and resource ('Hot-reload the extension's code'), the target environment ('connected personal browser'), and the exact mechanism ('clicking the toolbar Update button on chrome://extensions'). This is clearly distinct from sibling tools like load_extension or connect_browser.

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 states an explicit precondition: 'connect_browser mode only', which tells the agent when this tool is invocable. It does not explicitly contrast with load_extension or explain when to reload vs. reload-and-reload-dependencies, but the operational context is clear.

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