Skip to main content
Glama

Get Single Site Overview

get_site_overview
Read-onlyIdempotent

Retrieve headline analytics for a single site: clean human UV, optical purity, bounce and conversion rates, AI crawls, and open JS errors. Use for single-site snapshots, not fleet rollups or trend series.

Instructions

Return headline optical metrics for one site: clean human UV, optical purity %, bounce rate, conversion rate, AI crawls, and open JS errors. Use for single-site snapshots; for multi-site rollups or bucketed trends, use get_fleet_overview or get_timeseries. Read-only via read token; HTTP 404 if unknown site_id.

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_site_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoLookback window relative to now (default "7d").7d
site_idYesPrismUV site slug identifier (e.g. "prismuv-abc123") returned by list_sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.1
    • 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 readOnly, idempotent, and non-destructive, so the description correctly focuses on what annotations cannot say: the read-token auth requirement and the concrete HTTP 404 failure mode for an unknown site_id. It also enumerates the returned metric families, which matters because there is no output schema. It stops short of covering data freshness or caching behavior, so it is strong but not exhaustive.

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, front-loaded with what is returned, followed by the routing rule and then the auth/error facts. Every clause carries distinct information (returns, alternatives, auth, failure mode) with no repetition of the annotations.

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 usefully lists the metric families, and it covers auth and the 404 path for a simple two-parameter read tool. The only gap is freshness or staleness of the metrics, which an agent doing snapshot comparisons might care about.

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%, including the enum values and the default for 'period' and the slug format for 'site_id', so the schema already carries the parameter burden. The description adds only indirect signal, using 'bucketed trends' to hint that period-based trend analysis belongs to get_timeseries rather than here. Baseline 3 is appropriate.

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 verb ('Return headline optical metrics') and a specific resource scope ('one site'), then enumerates the exact metric families returned (UV, purity %, bounce, conversion, AI crawls, JS errors). It explicitly positions itself against get_fleet_overview and get_timeseries, so an agent can distinguish it from siblings without opening any 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?

Gives an explicit use case ('single-site snapshots') and names the alternatives with the conditions that select them ('multi-site rollups' → get_fleet_overview, 'bucketed trends' → get_timeseries). No inference is required to route between these three tools.

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