Skip to main content
Glama

check_core_web_vitals

Read-onlyIdempotent

Core Web Vitals from Chrome UX Report field data (LCP, INP, CLS, FCP, TTFB) plus a Lighthouse lab snapshot, via the PageSpeed Insights API. Works for a page URL or, when URL-level data is missing, the whole origin.

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": {
      "url": "<url>"
    },
    "name": "check_core_web_vitals"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
strategyNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, and open-world behavior, so the safety profile is covered. The description usefully adds the dual data provenance (field vs lab) and the origin-level fallback rule. It says nothing about rate limits, API key requirements, or latency, which matter for a third-party API call.

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 dense sentences, front-loaded with the data source and metric list, followed by the scope/fallback rule. No filler and no repetition of annotation data.

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 fetch with no output schema, the description covers the important ground: what metrics come back, which data sources produce them, and the URL-vs-origin fallback. The one real omission is any treatment of the `strategy` parameter and whether it affects the lab vs field result.

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 coverage is 0%, so the description must carry parameter meaning. It partially does for `url` by saying a page URL or an origin is acceptable. It never mentions the `strategy` parameter at all, leaving the MOBILE/DESKTOP enum and any default for the agent to infer from the schema alone.

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 exact resource and data sources: Core Web Vitals from CrUX field data (LCP, INP, CLS, FCP, TTFB) plus a Lighthouse lab snapshot via PageSpeed Insights. The retrieval verb is only implied ('Core Web Vitals from...'), but the resource and scope are unambiguous and clearly distinct from the SEO-oriented siblings.

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 states a concrete usage rule: works for a page URL, falling back to the whole origin when URL-level data is missing. That is real when-to-use context. It stops short of explicit exclusions or naming alternatives, but no sibling performs the same CWV function.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.