Skip to main content
Glama

get_website_visitor_analytics_by_period

Read-only

Read-only: website visitor trend over time (visitorsOverTime buckets of distinct identified companies/people across all of the team's tracked sites; anonymous traffic is not counted) from a since start date up to an optional to end date (defaults to now). Omit since for the lifetime trend, which starts at the first identified visit. Pass timezone (IANA name, e.g. Europe/Kyiv; defaults to UTC) so buckets start on the user's local calendar days. Bucket size is picked from the window length and cannot be set: daily when the window spans up to 13 calendar days, then weekly (starting Monday), monthly or quarterly, so a series has at most 13 points unless it spans more than 13 quarters. Each bucket is labelled by its start date. Returns time-bucketed counts, not overall totals.

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

Input Schema

NameRequiredDescriptionDefault
toNoWindow end as an ISO 8601 date-time instant. Omit to run the window up to now. Must not be earlier than `since`. Do not send a date-only YYYY-MM-DD.
sinceNoWindow start as an ISO 8601 date-time instant (e.g. 2026-08-01T00:00:00.000Z). Omit for lifetime analytics. Must not be in the future. Do not send a date-only YYYY-MM-DD.
timezoneNoIANA timezone name (e.g. Europe/Kyiv) whose calendar days the buckets are drawn on — the zone `since` / `to` day boundaries were computed in. Defaults to UTC. UTC offsets such as +03:00 are rejected.UTC

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, it discloses substantive behavior: anonymous traffic is not counted, only identified companies/people are bucketed, and results are per-bucket rather than aggregate. It also explains the automatic bucket-size selection rules (daily up to 13 calendar days, then weekly starting Monday, monthly, quarterly) and the ~13-point cap, which an agent cannot infer from any structured field.

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?

Front-loaded with the core operation and scope, then bucketing rules, then the totals disclaimer; every sentence carries information. The long embedded parenthetical describing bucket contents is dense and slows parsing slightly, but nothing is disposable.

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?

For a read-only, zero-required-parameter analytics tool with no output schema, the description covers what is counted, what is excluded, default window behavior, timezone semantics, bucket granularity rules, and labeling. An agent has everything needed to call it correctly and interpret the series shape.

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; the description still adds meaning by tying `since` omission to a lifetime window starting at the first identified visit, and by explaining that `timezone` governs how bucket day boundaries are drawn across all three params. Marginal duplication with the schema's timezone note keeps it at 4 rather than 5.

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 and resource (website visitor trend over time) and immediately defines the unit: buckets of distinct identified companies/people, with anonymous traffic excluded. It also explicitly distinguishes itself from a totals-style sibling by closing with 'Returns time-bucketed counts, not overall totals.'

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 clear invocation guidance: omit `since` for the lifetime trend, omit `to` to run to now, and pass `timezone` so buckets align with local calendar days. It does not name a specific alternative tool or state when-not-to-use it, so it falls short of a 5.

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.