Skip to main content
Glama

Traffic across Trood sites (admin)

get_traffic
Read-only

Retrieve first-party Trood site analytics to measure visits, traffic sources, top pages, named steps, devices, per-site funnels, and events; filter by days or product to see where visitors stopped.

Instructions

Admin only. First-party web analytics from every Trood site (identity.trood.com/t.js): visits, page views, where visits come from, top pages, the named steps people took, devices, a funnel per site, and the latest 50 events. A visit is one visitor on one day: there are no cookies, so nobody is followed across days, and nothing here identifies a person. Use it to answer how many people came, from where, and where they stopped.

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back, 1 to 365. Default 7.
productNoOne site only, for example "growth". Default all sites.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnly/openWorld annotations, the description discloses the admin-only access requirement, the data source (identity.trood.com/t.js), the visit definition, the cookie-less privacy model, and the bounded 50-event tail. These are real behavioural facts an agent could not infer from annotations or schema.

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-loads the access constraint and source before the metric list, and every sentence carries information. The metric enumeration is long but functional rather than padded; only the privacy sentence could be tightened slightly.

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?

With no output schema, the description carries the return-value burden and meets it by listing the metric families plus the visit-counting caveat that determines how those numbers should be read. Nothing needed to call or interpret the tool is missing.

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 description coverage is 100%, so both `days` and `product` are already documented with defaults. The description reinforces the all-sites default ("every Trood site", "funnel per site") but adds no new syntax or semantics for either parameter, so baseline 3 applies.

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+resource (first-party web analytics across every Trood site) and enumerates exactly what comes back: visits, page views, referrers, top pages, named steps, devices, per-site funnel, latest 50 events. That enumeration makes it unmistakable against siblings like get_user_activity or show_my_trood_data.

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?

"Use it to answer how many people came, from where, and where they stopped" gives an explicit usage context, and "Admin only" sets a prerequisite. It stops short of naming an alternative sibling tool or stating when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.