Skip to main content
Glama
funkyfunc

browser-dvr-mcp

by funkyfunc

browser_get_computed_style

Retrieve computed CSS styles for a specific element to verify visual properties like colors, fonts, and dimensions not captured in the accessibility tree.

Instructions

Get the computed CSS styles for a specific element. Use this to verify visual changes like colors, fonts, or dimensions that are not reflected in the accessibility tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameIndexNoOptional frame index to force context (e.g., 0 for main frame, 1 for first iframe, etc.)
propertiesNoOptional list of CSS properties to filter by (e.g., ["color", "font-size"])
backendNodeIdYesThe backend DOM node ID of the target element
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It states it is a read operation ('Get...') but does not disclose any behavioral traits such as whether the element must be visible, the performance impact, or default return format (e.g., returns all styles if no properties filter). This is minimal disclosure.

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 consists of two concise sentences with no filler. It is front-loaded with the core action and immediately follows with usage guidance. Every sentence adds value.

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?

Given no output schema, the description should explain what the tool returns (e.g., an object of computed styles). It does not. Additionally, it does not address prerequisites (e.g., element must be in DOM) or edge cases. The complexity is moderate, but gaps remain.

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?

Input schema has 100% coverage, so baseline is 3. The description does not add any meaning beyond the schema's parameter descriptions. It mentions filtering via 'properties' in the usage hint, but this is already in the schema.

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 clearly states the action ('Get the computed CSS styles') and the resource ('a specific element'). It also distinguishes the tool from siblings by noting it is for visual changes 'not reflected in the accessibility tree', providing precise context.

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 description explicitly guides usage: 'Use this to verify visual changes like colors, fonts, or dimensions that are not reflected in the accessibility tree.' This gives clear context and implicit when-not-to-use, but does not name alternative tools for cases where accessibility tree suffices.

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

Install Server

Other Tools

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/funkyfunc/browser-dvr-mcp'

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