Skip to main content
Glama

console

Retrieve console messages and page errors since the last navigation to diagnose web page issues. Optionally choose a tab or clear logs before capturing new output.

Instructions

Console messages and page errors since the last navigation.

Input Schema

NameRequiredDescriptionDefault
tabNotab id, defaults to current
clearNo
request_timeoutNoOuter page request deadline in milliseconds; defaults to at least 30000

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It helpfully discloses that results are scoped to since the last navigation, but it omits whether reading clears the log, what the clear parameter does, default tab behavior, and any timeout implications.

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?

The description is a single front-loaded sentence with no wasted words. It is efficient, though extremely terse given the tool's three parameters and lack of annotations.

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 three-parameter tool with no annotations and no output schema, the description is too sparse. It does not explain the clear parameter's effect, the default tab, or timeout behavior, leaving key invocation details undocumented.

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 coverage is 67%, and the description adds no parameter meaning at all. The clear parameter has no schema description and no explanation in the tool description, leaving a significant gap that the description does not compensate for.

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 specific resource (console messages and page errors) and adds a temporal scope (since the last navigation), which distinguishes it from siblings like network and dialog. The retrieval verb is implicit rather than stated, but an agent can still identify the tool's purpose.

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 guidance on when to use this tool versus alternatives such as network or dialog. The implied use for debugging is present, but no conditions, exclusions, or alternatives are mentioned.

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