Skip to main content
Glama
Vitexus

mcp-server-webdriver

by Vitexus

devtools_js_errors

Read-only

Captures and returns all JavaScript errors thrown in the browser since opening, enabling developers to pinpoint the exact file, line, and stack trace responsible for a bug.

Instructions

Return all JavaScript exceptions captured since browser_open.

Each entry contains: ts — ISO 8601 timestamp type — error type (e.g. 'TypeError', 'ReferenceError') text — error message url — source file URL line — line number in source file column — column number stack — full stack trace

This is the primary tool for finding which JS file and line causes a bug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoISO 8601 timestamp filter. Empty = all.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate readOnlyHint=true, so safety is clear. The description adds value by explaining the capture scope (since browser_open) and detailing all fields in the output. No side effects are mentioned, but the description is adequate given annotations.

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?

The description is concise: 8 lines with a clear summary, bulleted field list, and a closing sentence. Every part earns its place, and it is well-structured for quick parsing.

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

Completeness5/5

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

Given the simple input (one optional parameter) and the existence of an output schema, the description covers purpose, usage scope, and output fields comprehensively. It leaves no significant gaps for the tool's complexity.

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?

Schema coverage is 100% for the single 'since' parameter. The description adds context by stating 'since browser_open', which helps understand the default scope and the parameter's role. This adds meaningful context beyond the schema's description.

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?

The description clearly states it returns JavaScript exceptions captured since browser_open. It specifies the resource and verb, and distinguishes itself from sibling tools by calling itself 'the primary tool for finding which JS file and line causes a bug.'

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 description implies usage for debugging JS errors but does not explicitly state when not to use it or mention alternative tools like devtools_console. It provides context but lacks exclusion criteria.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vitexus/mcp-server-webdriver'

If you have feedback or need assistance with the MCP directory API, please join our Discord server