Skip to main content
Glama

profile_page_performance

Analyze page performance by recording execution traces, calculating Core Web Vitals, and identifying long tasks to detect bottlenecks and optimize loading times.

Instructions

Records a performance trace of page execution, calculating Core Web Vitals (FCP, LCP, DCL, Load) and identifying Long Tasks (>50ms blocking). Side effects: may temporarily disable cache; impacts page memory/CPU. Prerequisites: requires an active Chrome tab; trace recording uses background bandwidth. Returns: JSON with vitals, blocking time, and top 5 long tasks. Use this to optimize performance, identify bottlenecks, measure cold starts. Alternatives: browser DevTools Performance tab, real user monitoring (RUM).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNoAction to trigger during tracing. Constraints: 'none' or 'reload'. Interactions: 'reload' restarts page recording from initial load (useful with disable_cache=true). Defaults to: "none".
disable_cacheNoDisable network cache during trace. Constraints: boolean. Interactions: when true with action='reload', simulates cold start; cache restored after profiling. Defaults to: false.
duration_msNoRecording duration in milliseconds. Constraints: integer between 500 and 15000. Interactions: longer duration captures more data; use 3000-5000 for typical pages. Defaults to: 3000.
Behavior5/5

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

With no annotations provided, the description carries the full burden and excels by disclosing multiple behavioral traits: side effects ('may temporarily disable cache; impacts page memory/CPU'), prerequisites ('requires an active Chrome tab; trace recording uses background bandwidth'), and return format ('JSON with vitals, blocking time, and top 5 long tasks'). This provides comprehensive behavioral context beyond basic functionality.

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?

The description is well-structured and appropriately sized, with key information front-loaded (purpose, side effects, prerequisites) followed by usage guidance. Every sentence adds value, though it could be slightly more concise by combining some clauses about prerequisites and side effects.

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?

For a tool with no annotations and no output schema, the description provides excellent context about behavior, side effects, prerequisites, and return format. It covers what the tool does, when to use it, what to expect, and what alternatives exist. The only minor gap is not explicitly mentioning that all parameters are optional (though this is clear from the schema).

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 schema description coverage is 100%, providing detailed documentation for all three parameters. The description doesn't add any parameter-specific information beyond what's already in the schema, so it meets the baseline expectation without adding extra value. No parameters are mentioned in the description text itself.

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 clearly states the tool's purpose with specific verbs ('Records a performance trace', 'calculating Core Web Vitals', 'identifying Long Tasks') and distinguishes it from siblings by focusing on performance profiling rather than DOM manipulation, network monitoring, or other browser operations listed among sibling tools.

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

Usage Guidelines5/5

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

The description explicitly states when to use this tool ('Use this to optimize performance, identify bottlenecks, measure cold starts') and provides clear alternatives ('browser DevTools Performance tab, real user monitoring (RUM)'), giving the agent specific guidance on appropriate contexts and available options.

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/raultov/chrome-debug-mcp'

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