Skip to main content
Glama

One public site's 90 days: daily uptime, response time and outages, no key needed

public_sites_by_slug
Read-onlyIdempotent

Wraps GET /api/public/sites/{slug}. One public site's 90 days: daily uptime, response time and outages, no key needed. Call this for a public site's history without a key: uptime over 1, 7, 30 and 90 days, one row per day and every outage, the same numbers as its status page (CC BY 4.0).

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": {
      "slug": "<slug>"
    },
    "name": "public_sites_by_slug"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYessite slug, as in /api/sites

Output Schema

NameRequiredDescriptionDefault
dataNo
next_stepsNocalls that usually come next, each naming its tool

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedOutput schema / properties / data / properties / uptime / properties / d1 / description
      Added value: +"the last day"
    • addedOutput schema / properties / data / properties / uptime / properties / d30 / description
      Added value: +"the last 30 days; null until watched that long"
    • addedOutput schema / properties / data / properties / uptime / properties / d7 / description
      Added value: +"the last 7 days"
    • addedOutput schema / properties / data / properties / uptime / properties / d90 / description
      Added value: +"the last 90 days; null until watched that long"
  2. Changed28 schema fields changed
    • addedOutput schema / properties / data / properties / attribution / description
      Added value: +"how to credit them"
    • addedOutput schema / properties / data / properties / days / description
      Added value: +"the last 90 days, oldest first"
    • addedOutput schema / properties / data / properties / days / items / properties / checks / description
      Added value: +"checks made"
    • addedOutput schema / properties / data / properties / days / items / properties / date / description
      Added value: +"the day (YYYY-MM-DD)"
    • addedOutput schema / properties / data / properties / days / items / properties / failed / description
      Added value: +"checks that failed, confirmed from the second location"
    • addedOutput schema / properties / data / properties / days / items / properties / maintenance / description
      Added value: +"checks during maintenance (not counted)"
    • addedOutput schema / properties / data / properties / days / items / properties / totalMs / description
      Added value: +"median whole response, ms"
    • addedOutput schema / properties / data / properties / days / items / properties / ttfbMs / description
      Added value: +"median time to first byte, ms"
    • addedOutput schema / properties / data / properties / days / items / properties / unconfirmed / description
      Added value: +"failures the second location didn't see (not counted against uptime)"
    • addedOutput schema / properties / data / properties / days / items / properties / uptime / description
      Added value: +"the day's share up, percent"
    • changedOutput schema / properties / data / properties / generatedAt / description
      Previous value: -"ISO 8601, UTC (…Z)"New value: +"when this was built (ISO 8601, UTC)"
    • addedOutput schema / properties / data / properties / license / description
      Added value: +"how the numbers may be reused"
    • addedOutput schema / properties / data / properties / notes / description
      Added value: +"how these numbers are counted"
    • addedOutput schema / properties / data / properties / outages / description
      Added value: +"outages in the last 90 days"
    • addedOutput schema / properties / data / properties / outages / items / properties / durationS / description
      Added value: +"how long, seconds"
    • addedOutput schema / properties / data / properties / outages / items / properties / end / description
      Added value: +"when it ended; null while it's on"
    • changedOutput schema / properties / data / properties / outages / items / properties / start / description
      Previous value: -"ISO 8601, UTC (…Z)"New value: +"when it began (ISO 8601, UTC)"
    • addedOutput schema / properties / data / properties / site / description
      Added value: +"the site"
    • addedOutput schema / properties / data / properties / site / properties / name / description
      Added value: +"the site's name"
    • addedOutput schema / properties / data / properties / site / properties / statusPage / description
      Added value: +"its public status page"
    • addedOutput schema / properties / data / properties / site / properties / url / description
      Added value: +"its address"
    • addedOutput schema / properties / data / properties / timezone / description
      Added value: +"the zone its days are counted in"
    • changedOutput schema / properties / data / properties / uptime / properties / d1 / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "ok": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "percent": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "description": "Checks that passed, of those made, in a period",
      +    "properties": {
      +      "ok": {
      +        "description": "checks that passed",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "percent": {
      +        "description": "ok / total × 100; null with no checks",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "description": "checks made",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / properties / uptime / properties / d30 / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "ok": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "percent": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "description": "Checks that passed, of those made, in a period",
      +    "properties": {
      +      "ok": {
      +        "description": "checks that passed",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "percent": {
      +        "description": "ok / total × 100; null with no checks",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "description": "checks made",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / properties / uptime / properties / d7 / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "ok": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "percent": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "description": "Checks that passed, of those made, in a period",
      +    "properties": {
      +      "ok": {
      +        "description": "checks that passed",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "percent": {
      +        "description": "ok / total × 100; null with no checks",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "description": "checks made",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / properties / uptime / properties / d90 / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "ok": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "percent": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "description": "Checks that passed, of those made, in a period",
      +    "properties": {
      +      "ok": {
      +        "description": "checks that passed",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "percent": {
      +        "description": "ok / total × 100; null with no checks",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "description": "checks made",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / data / properties / uptime / properties / since / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "properties": {
      -      "from": {
      -        "type": "string"
      -      },
      -      "ok": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      },
      -      "percent": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "total": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "properties": {
      +      "from": {
      +        "description": "since when (YYYY-MM-DD)",
      +        "type": "string"
      +      },
      +      "ok": {
      +        "description": "checks that passed",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      },
      +      "percent": {
      +        "description": "ok / total × 100; null with no checks",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "total": {
      +        "description": "checks made",
      +        "maximum": 9007199254740991,
      +        "minimum": -9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / data / properties / uptime / properties / since / description
      Added value: +"since monitoring began"
  3. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld=false, so the safety profile is covered. The description adds genuinely new behavior: no authentication required, a fixed 90-day window with rollups at 1/7/30/90 days, one row per day plus every outage, parity with the public status page, and CC BY 4.0 licensing. That auth and data-lineage context is real value beyond the structured fields.

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 scope and the 'no key needed' selling point are front-loaded, which is the right structure. It is somewhat repetitive, however: the 90-day/public-site/no-key framing appears in the title, the first sentence, and again in the 'Call this...' sentence, so roughly a third of the text is redundant.

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?

For a single-parameter read tool with a full output schema and rich annotations, the description covers everything an agent needs: auth requirement, time window, granularity, outage coverage, data provenance and license. Return-format detail is legitimately left to the output schema.

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?

There is one parameter with 100% schema description coverage ('site slug, as in /api/sites'), so the schema already carries the meaning. The description restates that it operates on a single site's slug but adds no format, casing, or lookup guidance beyond the schema. Baseline 3 is appropriate.

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 names the concrete verb/resource pair ('Wraps GET /api/public/sites/{slug}') and specifies the payload: 90 days of daily uptime, response time and outages for one public site. The 'public ... no key needed' framing implicitly separates it from the authenticated sites_by_slug family, but no sibling is named explicitly, so it stops short of full differentiation.

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?

'Call this for a public site's history without a key' gives a clear selection condition (public site + no API key), which is exactly the context an agent needs to pick this over a keyed equivalent. It offers no explicit exclusions or named alternatives, so it is not a 5.

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