Skip to main content
Glama

firefox-devtools-mcp

list_console_messages

Retrieve browser console messages from the current tab with filtering options for level, time range, content, and source to debug web applications.

Instructions

List console messages for the selected tab since the last navigation. Use filters (level, limit, sinceMs, textContains, source) to focus on recent and relevant logs.

Input Schema

NameRequiredDescriptionDefault
formatNoOutput format: text (default, human-readable) or json (structured data)
levelNoFilter by console message level
limitNoMaximum number of messages to return (default: 50)
sinceMsNoOnly show messages from the last N milliseconds (filters by timestamp)
sourceNoFilter messages by source (e.g., "console-api", "javascript", "network")
textContainsNoFilter messages by text content (case-insensitive substring match)

Input Schema (JSON Schema)

{ "properties": { "format": { "description": "Output format: text (default, human-readable) or json (structured data)", "enum": [ "text", "json" ], "type": "string" }, "level": { "description": "Filter by console message level", "enum": [ "debug", "info", "warn", "error" ], "type": "string" }, "limit": { "description": "Maximum number of messages to return (default: 50)", "type": "number" }, "sinceMs": { "description": "Only show messages from the last N milliseconds (filters by timestamp)", "type": "number" }, "source": { "description": "Filter messages by source (e.g., \"console-api\", \"javascript\", \"network\")", "type": "string" }, "textContains": { "description": "Filter messages by text content (case-insensitive substring match)", "type": "string" } }, "type": "object" }

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/freema/firefox-devtools-mcp'

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