Skip to main content
Glama

console_logs

Retrieves browser console output with optional limit and clear controls, helping debug page errors and warnings during automation.

Instructions

Console log

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clearNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.3.0

TDQS

D1.3/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden, yet it discloses nothing: not whether logs are retrieved or flushed, whether retrieval is destructive, how many entries are returned, or whether a page context is required. Nothing beyond the two-word fragment is available.

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

Conciseness2/5

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

Two words is not conciseness but under-specification; there is no front-loaded verb or scope statement to anchor the agent. Nothing useful is communicated in the space used.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A two-parameter tool with no annotations, no output schema, and no parameter documentation leaves the agent unable to call it correctly or anticipate its return value. The definition is wholly inadequate for the tool's complexity.

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

Parameters1/5

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

Schema description coverage is 0% for both parameters. The description does not explain that 'clear' likely empties the log buffer or that 'limit' caps returned entries, so the agent must guess at semantics and destructive side effects from bare property names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Console log" merely restates the tool name and never states a verb or what is actually done with the console log (retrieve? clear? stream?). It gives no basis for distinguishing it from siblings like get_text, snapshot, or eval.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines1/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no indication of when to call this tool, what preconditions exist, or which sibling it replaces. With dozens of observation-oriented siblings (get, get_text, snapshot, health_check), the agent has no routing information at all.

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