Skip to main content
Glama
Chrome DevTools Debug MCP Server

Chrome DevTools Debug MCP Server

by m4eba

get_log_entries

Retrieve collected browser log entries filtered by level, source, or target to diagnose JavaScript, network, and security issues during DevTools debugging.

Instructions

Get collected browser log entries.

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

Input Schema

NameRequiredDescriptionDefault
levelNoFilter by log level
limitNoMaximum number of entries to return
sourceNoFilter by source (javascript, network, security, etc.)
targetIdNoFilter by originating target (page / worker / service worker). See list_attached_sessions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.1

TDQS

C2.9/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, yet the word 'collected' is the only hint that logs must first be gathered (there are log_enable/log_disable siblings) — and it is never made explicit. Nothing is said about ordering, pagination of results despite a 'limit' param, or the shape of returned entries, which is significant given 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?

A single short sentence with the resource front-loaded and no filler. It is efficient, though its terseness borders on under-specification rather than well-edited concision.

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 and no output schema, the description is too thin: it omits the enable/collect precondition, result ordering, and what an entry looks like. Only the schema's high coverage keeps this from being lower.

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%, so level, limit, source, and targetId are already fully documented in the schema, including the enum values and the pointer to list_attached_sessions. The description adds no filtering semantics beyond that, so the baseline 3 applies.

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?

States a specific verb+resource ('Get ... browser log entries') so the agent knows exactly what is returned. It does not distinguish itself from siblings such as get_console_messages or clear_log, leaving the agent to infer the boundary from names alone.

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 prerequisites, and no named alternative. The agent gets no signal about when log entries are preferable to console messages, or that retrieval may depend on logging being enabled first.

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

Deploy Server

Other Tools