Skip to main content
Glama

Console messages

browser_console
Read-only

Retrieve deduplicated browser console messages; use sinceSeq to fetch only new messages since a prior call.

Instructions

Console messages (deduplicated, ×N = repeats). Use sinceSeq from a previous call to get only new messages.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "browser_console"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
typesNo
pageIdNo
sessionNo
sinceSeqNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description usefully adds non-obvious behavior — messages are deduplicated and repeat counts appear as ×N — but says nothing about buffer lifetime, whether the log spans navigations, or the effect of the limit parameter. Useful incremental disclosure, still with real gaps.

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?

Two short sentences with no filler; the output-format note and the incremental-fetch tip are both front-loaded and each earns its place.

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?

With no output schema the description must explain returns, and it only partially does (dedup/×N notation, but no message shape, ordering, or truncation behavior). Combined with four undocumented parameters, an agent can call the tool but cannot confidently tune limit, types, pageId, or session.

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?

Schema description coverage is 0% across five parameters, so the description must carry the load, yet it explains only sinceSeq (incremental fetch). The meaning of limit, types (including the enum values), pageId, and session — and how the latter two interact for multi-tab/multi-session selection — is left entirely undocumented.

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 names the resource ('Console messages') and characterizes the payload format (deduplicated with ×N repeat counts), so an agent knows this returns browser console output rather than network or error data. It does not differentiate itself from the sibling browser_errors, leaving the boundary between console capture and error capture unstated.

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?

There is one concrete usage instruction: pass sinceSeq from a previous call to fetch only new messages, which implies a polling workflow. However, there is no guidance on when to prefer this over browser_errors or browser_network_requests, and no mention of when the buffer is reset or when a full re-read is warranted.

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