Skip to main content
Glama

chrome_web_content_interactions

Rank web content interactions by duration in a Chrome trace to find slow user input handlers. Sorted descending, limit 100.

Instructions

Rank web content interactions in a Chrome trace by duration: id, ts, dur_ms, interaction_type, renderer_upid. Sorted by dur_ms DESC, limit 100. Read-only.

Use when: INP (Interaction to Next Paint) analysis, reproducing user-felt latency, finding slow click/tap/keyboard handlers.

Don't use for: non-Chrome traces (will error). For interactions outside the top 100 or filtered by interaction_type, drop to execute_sql against chrome.web_content_interactions.

Parameters: none — operates on the loaded trace.

Empty result: no interactions captured (trace started before user input or interaction tracking was disabled in tracing config).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Declares read-only behavior, describes error condition for non-Chrome traces, explains empty result scenarios, and clarifies it operates on the loaded trace. No annotations present, so description fully covers transparency.

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?

Description is brief yet comprehensive, with three clear sections: output definition, usage guidance, and parameter/result explanation. No redundant sentences.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Considering zero parameters and no output schema, the description covers output fields, limits, usage conditions, and empty result meaning. It is fully adequate for an agent to invoke correctly.

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?

Input schema has zero parameters; description states 'Parameters: none — operates on the loaded trace,' which adds value beyond the schema. Baseline for 0 params is 4, and this meets that.

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 ranks web content interactions by duration, listing output fields and sorting order. It distinguishes from siblings by specifying a unique focus on INP analysis.

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?

Explicitly provides use cases (INP analysis, latency reproduction) and when not to use it (non-Chrome traces, beyond top 100). Also gives an alternative tool (execute_sql) for filtered or larger results.

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/tooluse-labs/perfetto-mcp-rs'

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