Skip to main content
Glama

Overview KPIs

get_overview
Read-onlyIdempotent

Headline numbers for a time range: visitors, visits, page views, bounce rate, time on site, revenue, customers, conversion rate and revenue per visitor, each compared with the previous range of the same length, plus how many people are online now. Use it to answer 'how is the site doing?'.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day, inclusive (YYYY-MM-DD).
fromNoFirst day (YYYY-MM-DD, site time zone). Use with to instead of period.
siteNoSite domain (example.com), id or public id (tb_…). Optional with a site key, or when the account has one site.
periodNoTime range. Default 30d. today, yesterday, 24h, 7d, 30d, 90d, 12m, wtd, mtd, ytd, all.
filtersNoOnly visits that match every filter. A value is "is": {"country": "US"}; a list is "is any of": {"country": ["PT", "ES"]}; an object picks the operator: {"page": {"contains": "/blog"}}, {"channel": {"is_not": ["Direct", "Email"]}}, {"page": {"not_contains": "/admin"}}. Operators: is, is_not, contains, not_contains (case-insensitive). "visitor" is "new" or "returning". "ad" is an ad campaign as "google:<campaign id>" or "meta:<campaign id>" (the visits that the Ads page counts for it). Use "(none)" for empty values; countries take ISO codes or English names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / filters / propertyNames / enum
      Previous value: -[
      -  "channel",
      -  "referrer",
      -  "campaign",
      -  "keyword",
      -  "source",
      -  "hostname",
      -  "entry",
      -  "exit",
      -  "country",
      -  "region",
      -  "city",
      -  "browser",
      -  "os",
      -  "device",
      -  "page",
      -  "goal",
      -  "visitor",
      -  "ad"
      -]New value: +[
      +  "channel",
      +  "referrer",
      +  "campaign",
      +  "keyword",
      +  "source",
      +  "hostname",
      +  "entry",
      +  "exit",
      +  "country",
      +  "region",
      +  "city",
      +  "browser",
      +  "os",
      +  "device",
      +  "page",
      +  "goal",
      +  "visitor",
      +  "ad",
      +  "assistant"
      +]
  2. First observed

TDQS

A3.5/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 one genuinely useful behavioral fact beyond that: every metric is compared against the previous range of the same length, and a realtime online count is mixed in. It says nothing about defaults (the schema supplies 30d) or how filters narrow the numbers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core idea, but the middle is a long metric enumeration that largely restates what the tool computes and could be compressed ('core traffic and revenue KPIs'). Two sentences total, so it is not bloated, but the list is heavier than necessary.

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?

Five optional parameters, a nested filters object, and no output schema, so the description's enumeration of metrics usefully compensates for the missing return documentation, and it discloses the period-over-period comparison. Remaining gap is that filters and the site/period defaults are left entirely to the schema, which is acceptable at 100% coverage.

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 schema already documents from/to/period/site/filters including operators and enum values; the baseline is 3. The description earns a small bump by explaining the comparison window is 'the previous range of the same length', which is behavior tied to the time-range parameters and is not stated anywhere in the schema.

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 specific verb-less but precise resource: headline KPI numbers for a time range, then enumerates the exact metrics returned (visitors, visits, page views, bounce rate, time on site, revenue, customers, conversion rate, revenue per visitor) plus the realtime online count. This clearly separates it from granular siblings like get_breakdown or get_timeseries, though it never names an alternative explicitly.

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?

The closing line 'Use it to answer "how is the site doing?"' gives a real usage context, which is more than nothing. However there is no when-not guidance and no routing to alternatives such as get_breakdown for per-dimension detail or get_realtime for the live view, so the agent must infer boundaries itself.

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