Skip to main content
Glama

console_errors

Lists console errors and warnings for a given browser session, ordered most-recent-last, including the first line of each stack trace when available.

Instructions

List console errors and warnings for a session, most-recent-last, including the first line of the stack trace when present.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sessionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses ordering and stack-trace behavior beyond the surface meaning of the name. However, it does not mention whether the operation has side effects, how session selection behaves when sessionId is omitted, or the shape of the returned data.

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?

A single, tightly packed sentence front-loads the primary action and scope, then adds two specific behavioral details. Every clause earns its place and there is no redundant phrasing.

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

Completeness3/5

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

This is a simple one-parameter list tool, so the description is mostly sufficient, but it leaves a few gaps: the sessionId parameter is not explicitly mapped, and with no output schema, the structure of the returned error/warning list is not described. The ordering and stack-trace inclusion help, but the definition could be stronger with a sentence about session selection and return format.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but there is only one parameter with a highly self-descriptive name, 'sessionId'. The phrase 'for a session' loosely connects to that parameter, but the description does not explicitly state that sessionId identifies the target session or that it is optional.

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 uses a specific verb ('List') with a clear resource ('console errors and warnings') for an identified scope ('a session'). It adds precise behavioral details — ordering ('most-recent-last') and inclusion of the first stack-trace line — that distinguish it from the sibling console_list by narrowing to errors/warnings only.

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 when to use the tool (when you need console errors or warnings for a session) but does not explicitly contrast it with alternatives such as console_list or net_failures. There is no exclusion guidance or conditional routing, so the usage context is clear but implied rather than stated.

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