Skip to main content
Glama

browser_watch_console

Toggle console capture on a browser tab to buffer log, info, warn, error, debug, and window errors up to 500 entries for later retrieval.

Instructions

Toggle console capture on a tab. Once enabled, browser console messages (log/info/warn/error/debug + window errors) are buffered up to 500 entries; retrieve via browser_console_logs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tab_idNo
enabledNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 meaningful work: it discloses the buffer cap (500 entries), the captured message types (log/info/warn/error/debug + window errors), and that capture is toggle-based. It leaves unstated whether the buffer is cleared or retained on disable, and whether the operation requires any permission — modest gaps for a low-risk toggle.

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?

Two compact sentences, verb-first and front-loaded, with the parenthetical message-type list earning its space by telling the agent exactly what will be captured. No wasted text.

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?

No output schema or annotations exist, so the description must be self-sufficient; it covers the capture behavior, the cap, and the retrieval path. The remaining gaps — disable semantics and the default tab_id — are minor for a simple toggle tool.

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 0%, so the description must compensate for both parameters. It implies tab scoping ('on a tab') and the enabled/disabled toggle, but never explains that tab_id defaults to null (presumably the active tab) or that enabled defaults to true, so an agent must inspect the schema for defaults. Partial compensation warrants the baseline 3.

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+resource ('Toggle console capture on a tab') and immediately distinguishes itself from the sibling it could be confused with by naming browser_console_logs as the retrieval counterpart. An agent can tell what this does and how it differs from the logs reader without opening either schema.

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?

Clearly frames the workflow: enable capture here, then retrieve via browser_console_logs. It communicates the useful context that buffering only happens while enabled, but stops short of explicit when-not guidance (e.g., what happens if toggled off, or whether it conflicts with browser_capture_network).

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