Skip to main content
Glama
ochen1
by ochen1

performance_start_trace

Initiate a performance trace to identify frontend issues, measure Core Web Vitals (LCP, INP, CLS), and analyze page load speed for optimization.

Instructions

Start a performance trace on the selected webpage. Use to find frontend performance issues, Core Web Vitals (LCP, INP, CLS), and improve page load speed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reloadNoDetermines if, once tracing has started, the current selected page should be automatically reloaded. Navigate the page to the right URL using the navigate_page tool BEFORE starting the trace if reload or autoStop is set to true.
autoStopNoDetermines if the trace recording should be automatically stopped.
filePathNoThe absolute file path, or a file path relative to the current working directory, to save the raw trace data. For example, trace.json.gz (compressed) or trace.json (uncompressed).
Behavior4/5

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

The annotations indicate readOnlyHint=false, which aligns with the description's 'Start' action implying a write operation. The description adds valuable behavioral context beyond annotations by specifying the tool's purpose (finding performance issues, Core Web Vitals) and expected outcomes (improving page load speed), though it doesn't detail side effects like resource consumption or trace duration limits.

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 front-loaded with the core purpose in the first sentence and uses a second sentence to clarify usage context. Both sentences are essential, with zero wasted words, making it highly efficient and well-structured.

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 the tool's moderate complexity (performance tracing with three parameters) and lack of output schema, the description provides sufficient context on what the tool does and when to use it. However, it doesn't explain what the trace output contains or how to interpret it, leaving some gaps for an agent without output 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?

With 100% schema description coverage, the input schema fully documents all three parameters. The description adds no parameter-specific information beyond what the schema provides, so it meets the baseline of 3 for adequate but not enhanced parameter semantics.

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 specific action ('Start a performance trace') on a specific resource ('selected webpage') and distinguishes its purpose from sibling tools like 'performance_analyze_insight' and 'performance_stop_trace' by focusing on initiating trace collection rather than analysis or stopping.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool ('Use to find frontend performance issues, Core Web Vitals... and improve page load speed') and the input schema provides critical guidance on when to use alternatives ('Navigate the page to the right URL using the navigate_page tool BEFORE starting the trace if reload or autoStop is set to true'), clearly differentiating from 'navigate_page'.

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/ochen1/chrome-devtools-mcp-mux'

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