measuremy_site
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HASH_SECRET | Yes | Any long random string, used to make the daily visitor id | |
| SITE_DOMAIN | Yes | Your website's domain, like example.com (no https:// or www) | |
| MCP_READ_KEY | Yes | Another long random string, the key your AI agent uses |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_overviewA | Visitors and pageviews for the range, change vs the previous equal-length period, plus top sources, pages and events. Start here. |
| get_timeseriesC | Pageviews and unique visitors over time, bucketed by hour or day. |
| find_traffic_spikesA | Detected traffic jumps (hourly pageviews far above the same hour in prior weeks), biggest first, each with its likely causes. |
| explain_spikeA | Ranked causes for one spike: which referrers/UTM sources, landing pages and custom events rose above baseline (with lift, % and share of the spike), plus annotations (deploys, posts, emails) in the preceding 24h. |
| top_sourcesB | Traffic sources (UTM source, else referrer host, else direct) ranked by pageviews. |
| top_pagesC | Pages ranked by pageviews. |
| top_countriesB | Visitor countries ranked by pageviews, with the country name ("XX" is unknown). |
| top_browsersB | Browsers ranked by pageviews: Chrome, Firefox, Safari, Edge, Opera, Samsung Internet, Other. Visits recorded before browser tracking began are Unknown. |
| top_systemsB | Operating systems ranked by pageviews: Windows, macOS, iOS, Android, Linux, ChromeOS, Other. Visits recorded before this tracking began are Unknown. |
| query_visitsA | Answer questions about this site's visits: count pageviews (or custom events) and unique visitors that match filters, optionally grouped. Examples: iOS visitors from the US last week (os=iOS, country=US); where Firefox users come from (browser=Firefox, group_by=source); signups per country (event=signup, group_by=country); /pricing views per day (page=/pricing, group_by=day). Only counts are returned; the site stores no IP addresses or user agents. |
| recent_visitsA | The most recent individual visits (newest first) matching the same filters as query_visits: time, page, source, country, browser, OS and event properties. |
| list_eventsB | Custom events (from agentlytics.track) ranked by count. |
| create_funnelA | Save a funnel: an ordered list of 2-8 steps visitors move through, e.g. ["/", "/login", "signup"]. A step starting with / is a page (exact path, or a prefix ending in , like /docs/); anything else is a custom event name (from agentlytics.track or an element with data-agentlytics-event). Returns the funnel with its first results. Visitors are matched within a single UTC day. |
| get_funnelA | Where visitors drop off. Shows, for each step, how many visitors reached it, the share of the first step and of the previous step, how many were lost, and the biggest drop. Pass name or id for a saved funnel, steps to try an unsaved one, or nothing to get every saved funnel. |
| delete_funnelC | Delete a saved funnel by name or id. |
| get_whats_workingA | Evidence for marketing planning: channels ranked by conversions with growth and conversion rate, growing pages, and spike causes that recur. Use this before proposing marketing ideas. |
| get_growth_actionsA | Ranked, concrete growth actions derived from this site's data (channels to double down on, pages to promote, what caused past spikes, best time to publish), each with evidence, steps, a suggested tracked link and how to measure it. Use this to build and then execute a marketing plan. |
| create_tracked_linkA | Create a UTM-tagged link to a page on this site for one campaign, and log it so later traffic, spikes and conversions are credited to it. Use a new link for every post, email or ad you publish. After it is published, call add_annotation so a spike that follows lists it as a cause. |
| get_campaign_resultsA | Traffic and same-day conversions per tracked campaign (from create_tracked_link), newest first. Omit campaign for all. |
| add_annotationA | Record something that may move traffic (deploy, launch, post, email, ad). Future spikes within 24h after it list it as a possible cause. Log what you ship or run. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| plan_marketing | Plan and execute marketing that builds on what already works for this site, then measure it. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 20 tools
Most tools have clearly distinct purposes: the top_* family splits cleanly by dimension, and query_visits (aggregates) vs recent_visits (individual rows) are well separated. The only mildly fuzzy boundary is between get_whats_working and get_growth_actions, which both deal with marketing evidence/planning, though one analyzes and the other prescribes actions.
Names use consistent snake_case and mostly follow verb_noun or prefix_noun patterns (get_overview, create_funnel, top_pages, delete_funnel). Minor deviations like recent_visits, find_traffic_spikes, and explain_spike break the strict pattern but remain readable and predictable.
20 tools is on the heavy side but each covers a distinct analytics surface (traffic, sources, geo, tech, funnels, campaigns, spikes, annotations), so the set feels justified rather than padded. It sits at the upper edge of the ideal 3-15 range but is reasonable for a full-featured web analytics platform.
Coverage is broad: overview, timeseries, dimensional breakdowns, custom queries, raw recent visits, funnel create/get/delete, spike detection and explanation, annotations, tracked links, and campaign results. Minor gaps exist (no funnel update, limited event management), but core analytics and lifecycle workflows are covered with no obvious dead ends.