Skip to main content
Glama

Who is on my site right now

get_live_visitors
Read-only

Who is on one site right now, as the dashboard's Live tab shows it: everyone active in the last few minutes, each with the page they are on, the page their visit began on, how many pages they have opened, the source and campaign that brought them, country, device, browser, operating system and screen size, when the visit started, and their last few pages. Visitors are anonymous: the id is a short hash for telling them apart within this answer, nothing more.

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

Input Schema

NameRequiredDescriptionDefault
siteNoWhich site: its domain (for example example.com) or its id from list_sites. Leave it out for the account's first site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only cover read-only and closed-world; the description adds genuinely useful behavior: the activity window ('last few minutes') and the critical caveat that visitor ids are short anonymous hashes valid only within this response. It does not say whether the visitor list is capped or ordered.

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?

Purpose is front-loaded and the long field enumeration is dense but earns its place given there is no output schema. The single-sentence structure is readable, though the field list could be grouped more tightly.

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 correctly carries the return-shape burden by enumerating every visitor attribute, plus anonymity and time window. Only the volume/ordering behavior of the result set is unaddressed.

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 the site parameter already documents domain-or-id and the default-to-first-site fallback, so the description adds nothing parameter-specific. The phrase 'one site' only reinforces single-site scope.

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 resource (live visitors on one site) and enumerates the exact fields returned, plus the 'as the dashboard's Live tab shows it' anchor. It is clearly distinct from analytics siblings like breakdown_day or get_website_overview, 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 'right now / active in the last few minutes' framing implies a real-time check, but there is no explicit when-to-use, when-not-to-use, or pointer to a historical counterpart such as investigate_traffic_day. Usage is inferable rather than stated.

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