Skip to main content
Glama

google_console

Read browser console output and JavaScript exceptions to debug web pages. Filter by level, limit, or timestamp, and clear logs when needed.

Instructions

读页面 console 输出与 JS 异常。

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

Input Schema

NameRequiredDescriptionDefault
clearNo
levelNo
limitNo
sinceNo
tab_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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, yet it only says it reads console output. It does not say whether entries accumulate across navigations, whether reading is destructive to the buffer, whether a debugger/CDP attachment is required, or how output is paginated.

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 compact sentence with the resource front-loaded and no filler. It is efficient, though its brevity contributes to the specification gaps rather than reflecting thoroughness.

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?

With five parameters at 0% coverage, no annotations, and no output schema, the description leaves an agent guessing about filtering, buffer-clearing side effects, and tab targeting. For a diagnostic tool of this complexity, far more context is needed.

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 0% across five parameters, and the description explains none of them. Critically, the `clear` flag is a potentially destructive buffer-wiping option and `level`/`since`/`limit`/`tab_id` filtering and targeting semantics are entirely undocumented in both places.

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 (读/read) and specific resources (页面 console 输出, JS 异常), which distinguishes it from siblings like google_network (network traffic) and google_eval (script execution). It is clear what the tool returns, though it does not explicitly name the sibling it is not.

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 preconditions (e.g. an attached tab or debugger session being active), and no alternatives mentioned. The agent must infer that this is the tool for diagnosing page errors rather than, say, network failures.

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