Skip to main content
Glama

browser_console

Reads console errors, page errors, and failed requests captured so far in a session, helping you diagnose why a page looks broken before you debug further.

Instructions

Read console errors, page errors and failed requests seen so far in this session. The first thing to check when a page looks broken.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral load. It usefully discloses that results are session-cumulative ('seen so far') and implies a read-only, non-mutating operation, but it does not say whether the buffer clears on read, whether it waits for new events, or how errors are structured. Adequate but leaves real gaps for a no-annotation tool.

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?

Two sentences, zero filler. The resource list comes first and the usage cue is front-loaded as the second sentence, so the agent gets purpose and trigger immediately.

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?

For a zero-parameter diagnostic read with no output schema, the description effectively enumerates what comes back (console errors, page errors, failed requests) and when it is useful. The only omissions are buffer semantics and result format, which are minor for a tool this simple.

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 zero parameters, so there is nothing for the description to disambiguate; the baseline of 4 applies. The description does not waste words on nonexistent inputs.

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?

Names a specific verb ('Read') and three concrete resources (console errors, page errors, failed requests), plus the scope 'seen so far in this session'. No sibling tool in the list covers this diagnostic surface, so an agent can distinguish it without opening the schema.

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?

Explicitly tells the agent when to reach for it: 'The first thing to check when a page looks broken.' It gives a clear triggering condition but no when-not guidance or named alternative for deeper inspection (e.g. evaluate or snapshot), so it stops short of full routing.

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