Skip to main content
Glama
Chrome Testing MCP Server

Chrome Testing MCP Server

by prabhubng

Get Performance Metrics

chrome_get_performance
Read-onlyIdempotent

Collects Core Web Vitals and other page performance metrics, including FCP, LCP, CLS, load timings, JS heap, DOM nodes, and resource timing, with threshold comparisons.

Instructions

Get detailed performance metrics for the current page.

Collects Core Web Vitals and other performance data:

  • First Contentful Paint (FCP)

  • Largest Contentful Paint (LCP)

  • Cumulative Layout Shift (CLS)

  • DOM Content Loaded

  • Page Load Complete

  • JS Heap Usage

  • DOM Node Count

  • Resource Timing

Args:

  • includeResourceTiming (boolean): Include resource-level timing (default: true)

  • response_format ('markdown'|'json'): Output format (default: markdown)

Returns: Performance metrics with threshold comparisons.

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

Input Schema

NameRequiredDescriptionDefault
response_formatNoOutput format: markdown or jsonmarkdown
includeResourceTimingNoInclude resource timing data (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare readOnlyHint, idempotentHint, closed-world, and non-destructive behavior, so the safety profile is covered. The description adds the notion of 'threshold comparisons' in the return value and the resource timing cost, but does not say whether collection waits for load completion, whether it mutates or resets any counters, or how large the resource-timing payload may become.

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 front-loaded with the purpose followed by a scannable metric list and a short Args section, so it is easy to parse. The metric enumeration is somewhat long and the two parameters are restated from the schema, which is slightly wasteful but not harmful.

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 two-parameter, read-only metrics tool with full annotation coverage and no output schema, the description is nearly sufficient: it lists the metric set and mentions threshold comparisons in the result. A note on whether a page must be fully loaded, and on the result shape, would close the remaining gap.

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 has 100% description coverage for both parameters, so the baseline is 3. The description repeats each parameter and its default, and briefly explains the cost of includeResourceTiming ('resource-level timing'), but adds no detail such as a cap or the effect of the flag on output size.

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 opens with a specific verb and resource ('Get detailed performance metrics for the current page') and enumerates exactly which metrics are returned, so an agent knows what it gets. It does not distinguish itself from neighboring tools such as chrome_get_network_requests, whose data partially overlaps with the Resource Timing item, but the purpose is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied: 'for the current page' suggests a page must already be loaded, and the listed metrics hint at a post-navigation timing check. There is no explicit when-to-use or when-not guidance and no mention of an alternative or prerequisite condition.

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