check_threshold
Validate web performance against set thresholds to enforce quality gates in CI pipelines. Fails when metrics exceed Google's poor boundaries.
Instructions
Pass/fail check against performance thresholds. Use for CI quality gates. Defaults use Google's 'poor' thresholds — only fails if metrics are genuinely bad.
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_threshold"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to check | |
| device | No | Device emulation (default: mobile) | |
| thresholds | No | Custom thresholds. Defaults to Google's 'poor' boundary. |