Skip to main content
Glama

profiler.trace.start

Start a Chromium trace to capture browser performance, JavaScript, or rendering activity using presets such as web-performance, minimal, and rendering. Keep traces short.

Instructions

Start a Chromium trace. Presets: web-performance, minimal, javascript, rendering. Keep traces short.

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": "profiler.trace.start"
  }
}

Input Schema

NameRequiredDescriptionDefault
presetNo
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.
categoriesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and openWorldHint=true, so the agent knows this starts something stateful and external. The description adds the warning to keep traces short (implying overhead), but never says a trace must be paired with profiler.trace.stop, what happens if one is already running, or where the trace lands.

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?

Three short sentences, front-loaded with the action, then the preset options, then the operational warning. No filler and nothing buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema and zero required parameters, the description covers how to start a trace but omits the lifecycle context an agent needs: that stopping is a separate call, and what the resulting artifact is. Adequate but with clear gaps for a stateful, paired tool.

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 33%; browser_id is documented in the schema itself, while preset has no schema description and the description compensates by enumerating the four valid preset values. The categories parameter remains undocumented in both places, so the compensation is partial.

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?

'Start a Chromium trace' gives a specific verb and resource, and the preset list scopes what kind of trace. It is distinguishable from profiler.trace.stop and profiler.trace.long_tasks, though it does not say how it differs from profiler.cpu.start or profiler.coverage.start.

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?

'Keep traces short' is a usage constraint, and the named presets imply a choice the agent must make, but there is no explicit statement of when to trace versus using CPU profiling or coverage, and no prerequisite or exclusion guidance.

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