Skip to main content
Glama

Scribe Mail

List identified visitors

list_visitors
Read-onlyIdempotent

The workspace's identified visitors — the customer's own end-users, described by their identify calls (NOT Scribe members/teammates). Each row: distinct_id, traits (PII lives here), first/last_seen_at, and first_touch (the signature click that drove their first visit). Filter by distinct_id (exact), a trait (trait_key + trait_value, e.g. plan=enterprise), identified_via, and first-seen date range. Newest first, paginated.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNo1-based page (default 1).
limitNoPage size, 1–100 (default 50).
contextYesExplain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution."
end_dateNoOnly visitors first seen on/before this ISO date.
max_pagesNoPage cap when auto_paginate is true (default 5).
trait_keyNoSegment by a trait: the trait name (e.g. `plan`). Use with `trait_value`.
start_dateNoOnly visitors first seen on/after this ISO date.
distinct_idNoFind a visitor by their exact user id (distinct_id).
trait_valueNoThe trait value to match (e.g. `enterprise`).
auto_paginateNoFetch multiple pages up to `max_pages` (default false).
identified_viaNoFilter by acquisition channel: `browser` or `api`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
truncatedYesTrue when auto_paginate stopped at max_pages with more results remaining.
paginationYes
pages_fetchedYes

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 cover the safety profile (readOnly, idempotent, non-destructive), so the description only needs to add context. It does: default sort order ('Newest first'), pagination, and the important disclosure that PII lives in the traits column. It omits how auto_paginate/max_pages interact, but the added context is genuinely useful.

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?

Four tightly packed sentences, front-loaded with what the rows are and who they are not before moving to filters. Nothing is wasted, though the middle sentence carries a heavy comma list that borders on density.

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?

For an 11-parameter list tool with a full output schema and complete annotation coverage, the description covers identity, contents, filters, ordering, and pagination. The pagination-control parameters are left to the schema, which is acceptable given the output schema exists.

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%, so every parameter is already documented, and the baseline is 3. The description reinforces a few semantics ('distinct_id (exact)', trait_key+trait_value with a plan=enterprise example, first-seen date range) but adds little beyond the schema's own examples. Baseline 3 is correct.

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?

The description states a specific verb+resource ('list the workspace's identified visitors') and immediately disambiguates the domain boundary: 'the customer's own end-users ... NOT Scribe members/teammates.' That single contrast separates it from list_teammates and get_visitor without opening a schema.

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 gives clear context for use (listing identified end-users, with the exact filters available) and explicitly excludes teammates. It never names when to prefer the sibling get_visitor or get_visitor_breakdown instead, so the routing guidance is clear but not exhaustive.

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.