Skip to main content
Glama

profile.start

Start preset-driven browser profiling to record CPU, slow-page, hang, memory-leak, or full activity; reproduce the issue, then stop recording to analyze it.

Instructions

Preset-driven profiling. One call arms every recorder that matters: cpu, slow-page, hang, memory-leak, full. Reproduce the problem, then call profile.stop.

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

Input Schema

NameRequiredDescriptionDefault
presetNo
target_idNoTarget handle (tgt_*). Omit for the active page.
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.6/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true; the description usefully adds that this is a multi-recorder session that must be closed via profile.stop. It omits operational behavior an agent would want: overhead cost, whether starting while a profile is active fails or replaces it, and whether the profile is persisted.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the core action and ending with the required follow-up call. Minimal waste, though 'every recorder that matters' is slightly promotional rather than informative.

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 tool with no output schema and all-optional parameters, the lifecycle (start → reproduce → stop) is covered, but edge cases like an already-running profile, default preset behavior, and where results land are unaddressed.

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?

The description restates the preset values already enumerated in the schema but does not explain what each preset actually captures or when to pick one over another. target_id and browser_id are already documented in the schema, so with 67% coverage the description adds little beyond structured data.

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 action on a specific resource ('Preset-driven profiling') and enumerates the recorders armed (cpu, slow-page, hang, memory-leak, full), which implicitly separates it from narrower siblings like profiler.cpu.start or profiler.trace.start. It stops short of explicitly naming those alternatives.

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

Usage Guidelines4/5

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

Gives a clear workflow: start here, reproduce the problem, then call profile.stop. However it never states when to prefer the granular profiler.* tools over this combined preset call, so the selection guidance is incomplete.

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