Skip to main content
Glama

browser_perf

Measure a page's load performance—TTFB, LCP, CLS, requests, transfer, DOM nodes, and JS heap—to find what slows it down. Pass the tab handle so each agent reads its own page.

Instructions

How the current page performed: ttfb, DOMContentLoaded, load, LCP, CLS, requests, transfer, DOM nodes, JS heap. tab: the handle browser_new_tab returned ("t3"). Pass it on every call: several agents can share this server, and the tab is how each one keeps to its own page.

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": "browser_perf"
  }
}

Input Schema

NameRequiredDescriptionDefault
tabNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does signal a non-mutating metric read by listing the values returned, and it explains the multi-agent tab isolation model, which is real behavioral context. However, it never addresses when metrics may be absent or zero (page still loading), whether values reset on navigation, or units for transfer/heap.

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 tight segments — metric inventory first, then the tab contract — with no filler. The example value and the reason for the handle are both load-bearing rather than decorative.

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 single optional-parameter, read-only tool with no output schema, the description adequately covers what comes back and how to scope the call to the right tab. It stops short of noting metric availability timing or fallback behavior when `tab` is null.

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 0%, so the description must compensate, and it does: it explains that `tab` is the handle returned by browser_new_tab, gives a concrete example value ("t3"), and states it must be passed on every call because agents share the server. Only the null/default behavior for omitting it is unaddressed.

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?

The description names the resource (current page performance) and enumerates the exact metrics returned (ttfb, DOMContentLoaded, load, LCP, CLS, requests, transfer, DOM nodes, JS heap), which clearly separates it from siblings like browser_network_log or browser_page_info. It lacks an explicit verb, so the read-only 'fetch metrics' framing is implied rather than stated.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus alternatives such as browser_network_log or browser_page_info, nor any prerequisite about needing a loaded page. The only 'how to use' content concerns passing the tab handle, which is invocation mechanics rather than tool selection.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.