Skip to main content
Glama

console_clear

Clear recorded console logs for a tab to remove clutter and start fresh debugging. Provide target ID to wipe its console history.

Instructions

Clear recorded console logs for a tab.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetIdYesTarget ID of the tab

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral disclosure burden. It explicitly states that recorded console logs are cleared, which is a destructive action, and identifies what is affected. However, it does not clarify whether the clear is irreversible, whether it affects ongoing recording, or what happens if no logs are recorded.

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?

The description is a single, direct sentence with no filler. Every word contributes to conveying the action and scope, and it is appropriately front-loaded.

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

Completeness4/5

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

For a simple one-parameter tool with no output schema, the description is largely sufficient: it names the action, the affected resource, and the tab scope. Minor gaps such as precondition guidance or effect on active recording keep it from being fully complete.

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

Parameters3/5

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

Schema description coverage is 100%, and the parameter 'targetId' is already documented as 'Target ID of the tab'. The description adds no additional meaning beyond the schema, so the baseline score of 3 applies.

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

Purpose5/5

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

The description uses a specific verb ('Clear') and a precise object ('recorded console logs for a tab'), making the tool's purpose unambiguous. It is clearly distinct from sibling tools like console_get_logs, console_start, and console_stop, which concern retrieving or managing recording rather than clearing.

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?

The description states what the tool does but provides no guidance on when to use it versus alternatives, such as whether to pair it with console_start/stop or how it relates to console_get_logs. No exclusions or preconditions are mentioned, leaving the agent to infer usage context.

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