Skip to main content
Glama

profiler_start

Start Firefox performance profiling with a preset or manual sampling settings. Captures CPU and thread activity for in-depth analysis.

Instructions

Start the Firefox profiler. Provide either a preset name or explicit recording options (entries, interval, features, threads). Cannot combine both. Valid presets: web-developer, firefox-platform, graphics, media, ml, networking, power, debug.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
presetNoProfiler preset name. Cannot be combined with entries, interval, features, or threads.
entriesNoNumber of entries to keep in the sampling buffer. Required when no preset is given.
threadsNoThread names to profile. Required when no preset is given.
featuresNoProfiler features to enable. Required when no preset is given.
intervalNoSampling interval in milliseconds. Required when no preset is given.
activeContextNoId of the top-level navigable to mark as the active tab in the profile. Does not restrict profiling to that tab.
Behavior3/5

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

With no annotations, the description must cover behavior. It states the action and constraints but omits side effects (e.g., performance impact), prerequisites (e.g., profiling not already active), and return values. The description is adequate but not comprehensive.

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?

Two concise sentences with no wasted words. The purpose is front-loaded, and the key constraints are immediately conveyed. List of presets is included inline without unnecessary detail.

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?

The description covers the two modes and constraints. Missing details like return values or error conditions, but given no output schema and the tool's conditional parameters, the description is fairly complete. Sibling tool context is not referenced but implied.

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

Parameters4/5

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

Schema coverage is 100%, baseline 3. The description adds value by clarifying mutual exclusivity and that some parameters are conditionally required (e.g., 'Required when no preset is given'), which goes beyond the schema definitions.

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 explicitly states 'Start the Firefox profiler,' which is a specific verb+resource. It distinguishes from sibling tools like profiler_stop and profiler_is_active by its action. The two modes (preset vs explicit options) are clearly delineated.

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?

The description provides clear guidance on the two mutually exclusive modes and lists valid presets. It does not explicitly mention when not to use the tool or suggest alternatives, but the context is sufficient given the sibling tool names.

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/mozilla/firefox-devtools-mcp'

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