Skip to main content
Glama

Diagnose a site now

diagnose_site
Read-only

Use this when one of the user's own sites is down, failing from some places, slow or alerting, and they want to know why right now, or want it checked from everywhere: "why is shop.acme.com down?", "is it failing everywhere or just in Asia?", "is our site reachable from every region?", "is it our certificate?". Requests the site once from every region FlareWarden checks from and returns each region's result, status code, DNS, connect, TLS and first-byte times, where a failure stopped, and the certificate's issuer and expiry, with a one-line finding such as "fails only from Singapore: TLS handshake timed out". At most 10 an hour for one site; a repeat within a minute returns the same result. Never returns page content. Not for past outages or why a site keeps alerting: use get_incident or review_noise. Not for a site outside the user's FlareWarden account: use check_service_status_url.

Input Schema

NameRequiredDescriptionDefault
siteYesThe site: its id, name or part of its URL.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial context beyond annotations: a rate limit of 10 per hour per site, a repeat-within-a-minute cache behavior, and the fact that page content is never returned. It also details the diagnostic output (per-region timings, failure stop point, certificate info), which annotations cannot convey. No contradiction with readOnlyHint=true.

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?

Although long, it is front-loaded with the trigger scenario, then examples, then behavior, then exclusions. Every sentence adds actionable information; there is no filler or repetition.

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

Completeness5/5

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

With no output schema, the description fully explains the return shape (per-region results, timings, failure point, certificate data, summary finding). Combined with rate-limit and exclusion details, an agent has everything needed to invoke it correctly.

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 100% and the single parameter 'site' is fully described by the schema. The description reinforces scope by saying it must be one of the user's own sites and accepts id/name/URL, but adds no new syntax or format detail beyond the schema baseline.

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?

States a specific action (diagnose a site from every region) and enumerates exactly what is returned: per-region status code, DNS, connect, TLS, first-byte times, failure point, certificate issuer/expiry, and a one-line finding. It is immediately distinguishable from siblings like get_incident or check_service_status_url.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says when to use it (site down, failing from some places, slow, alerting, wants a check from everywhere) with concrete user phrasings. It also names when NOT to use it and the exact alternative siblings: get_incident or review_noise for past outages/noise, and check_service_status_url for sites outside the account.

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