Skip to main content
Glama

get_console_messages

Destructive

Retrieve captured console messages and exceptions from a browser tab. Use clear to empty the buffer after reading, or filter to show only page logs while excluding extension noise.

Instructions

Read a page of captured console messages and exceptions from a real-browser tab. Set clear=true to clear the full buffer after reading; only the capture's originating MCP session may clear it, otherwise capture_busy is returned. Non-clearing reads are shared. Set filter='user' to exclude extension service-worker / content-script logs and keep only the page's own main-world console output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clearNo
filterNo
offsetNo
timeoutNo
max_itemsNo
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

Annotations already mark this as potentially destructive, and the description adds crucial nuance: only clear=true clears the buffer, only the originating session may do so, other sessions get capture_busy, and non-clearing reads are shared. It also explains the exact effect of filter='user'. This is strong behavioral disclosure beyond the 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?

Three focused sentences: the first states the core purpose, and the next two add essential behavioral and filtering details. There is no filler, redundancy, or wasted structure, and the most important information is front-loaded.

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?

The description covers the core operation, destructive-session semantics, sharing behavior, and filtering. An output schema exists, so return-shape documentation is unnecessary. However, because six parameters exist with zero schema coverage, leaving offset/timeout/max_items/session_id unexplained prevents the description from being fully complete.

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

Parameters2/5

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

With 0% schema description coverage, the description must compensate, but it only explains clear and filter. offset, timeout, max_items, and session_id are left entirely to inference from their names and defaults, and session_id in particular is ambiguous without explanation.

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 states a specific verb ('Read'), a specific resource ('captured console messages and exceptions from a real-browser tab'), and clarifies the pagination concept ('a page'). This makes its role clear and distinguishes it from console-capture start/stop siblings and from execute_js.

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 text strongly implies this tool is used after a console capture has been created by mentioning 'capture's originating MCP session', but it never explicitly says 'use after console_capture_start' or identifies situations where an alternative should be chosen. Parameter-level guidance is provided, but tool-selection guidance is only implicit.

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