Skip to main content
Glama
ochen1
by ochen1

list_console_messages

Read-only

Retrieve console messages from the active Chrome page since the last navigation, with optional filters for message types, pagination, and preserved messages across navigations.

Instructions

List all console messages for the currently selected page since the last navigation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageSizeNoMaximum number of messages to return. When omitted, returns all messages.
pageIdxNoPage number to return (0-based). When omitted, returns the first page.
typesNoFilter messages to only return messages of the specified resource types. When omitted or empty, returns all messages.
includePreservedMessagesNoSet to true to return the preserved messages over the last 3 navigations.
Behavior4/5

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

The annotations already indicate readOnlyHint=true. The description adds behavioral context with 'since the last navigation', which clarifies the temporal scope of the messages returned, providing value beyond 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?

A single sentence of 11 words that is front-loaded with the core purpose. No redundant or extraneous information. Extremely concise and efficient.

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?

For a simple list tool with 4 optional parameters, the description covers the main functionality and temporal scope. It does not mention pagination or filtering, but the schema details those. Slight gap in not describing the return format, but acceptable given no output schema.

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 100%, so the baseline is 3. The description does not elaborate on parameters, so it adds no extra meaning beyond what the schema already provides.

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 'List', the resource 'console messages', and the scope 'for the currently selected page since the last navigation'. This distinguishes it from siblings like 'get_console_message' (single message) and 'list_network_requests' (different resource).

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?

The description provides no explicit guidance on when to use this tool versus alternatives like 'get_console_message' or when to use filtering/pagination. It only states the function without contextual usage advice.

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/ochen1/chrome-devtools-mcp-mux'

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