Skip to main content
Glama

browser_console

Retrieve console messages and page errors captured since the browser opened, filtered by level or limited in count, to help you debug web pages and diagnose runtime issues.

Instructions

Ambil pesan console dan error halaman yang tertangkap sejak browser dibuka.

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
levelNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the important behavioral trait that results are bounded to entries captured since the browser was opened (cumulative buffer, not a live tail or a single request). It does not say whether retrieval clears the buffer, how results are ordered, or what a return entry looks like, which matters because there is no output schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the verb and resource, with the scope qualifier attached – no filler. Its brevity is a virtue here, though the sentence is doing too little work for a tool with two undocumented parameters.

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?

For a two-parameter read tool with no annotations and no output schema, the minimum an agent needs is what comes back and in what form; the description states the source and time window but not the shape or ordering of results. The core selection decision is answerable, so it is not inadequate, but the parameter and return gaps leave it thin.

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%, so the description must explain both parameters, and it explains neither: 'level' (an enum filter) and 'limit' (result cap) are never mentioned. The phrase 'pesan console dan error' loosely hints that severity filtering exists, and the enum values are partly self-describing, but no real meaning is added beyond the schema.

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 gives a specific verb+resource ('ambil pesan console dan error halaman') plus a temporal scope ('sejak browser dibuka'), which makes it distinguishable from siblings such as browser_evaluate or browser_snapshot. It never names a sibling or states a boundary, but the resource is unambiguous.

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 explicit when-to-use guidance, no when-not-to-use, and no pointer to an alternative diagnostic tool (e.g., browser_evaluate or browser_snapshot). An agent must infer that this is the debugging/log-inspection tool from the resource name alone.

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