Skip to main content
Glama

get_console_logs

Retrieve browser console logs from Chrome, including errors, warnings, and info messages, to debug web applications during automated tests.

Instructions

Return browser console logs (errors, warnings, info). Chrome only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
levelNoALL
Behavior3/5

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

No annotations are provided, so the description must disclose behavioral traits. It states that logs are returned from the browser console and are Chrome-specific. It does not mention side effects (likely none) or scope (current page or entire session), but for a simple read operation, the information is adequate.

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 a single sentence of 9 words, efficiently conveying the key action and constraints. It front-loads the main purpose ('Return browser console logs') and then adds specifics. No wasted words.

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?

For a simple tool with one optional parameter and no output schema, the description captures the core behavior. However, it omits detail about the scope of logs (current page vs. session) and doesn't describe how the level parameter works, which would improve completeness.

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

Parameters1/5

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

The description does not mention the only parameter 'level', which filters by log severity. With 0% schema description coverage, the description should compensate but fails to do so. The parameter is simple, but the lack of any mention means zero added value beyond the schema enum itself.

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 the verb (return), resource (browser console logs), and specifies the types of logs (errors, warnings, info) and a browser restriction (Chrome only). This distinguishes it from similar sibling tools like get_network_logs.

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 explicitly mentions 'Chrome only' as a usage constraint, which is helpful. However, it does not provide guidance on when to use this tool versus alternatives like get_network_logs or get_session_log, nor does it clarify the context (e.g., current page logs).

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/seleniumboot/selenium-mcp'

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