Skip to main content
Glama

chrome_console_clear

Clears the browser console log for a specific tab via the DevTools Protocol, removing existing messages so agents can capture and analyze only newly generated console output.

Instructions

Clear the console

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

Input Schema

NameRequiredDescriptionDefault
tabIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it only restates the action. It does not say whether clearing discards messages permanently, whether it affects only the given tab or all tabs, or whether it changes page state. Only the implied destructiveness of "clear" is conveyed.

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?

Three words is maximally concise and front-loaded, but here brevity comes at the cost of meaning rather than being efficient. The sentence earns its place but should be extended with a scoping clause or two.

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

Completeness2/5

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

The tool is simple, but with no annotations, no output schema, and an undocumented parameter, the description does not supply enough for an agent to invoke it confidently. At minimum it should state the default tab behavior and that the console history is discarded.

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

Parameters2/5

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

The single tabId parameter has 0% schema description coverage and is never mentioned in the description. With one undocumented parameter, the definition leaves open whether tabId is optional, what it defaults to (presumably the active tab), or what format it expects.

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?

The description states a specific verb plus resource ("Clear" + "the console"), which distinguishes it from siblings like chrome_console_get_log and chrome_console_enable. It is minimal but unambiguous about what the tool acts on, though it never says which console (page console vs. DevTools buffer).

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 guidance on when to use this versus chrome_console_get_log (which reads messages) or the other console siblings. An agent must infer the read/clear distinction from names alone, and there is no mention of preconditions such as a log needing to exist first.

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