Skip to main content
Glama

load_extension

Launch a fresh, isolated Chromium browser with an unpacked Chrome extension to test offline or local-only extensions without real logins or site sessions.

Instructions

Launch a fresh, isolated Chromium with an unpacked extension loaded — no real logins, cookies, or site sessions. Use this ONLY when the extension doesn't depend on being logged into a real website or account (e.g. on-device/offline models, local-only tools, extensions that work on arbitrary/synthetic pages). If testing requires navigating a real site as a logged-in user (job boards, email, social platforms, anything gated behind login) use connect_browser instead — that's the default/preferred way to test. Call load_extension again to restart this throwaway browser.

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": {
      "extension_path": "<extension_path>"
    },
    "name": "load_extension"
  }
}

Input Schema

NameRequiredDescriptionDefault
extension_pathYesAbsolute or relative path to the unpacked extension folder (must contain manifest.json)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.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 well: it discloses that the browser is throwaway with no persisted logins/cookies/sessions, and that calling again restarts it (implying prior state is discarded). It stops short of saying what the call returns (browser handle, extension ID), how long startup takes, or whether it waits for the extension to load.

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 sentences, front-loaded with the core action and isolation guarantee, then the use/avoid rule with the named alternative, then restart semantics. No filler; each sentence changes how an agent would decide or call.

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 single-parameter, annotation-free tool with no output schema, it covers the decision criteria and state lifecycle thoroughly. The one real gap is the return value and load-completion behavior, which nothing else in the definition supplies.

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 100% for the single extension_path parameter, including the manifest.json requirement, so the schema already does the work. The description adds no format or path-resolution detail beyond what the schema states; baseline 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?

States a specific verb and resource — launches a fresh, isolated Chromium with an unpacked extension — and immediately scopes it (no real logins, cookies, or site sessions). This is clearly differentiable from connect_browser, which the description names explicitly.

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 ONLY-condition for use (extension doesn't depend on a real logged-in account, e.g. on-device/offline tools, synthetic pages) and an explicit when-not plus named alternative (connect_browser for anything gated behind login, which it labels the default/preferred path).

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