Skip to main content
Glama

fivebar

Site summary

get_site_summary
Read-onlyIdempotent

A site's figures over a range beside the period before: pageviews, visits, visitors, bounce rate and visit duration, each one's change, the counts by day, week or month, and the top channels, sources, pages and countries. The answer's caveats are the rules that apply to its figures, such as visitors being visitor-days or today being partial: read them before reporting any figure, and pass on those that change what it means. Name the site by its domain, and the range one way: range, a preset; days, from 1 to 3660, with ending; or from and to, as YYYY-MM-DD. With none, it is the 7 whole days to yesterday. A range that cannot be read exactly as asked is refused, not moved, saying why and naming the site's today, and so is a filter, saying why. filters, at most 6 and one to a dimension, each narrows every figure. The answer echoes the site, range and filters with a dashboard link; then totals; previous, the period compared with and its totals; change, each figure's as a whole percentage of the previous, bounce rate's in points, null where there is none; per_day, where the periods differ in length; basis, how their days were counted; ended_visits; series; and top. Under a goal filter the figures are the goal's conversions, events and conversion rate. Under a source, referrer or campaign filter, other_values_containing lists stored values close to the filter's, such as Google News beside Google; where filters match nothing, suggestions offers values that do.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoWith from: the last day, as YYYY-MM-DD, not after today.
daysNoThe last this many days, ending today unless ending says yesterday.
fromNoWith to: the first day, as YYYY-MM-DD.
rangeNoA preset: today; yesterday; this-week, Monday to today; this-week-sun, Sunday to today; last-7-days, today and the 6 days before it; last-week, Monday to Sunday of the week before this one; last-week-sun, Sunday to Saturday of the week before this one; last-14-days, today and the 13 days before it; this-month, the 1st of this month to today; last-30-days, today and the 29 days before it; last-month, the whole of the month before this one; all-time, the day the site was added to today. One running to today includes today so far; for whole days, use days with ending yesterday.
domainYesA domain from list_sites, or any public site's.
endingNoWith days: the last day, today by default.
filtersNoEach narrows every figure to what has exactly that value, case and all, so google is not Google; all must hold.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare this a safe, idempotent, closed read, and the description adds substantial behavior on top: caveats must be read before reporting figures, an unreadable range is refused rather than silently shifted (naming the site's today), filters cap at 6 and one per dimension, and filters matching nothing yield other_values_containing and suggestions. This is exactly the kind of error/edge-case disclosure annotations cannot carry.

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?

It is front-loaded—the first clause states the resource and the comparison period—and dense rather than padded, with each clause carrying a distinct rule or returned field. The prose is extremely compressed and run-on, which strains readability, but for a 7-parameter tool with no output schema most sentences earn their place.

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 carries the full return-value burden and does so: it enumerates echoed inputs, dashboard link, totals, previous, change (percentages vs points, null where none), per_day, basis, ended_visits, series and top, and details special filter semantics (goal filters return conversions/events/rate) plus empty-result fallbacks. Nothing an agent needs to call or interpret this correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds a genuinely non-schema fact: the three temporal specifications are mutually exclusive ('the range one way: range...; days...; or from and to'), plus the default (7 whole days to yesterday) and filter rules (max 6, one per dimension, each narrows every figure). These add meaning beyond the raw property descriptions.

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 a specific resource and scope: a site's figures over a range plus the preceding period, enumerating exactly which metrics come back (pageviews, visits, visitors, bounce rate, visit duration, changes, by day/week/month, and top channels/sources/pages/countries). An agent knows precisely what this tool yields, but it never explicitly differentiates itself from the potentially overlapping get_overview sibling, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: you call this to get a site's summarized figures. The description gives rich rules for how to call it (range one way, or days with ending, or from/to; default is the 7 whole days to yesterday) and pointers to siblings for enumerating values (get_site_breakdown for channels/properties, list_sites, list_goals), but it never says when to prefer this over get_overview, get_site_breakdown, or get_site_engagement.

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