Skip to main content
Glama
clusslin

browser-console-mcp-tools

by clusslin

get_console_stats

Retrieve counts by type and recent activity for browser console messages to diagnose errors and monitor logs during debugging.

Instructions

Get statistics about console messages (counts by type, recent activity).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. 'Get' implies a read-only operation and the parenthetical partially discloses the return content (counts by type, recent activity), but scope is unstated: no time window, no session/workspace boundary, no indication of whether results are per-session or global.

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?

A single efficient sentence with the resource and result shape front-loaded. Every clause earns its place, though the parenthetical is slightly generic ('recent activity' without a window).

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complexity is low and there is no output schema, so the description should carry more of the return-value and scope burden than it does. It names the aggregation axes but leaves the time window, scope, and result structure undefined for an agent that cannot inspect a response schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes no parameters, which is the baseline 4 case. The description correctly implies there is nothing to configure and that the result is a global aggregate.

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+resource ('Get statistics about console messages') and hints at the shape of the result with 'counts by type, recent activity'. It is clearly distinguishable from get_console_messages and get_console_errors by resource focus, but it never names those siblings or draws an explicit boundary.

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?

No when-to-use guidance, no conditions, and no mention of the alternatives (get_console_messages, get_console_errors, clear_console_messages). An agent must infer from the name alone that this is the aggregated/summary option rather than the raw message retrieval option.

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