Skip to main content
Glama

profiler.trace.stop

Stop tracing and save the captured browser trace as an artifact via streaming, avoiding loading it into memory.

Instructions

Stop tracing and stream the result to an artifact, without loading it into memory.

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.stop"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations only declare readOnlyHint=false and openWorldHint=true. The description adds meaningful behavioral context by stating that the result is streamed to an artifact rather than loaded into memory, which is a nontrivial operational trait for a mutation-like stop action.

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 a single front-loaded sentence with no filler, and the key behavioral constraint about memory and artifact streaming is delivered immediately.

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 relatively simple stop tool, the definition covers the core action and output handling. It still leaves gaps around required trace state, save_path semantics, and what happens if no trace is active, which matters because there is no output schema to supply that context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 50%: browser_id is already documented in the schema, while save_path has no schema description. The description mentions streaming to an artifact but does not clarify what save_path means, whether it is a filesystem path or artifact identifier, or how it interacts with the artifact output.

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 uses a specific verb and resource ('Stop tracing') and adds the distinctive behavior 'stream the result to an artifact, without loading it into memory,' which clearly distinguishes it from profiler.trace.start and the other profiler stop siblings.

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: an agent can infer this should be called to end a trace session and that it avoids loading trace data into memory. However, the description does not explicitly state prerequisites (e.g., an active trace must exist) or contrast this stop tool with profiler.coverage.stop, profiler.cpu.stop, or profile.stop.

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