Skip to main content
Glama
otaviosenne

chrome-agent-mcp

by otaviosenne

devtools_console

Capture and review browser console logs for any tab. Start monitoring to collect messages, filter by level, list entries, or clear the buffer for debugging.

Instructions

Inspect the browser console for a tab. Start monitoring to capture future logs, then list or clear them. Equivalent to the DevTools Console panel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoFilter logs by level (default: all)
limitNoMax entries to return (default: 50)
tabIdNoTarget tab ID (from browser_tabs list). Uses active tab if omitted.
actionYesstart: begin capturing logs | list: show captured logs | clear: empty the log buffer
agentIdNoAgent identifier for parallel execution. Pass a unique ID (e.g. 'C1', 'J2') — the server automatically routes calls to this agent's dedicated tab (registered via browser_tabs action=new).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It conveys that monitoring is stateful and only captures future logs, and that clear removes the captured logs. However, it does not disclose buffer persistence, limits, or the irreversibility of clearing, leaving some behavioral gaps.

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?

The description is compact and front-loaded: it leads with the verb and resource, then gives the lifecycle workflow, and closes with a useful analogy. Every sentence earns its place and there is no filler.

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?

Given the self-documenting parameter schema and the simple three-action lifecycle, the description plus schema is largely complete for selecting and invoking the tool. It explains the core workflow and the Console-panel equivalence; the main gap is not describing the exact output shape of 'list', but the action enum already says it shows captured logs.

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%, so the schema already documents all five parameters, including action enum meanings, level filtering, limit, tabId defaulting, and agentId routing. The description adds no substantial parameter-level detail beyond the per-tab scope already implied by the schema.

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 states a specific verb ('Inspect'), a clear resource ('browser console'), and a scope ('for a tab'). The analogy 'Equivalent to the DevTools Console panel' helps disambiguate it from sibling devtools tools like devtools_network and devtools_elements.

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?

The description gives an explicit workflow: start monitoring first to capture future logs, then list or clear them. It does not explicitly name alternatives or exclusion criteria, but the intended usage sequence is clear enough to guide an agent.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/otaviosenne/chrome-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server