Skip to main content
Glama

chrome_console_get_log

Retrieves captured browser console messages, letting you filter by log level and limit results to debug page errors and warnings.

Instructions

Get captured console messages

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_get_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNo
levelNoFilter by level: log, warn, error, info
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and fails to disclose whether the returned buffer is cumulative, whether messages survive between calls, whether capture must be active, or whether retrieval is destructive. Only the bare fact that messages are 'captured' 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.

Conciseness4/5

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

A single four-word sentence with zero waste and the resource front-loaded after the verb. It is efficient, though its terseness reflects under-specification rather than disciplined editing.

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?

For a tool with three parameters, no output schema, and a likely capture-enabled precondition, the description is far too thin. An agent cannot tell what the return payload looks like, whether clear mutates state, or what limit defaults to.

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?

Schema description coverage is only 33%: only 'level' is documented (in the schema, not the description). The description says nothing about 'clear' (presumably emptying the buffer after retrieval) or 'limit' (presumably a max message count), leaving two undocumented parameters with no compensating explanation.

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 and resource: 'Get captured console messages', which clearly distinguishes a read of the console buffer from the sibling chrome_network_get_log. The description does not explicitly name siblings or clarify what 'captured' implies (e.g. buffered only when console capture is enabled), so it stops short of full differentiation.

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, no mention that console capture likely must first be enabled via chrome_console_enable, and no note about how this relates to chrome_console_clear. An agent must infer all preconditions and alternatives from the tool name alone.

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