Skip to main content
Glama

Get Site Traffic Timeseries

get_timeseries
Read-onlyIdempotent

Fetch hourly or daily traffic time buckets with raw, clean, AI crawler, suspect, and bot PV plus release pins to chart traffic shifts and correlate deploys.

Instructions

Fetch ordered hourly or daily time buckets with raw PV, clean PV, AI crawler PV, suspect PV, bot PV, and release pins. Use to chart traffic shifts or correlate deploys; for headline totals or live 30-minute pulses, use get_site_overview or get_realtime. Read-only via read token; omits empty release markers.

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_id": "<site_id>"
    },
    "name": "get_timeseries"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoLookback window relative to now (default "7d").7d
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.
intervalNoBucket granularity; omit to let PrismUV pick automatically for the chosen period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.1.1
    • addedInput schema / properties / interval / description
      Added value: +"Bucket granularity; omit to let PrismUV pick automatically for the chosen period."
    • addedInput schema / properties / period / default
      Added value: +"7d"
    • addedInput schema / properties / period / description
      Added value: +"Lookback window relative to now (default \"7d\")."
    • addedInput schema / properties / site_id / description
      Added value: +"PrismUV site slug identifier (e.g. \"prismuv-abc123\") returned by list_sites."
  2. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description still adds real context beyond them: reads require a read token, and empty release markers are omitted from results, which affects how an agent should interpret gaps. It does not cover pagination or result-set size limits, which keeps it off a 5.

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?

Two sentences, both load-bearing: the first defines the payload, the second routes the agent. The disambiguation clause is placed after the primary purpose is established, so an agent that stops reading sentence one still has what it needs.

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?

With no output schema, the description must convey the return content, and it does so by listing every metric plus the presence of release pins and bucket ordering. What remains unstated is the container shape (array of buckets keyed by timestamp) and any row limits for long periods. That is a minor gap for a three-parameter read tool, not a blocker.

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%, with both enums documented and defaults stated, so the schema carries the parameter burden. The description reinforces the interval choice ("hourly or daily") but adds no format or semantics beyond what the schema supplies. Baseline 3 applies.

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?

"Fetch ordered hourly or daily time buckets" names a specific verb and resource, then enumerates the returned metrics (raw PV, clean PV, AI crawler PV, suspect PV, bot PV, release pins) and the granularity dimension. An agent can distinguish this from aggregate or realtime siblings without opening the schema.

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?

States the intended use ("chart traffic shifts or correlate deploys") and names two explicit alternatives with the conditions that select them: get_site_overview for headline totals and get_realtime for live 30-minute pulses. The when-not cases are as clear as the when.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.