Skip to main content
Glama

What changed on one site: incidents opened and resolved, code pushes, maintenance, new pages

sites_by_slug_events
Read-onlyIdempotent

Wraps GET /api/sites/{slug}/events. What changed on one site: incidents opened and resolved, code pushes, maintenance, new pages. Call this to find what changed before a number moved (clicks fell, pages got slower): the site's timeline, newest first, the same events the dashboard draws on its charts. Page through with limit and offset.

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": "sites_by_slug_events"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYessite slug, as in /api/sites
limitNopage size, clamped to 1–200
rangeNothe window7d
offsetNorows to skip, at most 1000

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedOutput schema / properties / data / items / properties / after / description
      Added value: +"for a change: the value after"
    • changedOutput schema / properties / data / items / properties / at / description
      Previous value: -"ISO 8601, UTC (…Z)"New value: +"when it happened (ISO 8601, UTC)"
    • addedOutput schema / properties / data / items / properties / before / description
      Added value: +"for a change: the value before"
    • addedOutput schema / properties / data / items / properties / kind / description
      Added value: +"what happened: an incident began or ended, a push, a maintenance window, checks paused or resumed, a page published"
    • addedOutput schema / properties / data / items / properties / targetId / description
      Added value: +"the checked page it's about, when it's one"
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds real value beyond that — result ordering (newest first), page-wise access, and the fact that it returns the same event stream the dashboard charts use. It omits the clamping behavior (limit 1–200, offset ≤1000) that materially affects paging, leaving that to the schema.

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?

Four tight sentences, front-loaded with the endpoint mapping and the tool's purpose before the usage hint. No filler or marketing language; a minor redundancy exists between the title's enumeration and the body's identical enumeration.

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?

An output schema exists and annotations carry the safety profile, so the description need not explain return values. What it does provide — event scope, ordering, paging, and the investigative use case — is enough to call the tool correctly. The one gap is the time-window parameter (24h/7d/30d, default 7d), which shapes results substantially and is left entirely to the 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?

Schema description coverage is 100%, so the baseline is 3; all four parameters including the range enum are already documented in the schema. The description only adds 'page through with limit and offset', which restates the schema's paging fields without adding format or edge-case meaning, and never mentions the range window that scopes the timeline.

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?

States a concrete verb+resource ('what changed on one site') and enumerates the event classes returned: incidents opened and resolved, code pushes, maintenance, new pages. It also grounds the resource in the underlying endpoint (GET /api/sites/{slug}/events). It stops short of naming a sibling tool it is distinct from (e.g. incidents, sites_by_slug_maintenance), so differentiation is implied by the width of the event set rather than stated.

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?

Gives an explicit trigger: 'Call this to find what changed before a number moved (clicks fell, pages got slower)', which tells the agent the investigative context in which this tool beats a plain metrics query. There are no explicit when-not conditions or named alternatives, so it is clear context without full routing guidance.

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