Skip to main content
Glama
Web Validator by DigestSEO

Web Validator by DigestSEO

Analyze Chrome UX Report real-user Core Web Vitals and trends

performance.crux_field
Read-onlyIdempotent

V11-FIELD local: offline analyze an already-obtained Google CrUX daily or history JSON record, or make ONE explicitly requested free Google Chrome UX Report API query using an existing local CRUX_API_KEY environment variable.

Instructions

V11-FIELD local: offline analyze an already-obtained Google CrUX daily or history JSON record, or make ONE explicitly requested free Google Chrome UX Report API query using an existing local CRUX_API_KEY environment variable. Reports origin/page, device-class p75 LCP/INP/CLS/FCP/TTFB and bounded historical points. Missing eligible data stays null. No GSC, GA4, visitor tracking, storage, scheduled requests, URL fetch, API-key echo or Google ranking/traffic causation.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source_mode": "<source_mode>",
      "granularity": "<granularity>",
      "target": "<target>"
    },
    "name": "performance.crux_field"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoDaily 28-day aggregated p75 data or up to 40 overlapping historical 28-day weekly windows.daily
targetYesSafe public HTTPS origin or exact page label; query strings, fragments, private hosts and credentials are rejected. Never fetched directly.
form_factorNoALL aggregated devices, PHONE, DESKTOP or TABLET. Missing device data is not treated as zero.ALL
granularityYesOrigin aggregates eligible Chrome experiences across the whole origin; url requests one exact page.
record_jsonNoOnly supplied_record: original CrUX API JSON (max 300 KB UTF-8), containing matching record identity, metrics and collection period. Never stored or echoed.
source_modeYesUse caller-provided JSON entirely offline or explicitly authorize one fixed-endpoint Google CrUX API request with local CRUX_API_KEY.

Output Schema

NameRequiredDescriptionDefault
p75Yes
modeYes
errorNo
scopeYes
sourceYes
statusYes
findingsYes
period_endYes
form_factorYes
granularityYes
limitationsYes
history_pointsYes
total_findingsYes
core_web_vitalsYes
metric_verdictsYes
coverage_limitedYes
first_last_deltaYes
periods_returnedYes
periods_availableYes
findings_truncatedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.3.53

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive and open-world, so the safety profile is partly covered; the description goes well beyond them by stating no storage, no scheduled requests, no URL fetch, no API-key echo, no GSC/GA4/visitor tracking, and no ranking/traffic causation claims. It also discloses that missing eligible data stays null rather than being zeroed, which is a genuine behavioral trait an agent needs.

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?

Information is front-loaded: modes first, then metrics reported, then a compact negative-scope sentence. It is dense and slightly over-packed with a long negation list, but nearly every clause (offline mode, single-query limit, null handling, no key echo) carries distinct meaning.

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?

An output schema exists, so return values need not be explained; the description still summarizes the reported metrics and bounded historical points. For a 6-parameter, dual-mode tool with privacy and rate implications, the description covers mode selection, scope limits, and data-handling boundaries without gaps that would cause a misinvocation.

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?

Schema description coverage is 100%, so the schema already documents mode, target, form_factor, granularity, record_json and source_mode in detail. The description's statements about offline vs. live authorization and null handling largely restate what the schema enums and descriptions already convey, adding little new syntax or format meaning. Baseline 3 is appropriate.

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 names a specific verb+resource pair (analyze/report Google CrUX field data) and enumerates the two operating modes (offline supplied JSON record vs. a single live CrUX API query). The 'V11-FIELD' / 'real-user' framing implicitly separates it from the lab-style siblings such as browser.lighthouse_lab, and the metric list (p75 LCP/INP/CLS/FCP/TTFB) makes the output domain unambiguous.

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?

It clearly states the two usage paths: analyze an already-obtained JSON record, or make ONE explicitly requested free CrUX API query via a local CRUX_API_KEY. The 'explicitly requested' and 'ONE' constraints give real when-to-use guidance. It does not explicitly name an alternative tool to use instead (e.g., a lab-audit sibling), so it stops short of a 5.

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