Skip to main content
Glama

Errors summary

browser_errors
Read-only

Retrieve JavaScript errors, console errors, failed requests, and HTTP 4xx/5xx responses to debug broken web pages quickly.

Instructions

JavaScript errors, console errors, failed requests and HTTP ≥400 responses — the fastest way to debug a broken page.

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

Input Schema

NameRequiredDescriptionDefault
pageIdNo
sessionNo
sinceSeqNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds the breadth of what is aggregated, which is real value, but says nothing about deduplication, result volume, ordering, or whether the call waits for a page to settle.

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?

One compact sentence, front-loaded with the resource scope before the benefit claim. The em-dash tagline is slightly promotional but short enough to earn its place as a usage hint.

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?

No output schema exists, so the description must carry the burden of explaining what comes back and how to page through results, which it does not. Combined with zero parameter documentation for a tool that clearly supports incremental polling via sinceSeq, an agent cannot reliably invoke this beyond a naive zero-argument call.

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?

All three parameters (pageId, session, sinceSeq) have 0% schema description coverage and the description supplies no meaning for any of them. The incremental-polling semantics of sinceSeq and the role of session versus pageId are critical to calling this correctly and are entirely undocumented.

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 enumerates the specific error classes the tool collects (JS errors, console errors, failed requests, HTTP >=400 responses), which clearly delimits it from siblings like browser_console (console only) or browser_network_requests (requests only). It lacks an explicit verb, but the aggregation scope is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The tagline 'the fastest way to debug a broken page' implies a use case, but there is no explicit when-to-use/when-not guidance and no named alternative for narrower needs (e.g. browser_console for console-only, browser_network_details for request inspection). Routing is left to inference from the sibling list.

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