Skip to main content
Glama

Visitors

get_visitors
Read-onlyIdempotent

Anonymous visitors of one app in the last 30 days: recent, paying, live now, or who hit an error. 30 a page, newest first: pass offset for more. Pass visitor (a key from the list) for one visitor's timeline: visits, pages, goals, errors and payments. No names, emails or IP addresses.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "app": "<app>"
    },
    "name": "get_visitors"
  }
}

Input Schema

NameRequiredDescriptionDefault
appYesThe app: its slug, name, domain (shop.app), URL or id. list_apps shows them all.
tabNorecent
offsetNoSkip this many (newest first), for the next page: nextOffset from the last answer
visitorNoA visitor key from the list, for their timeline

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive behavior, so the bar is lower. The description adds genuinely useful context the annotations do not: a fixed 30-day window, 30-per-page with newest first, and the anonymized nature of the data. It does not mention rate limits or whether the 30-day window also bounds the per-visitor timeline.

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

Conciseness5/5

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

Three dense sentences, front-loaded with what you get, then pagination, then the drill-down mode, then the PII constraint. No filler and no repetition of the schema or annotations.

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 does the work of explaining return contents for both modes (visits, pages, goals, errors, payments). Pagination and anonymization are covered. Minor gaps remain around the 30-day window's applicability to timeline mode and whether a total count is returned.

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 75% and the description compensates well: it defines the four tab modes in prose (the schema enum is bare), explains offset as next-page paging with newest first, and explains that visitor switches the tool into a per-visitor timeline mode. That mode switch is the key semantic an agent could not derive from the schema alone.

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 (anonymous visitors of one app), a concrete time window (last 30 days), and the tab modes (recent, paying, live, errors). The phrase 'No names, emails or IP addresses' implicitly distinguishes it from get_customers without naming that sibling explicitly.

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?

It clearly describes two usage modes: list mode with offset paging, and drill-down mode when passing a visitor key. The four tabs are named with meaning ('recent, paying, live now, or who hit an error'), giving an agent enough to choose. It stops short of naming when this tool should not be used instead of get_customers or get_analytics.

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