Skip to main content
Glama

get_cwv_element_breakdown

Gets a breakdown of the biggest LCP, INP, or CLS elements for a specific page, ranked by popularity or performance severity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysToNoDate to look to, default to yesterday's date, in dd-mm-yyyy format.
domainYesDomain to get the element breakdown for.
rankByNoThe criteria for ranking. Options are 'Popularity' (sorts by sessions affected) or 'Severity' (sorts by metric score). Defaults to 'Severity'.Severity
countryNoCountry to filter on, in 2-letter ISO code format (e.g., US, GB). Defaults to All.All
groupedNoGroup data by base url withou query string or anchor
pageUrlYesThe page path to analyze (e.g., /checkout).
daysBackNoDate to look from, default to 8 days ago, in dd-mm-yyyy format.
pageSizeNoNumber of elements to return. Defaults to 10.
directionNoThe sorting direction. Options are 'Worst' or 'Best'. Defaults to 'Worst'.Worst
pageGroupNoFilter by page group/category name. Defaults to All.All
deviceTypeNoFilter by device type: All, Desktop, Mobile, Other.All
metricTypeYesThe metric type to analyze: LCP, INP, or CLS.
pageNumberNoPage number for pagination. Defaults to 1.
outputMaxLengthNoThe maximum number of characters for the output. Defaults to 5000
statisticMeasureNoStatistical measure to display and sort by when ranking by severity: P50, P75, P90, Average. Defaults to P75.P75

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clarifies the ranking options (popularity vs severity) and implies this is a read operation ('Gets'), but omits critical operational details such as rate limits, data freshness/caching, required permissions, or what constitutes an 'element' in the output.

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 a single, dense sentence that efficiently packs in the resource type (element breakdown), specific metrics (LCP/INP/CLS), and ranking options. No words are wasted, though the lack of a second sentence for usage context or output description slightly limits its utility.

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

Completeness2/5

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

Given 15 parameters, no output schema, and no annotations, the description is insufficient. It fails to describe what the output contains (e.g., element selectors, scores, impact values), how pagination behaves with pageSize/pageNumber, or what the 'grouped' parameter does to results. For this complexity level, the single-sentence description leaves significant gaps.

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%, establishing a baseline of 3. The description adds minimal semantic value beyond the schema, essentially summarizing the metricType and rankBy parameters without clarifying syntax details, format constraints, or advanced filtering interactions between the 15 available parameters.

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 clearly states the tool retrieves element-level breakdowns for specific Core Web Vitals metrics (LCP, INP, CLS) and mentions ranking criteria. It distinguishes from sibling tools like get_page_performance_breakdown by focusing on specific DOM elements rather than general page metrics, though it could more explicitly contrast with these alternatives.

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?

The description provides no guidance on when to use this tool versus alternatives (e.g., when to use get_page_performance_breakdown instead), no prerequisites (e.g., domain verification requirements), and no warning that it requires a specific pageUrl and metricType to 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.

Resources