Skip to main content
Glama

get_console_logs

Fetch browser console logs to troubleshoot issues, with configurable limits and filtering by level such as error or info.

Instructions

Get console log messages from the browser.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax messages to return (most recent)
filter_levelNoFilter: "all", "error", "warning", "info", "debug", "log"all
connection_idNoChrome connection to use
Behavior2/5

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

No annotations are provided, so the description carries full responsibility for behavioral disclosure. It does not mention whether logs are cleared, how filtering works by default, ordering (most recent), or side effects. This is a significant gap for a tool that interacts with browser state.

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 concise sentence with no redundant wording. It is front-loaded and each word contributes to the core purpose.

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?

Given the lack of an output schema and annotations, the description is insufficiently complete. It does not explain the return format, the role of connection_id, or any prerequisites like an active browser connection, making it inadequate for a tool in a complex browser automation context.

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?

All three parameters have schema descriptions, achieving 100% coverage. The tool description itself adds no further meaning about parameter interactions or usage, so the baseline score of 3 is appropriate.

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 clearly states the tool retrieves console log messages from the browser, using a specific verb and resource. However, it does not explicitly distinguish it from sibling tools like get_network_requests, which also retrieve browser data.

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

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus alternatives, such as network request retrieval or DOM inspection. The description provides no context about prerequisites, connection requirements, or selection 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/brandon-fryslie/electric-cherry'

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