Skip to main content
Glama
babelcloud
by babelcloud

browser_console_messages

Retrieve browser console messages filtered by minimum severity level (error, warning, info, debug).

Instructions

Returns console messages captured from the page. Each level includes more severe levels (error < warning < info < debug).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelYesMinimum level to include (e.g., 'error' returns only errors, 'info' returns errors + warnings + info)
Behavior3/5

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

Describes level inclusion behavior but does not disclose whether console is cleared, if messages are cumulative, or any side effects. No annotations to compensate.

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 concise sentences, front-loaded with action and then detail. No wasted words.

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?

Simple tool with one parameter; description covers purpose and parameter behavior. Could mention if messages are ongoing or from page start, but adequate.

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 already had description of `level`; tool description adds clarity about inclusive severity ordering, enhancing understanding.

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?

Clearly states it returns console messages with level filtering. Distinct from sibling tools which are for page interaction, not console retrieval.

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?

Implicitly for retrieving console logs, but lacks explicit guidance on when to use vs. alternatives or when not to use.

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/babelcloud/playwriter-browser-mcp'

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