Skip to main content
Glama
otaviosenne

chrome-agent-mcp

by otaviosenne

devtools_elements

Inspect DOM elements and computed CSS styles for a tab, replicating the DevTools Elements panel to debug layout and styling issues.

Instructions

Inspect DOM elements and computed CSS styles for a tab. Equivalent to the DevTools Elements panel.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tabIdNoTarget tab ID (from browser_tabs list). Uses active tab if omitted.
agentIdNoAgent identifier for parallel execution. Pass a unique ID (e.g. 'C1', 'J2') — the server automatically routes calls to this agent's dedicated tab (registered via browser_tabs action=new).
selectorYesCSS selector of the element to inspect
includeStylesNoInclude computed CSS styles (default: false)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are present, so the description carries the transparency burden. 'Inspect' and the Elements panel analogy accurately convey a read-only operation, but the description does not disclose that computed styles are only included when 'includeStyles' is true, nor does it describe output or error behavior. This is adequate but leaves some gaps.

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, compact sentence that front-loads the core action and resource, then adds a powerful clarifying analogy. There is no redundancy or filler.

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?

Given fully documented parameters and the useful DevTools Elements analogy, an agent has enough context to select and invoke the tool correctly in most cases. It could be more complete by noting the conditional nature of styles or outlining the response shape, but these are minor given the strong analogy and complete schema.

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 coverage is 100%, so every parameter is already documented in the input schema. The description adds no extra parameter-level meaning beyond what the schema provides, so the baseline score of 3 is appropriate.

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 states a specific verb ('Inspect') and a specific resource ('DOM elements and computed CSS styles for a tab'), and 'Equivalent to the DevTools Elements panel' gives a clear mental model. This distinguishes it from sibling tools like devtools_console, devtools_network, and browser_snapshot without needing to inspect their schemas.

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

Usage Guidelines4/5

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

The DevTools Elements panel analogy provides clear, actionable context for when this tool is the right choice. It does not explicitly name alternatives or state when not to use it, but the equivalence is strong enough to imply the intended usage context.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/otaviosenne/chrome-agent-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server