Skip to main content
Glama

browser_trace_stop

Stops an active performance trace, optionally saves the raw trace file, and returns analyzed performance insights for the target session.

Instructions

Stop an active performance trace in the target session, optionally save the raw trace file, and return analyzed performance insights.

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": "browser_trace_stop"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathNoOptional path to save the raw Chrome DevTools trace (.json or .json.gz).
sessionIdNoOptional target browser session ID. If omitted, uses the currently active session (or auto-launches one).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does disclose that stopping also yields analyzed insights and can write a raw file, which is useful behavior beyond the name. It does not say what happens if no trace is active, whether the trace is discarded after stopping, or whether the save path is created or overwritten — meaningful gaps for a state-changing operation.

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?

A single front-loaded sentence listing the operation, its optional side effect, and its return value; no filler or redundancy.

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?

For a two-optional-parameter tool with no output schema, the description usefully names the return value (analyzed performance insights). However it omits failure/precondition behavior for a trace-stopping operation and does not mention whether saved files affect the returned insights, leaving a moderate gap.

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 both parameters (filePath, sessionId) are already fully documented in the schema, including the default-session fallback and accepted file extensions. The description only restates the optional-save behavior, adding no format or constraint detail beyond the schema.

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?

States a specific verb and resource (stop an active performance trace) plus its two side effects: optionally persisting the raw trace file and returning analyzed insights. It is clearly distinguishable from browser_trace_start by the verb, but it does not contrast itself with browser_trace_insight, which also concerns trace analysis.

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?

Usage is implied rather than stated: 'stop an active performance trace' signals it is the counterpart to browser_trace_start, but there is no explicit prerequisite (start a trace first) and no guidance on when to prefer browser_trace_insight or browser_performance_metrics over this tool.

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