Skip to main content
Glama

webtool_coverage_analysis

Analyzes JavaScript and CSS coverage on webpages to identify unused code and optimization opportunities using Chrome DevTools Protocol.

Instructions

Analyze JavaScript and CSS coverage to identify unused code and optimization opportunities. Uses Chrome DevTools Protocol Coverage API to provide detailed insights into code usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesThe URL of the webpage to analyze
timeoutMsNoTimeout in milliseconds for the analysis
waitAfterLoadMsNoAdditional time to wait after page load to capture more interactions
includeThirdPartyNoWhether to include third-party scripts and stylesheets in the analysis
useProxyNoWhether to use a proxy for this request
ignoreSSLErrorsNoWhether to ignore SSL certificate errors (use with caution)
disableCacheNoWhether to disable browser cache for the analysis
networkConditionNameNoPredefined network condition to emulate (e.g., 'Slow 3G', 'Fast 3G', '4G', 'WiFi', 'Fiber')
networkConditionNoCustom network condition configuration
deviceNameNoPredefined device to emulate (e.g., 'Pixel 7', 'iPhone 14')
deviceConfigNoCustom device configuration for emulation
Behavior2/5

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

With no annotations provided, the description carries full responsibility for behavioral disclosure. While it indicates an analysis (likely read-only), it does not state whether any modifications occur, if authentication is needed, or what side effects (e.g., cache clearing) happen. The assertion 'provides detailed insights' is vague about the nature of the output.

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 two sentences, front-loading the core purpose and underlying technology. No redundant information; every word serves a purpose.

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?

Despite 11 parameters including nested objects and no output schema, the description is extremely brief. It does not explain what the output looks like, how results are structured, or how to interpret the 'detailed insights.' This is insufficient for a complex tool with many configuration options.

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 the schema fully documents all parameters. The description adds no additional meaning beyond the schema, which is acceptable for a high-coverage case. No augmentation of parameter understanding is provided.

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 that the tool analyzes JavaScript and CSS coverage to identify unused code and optimization opportunities, using the Chrome DevTools Protocol Coverage API. This is a specific verb and resource, and it distinguishes this tool from sibling tools (e.g., performance_test, web_vitals) which focus on different aspects.

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

Usage Guidelines3/5

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

The description mentions using the Coverage API but does not explicitly state when to use this tool versus alternatives like performance_test or web_vitals. It lacks guidance on prerequisites or when not to use it, leaving the agent to infer context from the tool name.

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/misterboe/webtools-mcp-server'

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