Skip to main content
Glama

Open or close the Browser Console

browser_console

Open, close, or toggle Firefox's browser-wide console window to inspect messages from all tabs and browser components.

Instructions

Open or close the Browser Console (the Ctrl+Shift+J window that logs browser-wide messages). MEASURED: call BrowserConsoleManager.openWindow() with NO arguments — its openBrowserConsole(win) variant throws "can't access property windowRoot, win is undefined" because the manager has no commands bound outside a real DevTools context. openWindow() spawns the standalone devtools:webconsole window, which is what the menu item does.

Input Schema

NameRequiredDescriptionDefault
actionYesWhat to do

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false, so the description does add real context: the tool spawns a standalone devtools:webconsole window, the same thing the menu item does, and it names a known failure mode. That is useful behavioral disclosure beyond the annotation. It still says nothing about what happens when closing a console that isn't open, whether toggle is idempotent, or what the tool returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded in the first sentence, which is good. But the following two sentences are an internal API post-mortem and a verbatim thrown-error string, which do not help an agent decide to call this tool or how to fill in action, and they push the definition from a one-liner into an essay.

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?

The tool is simple: one required enum parameter, no output schema, minimal annotations. The description covers what the window is and where it appears, which is enough to call it. The remaining gap is behavioural edge cases (close when not open, toggle semantics), which is minor at this complexity.

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 description coverage is 100% (the action enum with open/close/toggle), so the baseline is 3 and the description adds no meaning about the enum values beyond the title. The 'call ... with NO arguments' note refers to an internal manager method, not the tool, and risks being misread as licence to omit the required action parameter.

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?

States a specific verb pair (open/close) and a specific resource (the Browser Console window, described as the Ctrl+Shift+J window that logs browser-wide messages). That distinguishes it from most siblings, but the nearest neighbour, browser_console_logs, is never named or contrasted, so an agent must infer the split between 'open the console window' and 'read console logs'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use guidance at all: no statement of when an agent should open vs. close vs. toggle, no prerequisites, and no mention of the sibling that returns log content. The only 'usage' content is about an internal manager API (openWindow() vs. openBrowserConsole(win)), which is implementation trivia rather than agent-facing selection guidance.

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

Deploy Server

Other Tools