Skip to main content
Glama

浏览器扩展

browser_extensions
Destructive

Manage unpacked Chrome extensions in the shared browser session: list loaded extensions, load one from an absolute path containing manifest.json, or remove by path or ID. Reload tabs for changes.

Instructions

Manage unpacked (Load unpacked) Chrome extensions. action=list shows loaded extensions (id, name, version, manifest version, local path); action=load loads an unpacked extension from an absolute directory path that contains manifest.json (persisted, reloaded on browser restart, injected into the shared session; isolated tabs do not get extensions); action=remove unloads one by path or extension id and removes it from the persisted list. Extensions take effect for new page loads — reload the tab after loading one.

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

Input Schema

NameRequiredDescriptionDefault
idNo(remove) extension id from action=list
pathNo(load) absolute directory containing manifest.json; (remove) alternative to id
actionNoExtension operation (default list)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses persistence across browser restarts, injection into the shared session, the exception for isolated tabs, and the delayed effect requiring a tab reload. It also clarifies that remove deletes the extension from the persisted list, which is exactly the destructive consequence the annotations only flag abstractly.

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 purpose is front-loaded in the first clause, followed by per-action detail in a logical list/load/remove order. It is dense and semicolon-heavy but nearly every clause carries information an agent needs, with only minor redundancy in repeating path constraints already in the schema.

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?

With three optional parameters, no output schema, and destructive annotations, the description covers everything needed: what list returns (id, name, version, manifest version, local path), how load persists and where extensions apply, and what remove deletes. The absence of an output schema is fully compensated by the inline field enumeration.

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%, and the description largely restates what the schema already documents: path is an absolute directory containing manifest.json, id comes from action=list, action defaults to list. The parenthetical (load)/(remove) tagging of path is useful for disambiguating the dual-purpose parameter but adds little beyond the existing schema descriptions, 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 names a specific resource (unpacked Chrome extensions) and enumerates the three operations with their distinct effects: list shows loaded extensions and their fields, load installs from a directory containing manifest.json, remove unloads by path or id. This is far more than a restatement of the name and lets an agent distinguish the tool from generic browser tools.

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 clear per-action guidance, including the operational instruction to reload the tab after loading because extensions only apply to new page loads, and the note that isolated tabs do not receive extensions. It does not explicitly compare against sibling tools, but no sibling plausibly overlaps with extension management, so the missing exclusion costs little.

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