Skip to main content
Glama

get_website_visitor_totals

Read-only

Overall totals for a window across all of the team's tracked sites, counting only visits made visible in reports (charged credits or upgraded by background identification); other traffic is not counted: totalVisitors (those page views, not distinct people; a few may lack person and company details), totalUniqueCompanies, totalUniquePeople and totalHotVisits (page views whose visitor was identified with high confidence). Lifetime totals start at the first such visit. Pass a since start date and optionally a to end date (defaults to now); omit since for lifetime 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_totals"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare readOnly, non-destructive and closed-world, so the safety profile is covered. The description goes well beyond that by disclosing the counting rule (only visits visible in reports, i.e. charged credits or upgraded by background identification; other traffic excluded), the lifetime anchor point (first such visit), and data-quality caveats such as totalVisitors being page views rather than distinct people and possibly lacking person/company details. These are non-obvious semantics an agent cannot get from structured fields.

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?

The scope and the counting caveat are front-loaded, and every clause carries information about metric meaning or the window. The parenthetical metric definitions make it dense and somewhat run-on, but there is no filler or repeated content.

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 names the four returned fields and explains what each counts, plus the lifetime-start edge case. It remains slightly incomplete on output shape (whether results are a single aggregate object or broken out per site) and on how it relates to the period-breakdown sibling.

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% and both parameters already document ISO 8601 format, the 'omit for now/lifetime' defaults, and the ordering constraint. The description restates the since/omit-for-lifetime behavior without adding format, timezone, or granularity detail beyond the schema, so the baseline 3 applies.

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 states a specific resource and scope: overall aggregate totals across all of the team's tracked sites for a given window. It enumerates the exact metrics returned (totalVisitors, totalUniqueCompanies, totalUniquePeople, totalHotVisits), which makes the tool's output purpose unambiguous. It stops short of naming the closest sibling (get_website_visitor_analytics_by_period) to contrast aggregate totals with per-period breakdowns.

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 through the window semantics: pass a `since` start and optional `to` end, or omit `since` for lifetime totals. There is no explicit statement of when to pick this over the period/analytics siblings or any prerequisite such as credit balance or tag installation. An agent must infer the alternative from sibling names alone.

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.