Skip to main content
Glama

Get site health

get_health
Read-only

What 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

NameRequiredDescriptionDefault
toNoEnd date YYYY-MM-DD (site timezone), included.
fromNoStart date YYYY-MM-DD (site timezone), with `to`.
goalNoThe goal's name or label (list_events). Default: the site's goal reached most over the period.
siteYesThe site: its domain (example.com), its id, or its public id. See list_sites.
periodNoA 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare readOnlyHint, and the description goes well beyond that: it discloses the measurement method (home page called every five minutes from Ireland), the statistical threshold used for speed (three visits in four), how findings are capped (up to four, found by fixed rules), and the lifecycle rule that pages stop counting once the owner marks them fixed or Bearing sees them answering again. It also explains the derived fields `advice` and `error_pages_folder` and what the latter is for (one redirect rule covering several missing pages).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is dense and nearly all of it earns its place, but it is delivered as a single sprawling sentence chain with the practical routing guidance ("use it for...") buried at the very end. The opening framing ("judged by what it costs") delays the actual subject, so the definition is harder to scan than its information density warrants.

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?

There is no output schema, so the description carries the burden of explaining what comes back, and it does so in prose by naming each reported dimension and the derived fields. For a multi-source diagnostic report it is close to complete; the remaining gap is that it never indicates data volume, freshness beyond the five-minute cadence, or what is returned when a site has too little history to judge.

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 `site`, `period`, `from`/`to`, and `goal` are already documented in the schema, and the baseline of 3 applies. The description adds only indirect meaning — it explains that the goal's rate appears per page, which hints at why `goal` matters, and that pages are broken out by device, which relates to the reporting window — but it adds no syntax, default, or precedence detail beyond the schema.

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 resource (site health) and enumerates the concrete signals it reports: uptime from an external check in Ireland, browser-side error pages, page speed by page and device, broken outbound links, and up to four rule-derived findings. It also separates itself from the sibling action tool by stating that `mark_page_fixed` is the call to make when an owner reports a fix, so an agent can tell the read/report tool from the mutation tool.

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 gives explicit trigger questions ("is my site OK?", "why do sales drop on mobile?", "is anything broken?") and a clear hand-off rule to `mark_page_fixed` when the owner claims a fix. What's missing is any when-not guidance — no statement of which sibling to prefer for a narrower question such as a single page's speed or a specific breakdown, which matters given the many `get_*` siblings.

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