Get site health
get_healthWhat stops a site from working, judged by what it costs. From outside (Bearing calls the home page every five minutes from Ireland): whether it answers now, the share of the time it answered, its outages, how fast its server answers, when its HTTPS certificate and its domain end. From the visitors' browsers: the pages that answered them with an error (a 404 seen by a visitor) and where those visits came from; how long pages took to show (the time three visits in four stay under), by page and device, with the goal's rate on each page. And the links to other sites that visitors click and that lead to a page that no longer exists. Plus up to four things to look at, found by fixed rules; a missing page comes with what to do from where its visits came (advice), and error_pages_folder names the folder several missing pages share (one redirect rule covers them). A page the owner said fixed, or that Bearing found answering again, no longer counts from that moment (fixed_pages); when the owner says they fixed one, call mark_page_fixed. Use it for "is my site OK?", "why do sales drop on mobile?", "is anything broken?".
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": {
"site": "<site>"
},
"name": "get_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End date YYYY-MM-DD (site timezone), included. | |
| from | No | Start date YYYY-MM-DD (site timezone), with `to`. | |
| goal | No | The goal's name or label (list_events). Default: the site's goal reached most over the period. | |
| site | Yes | The site: its domain (example.com), its id, or its public id. See list_sites. | |
| period | No | A preset period ending today: today, 7d, 30d, 90d, 1y (one year) or all (everything since the site's first visit, five years at most). Default 30d. Ignored when from/to are given. |