Skip to main content
Glama

console_logs

Retrieve browser console messages and exceptions for a target tab, with optional level filtering, limits, and clearing.

Instructions

Consola y excepciones desde que la pestaña fue adjuntada.

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": "console_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
clearNo
limitNo
tabIdNoPestaña objetivo. Por defecto la pestaña actual del agente.
levelsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does add one real behavioral fact — that output only covers the period since the tab was attached, so earlier logs are unavailable — but it says nothing about return format, volume, or the effect of the 'clear' parameter, which plausibly destroys collected logs.

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?

A single tight sentence with the scope front-loaded and no filler. It is efficient, though the compression comes at the cost of the parameter and behavior detail the tool actually needs.

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?

For a four-parameter tool with no annotations, no output schema, and 25% schema coverage, this is too thin. An agent cannot tell what the return payload looks like, how 'levels' filters, or what 'clear' does, all of which matter for correct invocation.

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 only 25% (only tabId is documented), so the description must compensate for the other three parameters and does not. 'limit', 'levels', and especially the boolean 'clear' are left entirely unexplained, forcing the agent to guess whether clear resets the buffer before or after retrieval.

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 precisely ('Consola y excepciones' – console output and exceptions) and its temporal scope ('desde que la pestaña fue adjuntada'), so an agent knows what it retrieves. It does not distinguish itself from logging-adjacent siblings such as cdp_events or network_capture, which is why it falls short of a 5.

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 when-to-use guidance, no mention of alternatives, and no prerequisites or exclusions. The only usage-relevant signal is the implicit time window, which is inferred rather than stated as a selection criterion.

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