agentanalytics.sh: Analytics Your Agent Can Use
Server Details
agentanalytics.sh: ask your agent where your site loses signups and what to fix next.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 34 tools
Most tools have distinct, narrow purposes, and descriptions actively redirect to the correct sibling (e.g. analytics_overview vs analytics_insights, analytics_sessions vs sessions, properties vs properties_received vs catalog). The remaining friction comes from parallel families that an agent must reason about carefully: the ten synthetic `analytics_*` demo tools overlap conceptually with `all_sites_overview`/`all_sites_bot_traffic`, and catch-alls like `query`, `compare`, and `growth_audit` pack many behaviors into one surface.
Names are uniformly snake_case, and experiment CRUD follows a clean verb_noun pattern (create/get/list/update/delete_experiment). However, the set mixes bare-noun tools (catalog, query, compare, errors, properties, sessions, web_vitals) with verb_noun tools (list_projects, append_project_annotation), and domain prefixes are inconsistent (analytics_*, all_sites_*, bot_traffic_*).
At 34 tools this is well past a comfortable agent-facing surface, and a large share is redundant: ten `analytics_*` demo tools plus `all_sites_overview`/`all_sites_bot_traffic`/`bot_traffic_overview` cover heavily overlapping traffic questions. Experiment CRUD and the query escape hatch clearly earn their place, but the analytics family could be consolidated substantially.
Coverage is broad and coherent: full experiment lifecycle (create/get/list/update/delete), project creation plus context and annotation writes, schema discovery, a raw query escape hatch, live traffic, web vitals, errors, and a growth audit. The notable gaps are project lifecycle tail ends — no delete/rename of a project, and annotations can only be appended, not listed individually or removed.
Available Tools
34 toolsaccount_usageAccount usageARead-onlyIdempotentInspect
Use when you need the plan, usage, or a payment handoff before a Pro-only tool. Returns the plan, usage, billing estimate, spend cap, and Pro pricing. Requires account:read. Read-only: it cannot charge or manage billing. After checkout, call again and retry the task.
Inputs: no named parameters.
all_sites_bot_trafficAll sites bot trafficARead-onlyInspect
Use when you want every active site summed together, with no project name chosen. Returns one row per site for request totals and filtered-out hits. Actor categories for a single site are bot_traffic_overview.
Inputs: limit, period.
all_sites_overviewAll sites overviewARead-onlyInspect
Use when you need historical traffic across all projects, not one site. Returns total events, the active project count, the daily trend, and the top projects.
Inputs: limit, period.
analytics_breakdownAnalytics breakdownARead-onlyInspect
Use when you need the top values of one property, such as path, referrer, or utm_source. Returns those values ranked by count. For entry and exit pages, use analytics_pages. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), days, event, limit, +1 more. Returns: data, type
analytics_funnelAnalytics funnelARead-onlyInspect
Use when you need drop-off across ordered events. Returns per-step users, conversion, and time between steps. Pass since, such as 30d, or days from 1 to 365, mapped to since as Nd. Default is 30d. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: steps (required), project (required), days, since, +4 more. Returns: data, type
analytics_heatmapAnalytics heatmapARead-onlyInspect
Use when you need which weekday and hour get traffic. Returns a day-of-week by hour grid and the peak. Times are UTC. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required). Returns: data, type
analytics_insightsAnalytics insightsARead-onlyInspect
Use when you need whether traffic is up or down versus the previous period. Returns events, users, bounce rate, and session duration with the trend. For the time series, use analytics_overview. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), period. Returns: data, type
analytics_overviewAnalytics overviewARead-onlyInspect
Use when you know the project and need its traffic trend. Returns a time series, event and user counts, and a country breakdown. For up or down versus the previous period, use analytics_insights. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), days. Returns: data, type
analytics_pagesAnalytics pagesARead-onlyInspect
Use when you need entry or exit pages rather than a property ranking. Returns bounce rate, average duration, and events per session. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), type, limit. Returns: data, type
analytics_panelAnalytics explorerARead-onlyIdempotentInspect
Use when you want a project's analytics beside the chat instead of one analysis tool. Returns a project and view picker. Empty input is valid. Each query keeps its plan and access checks. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: no named parameters. Returns: data, type
analytics_pathsAnalytics pathsARead-onlyInspect
Use when you need the session paths that reach a goal event. Returns a bounded tree from entry pages to the goal, a drop-off, or truncation. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), goal_event (required), since, max_steps, +3 more. Returns: data, type
analytics_retentionAnalytics retentionARead-onlyInspect
Use when you need what share of users come back. Returns cohort retention by day, week, or month. Pass event to switch to event-based retention. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), event, period, cohorts, +1 more. Returns: data, type
analytics_sessionsAnalytics sessionsARead-onlyInspect
Use when you need how long sessions last, not individual session rows. Returns a duration histogram, the engaged percentage, and the median bucket. For raw records, use sessions. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required). Returns: data, type
append_project_annotationAppend project annotationAIdempotentInspect
Use when adding one date annotation without changing goals or glossary. Returns whether it was appended. A duplicate returns appended false. The cap of 100 returns 409 and stores nothing.
Inputs: title (required), project (required), occurred_at (required), note.
bot_traffic_overviewBot traffic overviewARead-onlyInspect
Use when the project is already named and you want that site's non-human volume only. Returns its request total, filtered-out hits, actor categories, and the busiest actors. The account-wide rollup is all_sites_bot_traffic.
Inputs: project (required), limit, period.
catalogCatalogARead-onlyIdempotentInspect
Use catalog before writing a query or SQL when event names, property keys, types, or example values are unknown (GET /catalog). Returns those fields. Pro and metered. Free accounts get 403 PRO_REQUIRED. Examples are email-redacted as [redacted-email]. Bad windows are 400 INVALID_WINDOW. Bad cursors or limits are 400 VALIDATION_ERROR. Unknown project is 404 PROJECT_NOT_FOUND. Rate limits are 429.
Inputs: project (required), days, limit, cursor, +4 more. Returns: data, type
compareCompareARead-onlyInspect
Use compare after a ship for a keep, revert, or extend verdict. Returns rates, lift, and the verdict. Compare is a free read and each successful call is one metered read. goal_event counts unique converters. Read on ship day + 8 so the last day is complete. Today UTC yields incomplete_current_day. Revert only when the interval lies entirely below zero; otherwise inconclusive. A drop by itself is not a revert. Page not found | grokbotpages.com. Optional metric sum(revenue) or p75(cwv_lcp). Hosted vitals are properties on page_view. Prefer web_vitals. metric_event defaults to goal_event. Use better=lower for Web Vitals. sum() is per_user. raw_lift is unnegated. With metric set, interval_method is none. A threshold hit without an interval is no_interval_for_metric. Compare stays a free read when metric is set.
Inputs: project (required), goal_event (required), rule, better, +9 more. Returns: data, type
create_experimentCreate experimentAIdempotentInspect
Use when the user wants a new A/B test. Returns the created id, variant keys, and the goal event. To pause, resume, or complete one, use update_experiment. To remove one, use delete_experiment.
Inputs: name (required), project (required), variants (required), goal_event (required), +1 more.
create_projectCreate projectAIdempotentInspect
Use when a site is not a project yet and needs tracking. Returns the project, snippet, and an API example. Idempotent if the name exists. The snippet sets data-track-vitals="true" so page_view collects Core Web Vitals.
Inputs: name (required), allowed_origins.
delete_experimentDelete experimentADestructiveIdempotentInspect
Use when the user wants an A/B experiment removed. Returns confirmation the id was deleted. To change status without deleting, use update_experiment.
Inputs: id (required).
errorsErrorsARead-onlyInspect
Use errors as the post-ship guardrail next to compare. Returns grouped $error rows (GET /errors). Pro read. 403 PRO_REQUIRED is not metered, and a success is one metered read. new_since matches listing occurred_at and title. approximate is always set. When true, caps is an array of distinct_triples and window_rows. There is no singular cap.
Inputs: project (required), limit, since, until, +1 more. Returns: data, type
get_experimentGet experimentARead-onlyInspect
Use when you have an experiment id and need its results. Returns exposures, conversions, and the recommendation. It does not create, pause, or delete the experiment. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: id (required). Returns: data, type
get_project_contextGet project contextARead-onlyInspect
Use when you need stored product meaning before reading numbers. Returns goals, activation events, the glossary, and date annotations, or a note that none are stored. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required). Returns: data, type
growth_auditGrowth auditAInspect
Use when you need where visitors drop before signup. Returns findings, funnel, and traffic_by_hostname. A successful call uses the account's one free audit. Pro accounts can repeat it. Pass cta_event or detection ranks event names by count. Stopped events use 3 firings, not 3 users. Default excludes hosts whose names start with app. An empty list includes every host. Text includes Traffic by hostname and Excluding app.* (default). If hosts split, ask the user which hosts count as the landing site. 403 PRO_REQUIRED with reason free_audit_used. 429 free_audit_in_progress with Retry-After.
Inputs: project (required), hostname, cta_event, signup_event, +1 more. Returns: data, type
list_experimentsList experimentsARead-onlyInspect
Use when you need every A/B experiment before opening one by id. Returns ids, names, statuses, and goal events. It does not create or change a test. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required).
list_projectsList projectsARead-onlyInspect
Use when you need a project name before any other analytics call. Returns the projects on this account. This is the tool to start with. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: no named parameters.
live_nowLive nowARead-onlyInspect
Use when you need who is on the site right now, not a historical chart. Returns active visitors, sessions, events per minute, top pages, and recent events.
Inputs: project (required), window.
propertiesPropertiesARead-onlyInspect
Use when you need event names and property keys as one flat list, without types. Returns those names and keys. For keys grouped under each event, use properties_received. For types and example values, use catalog. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), days.
properties_receivedProperties receivedARead-onlyInspect
Use when you need property keys sampled on each event name. Returns one key list per event. It does not return JSON types or example values; use catalog for those. For a flat event-name list, use properties. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), since, sample.
queryQueryARead-onlyInspect
Use query when other tools cannot answer. Returns grouped metric rows. property is the event property key and is required when any of those metrics is requested. Numeric metrics are Pro, with the same gating as this query, and a free account gets 403 PRO_REQUIRED. Hosted vitals are properties on page_view when the snippet has data-track-vitals="true". Use web_vitals for the p75 headline. Missing property is 400 MISSING_FIELDS. A bad key is 400 INVALID_PROPERTY_KEY. Percentiles use nearest_rank. group_by allows at most one properties. matching ^[A-Za-z0-9_]{1,128}$; another is 400 INVALID_GROUP_BY. email uses a project-scoped HMAC.
Inputs: project (required), email, limit, order, +8 more.
sessionsSessionsARead-onlyInspect
Use when you need individual session records, such as ids, timing, and pages, rather than a duration chart. Returns that session list. For the histogram and engaged share, use analytics_sessions. Synthetic demo for agentanalytics-demo. Sign in for your projects.
Inputs: project (required), limit, since.
set_project_contextSet project contextADestructiveIdempotentInspect
Use when replacing stored project context. Returns the saved context. The body cap is 512KB. Read existing context first and save only durable product truth: goals, activation events, glossary, and annotations. Inspect event names with properties first. Do not store PII or secrets.
Inputs: project (required), goals, glossary, annotations, +1 more.
update_experimentUpdate experimentADestructiveIdempotentInspect
Use when the user wants to pause, resume, or complete an existing A/B experiment. Returns the new status and the winner when you complete it.
Inputs: id (required), status (required), winner.
web_vitalsWeb vitalsARead-onlyInspect
Use when you need Core Web Vitals (POST /vitals). Returns p75 and ratings. p75 is the headline. Pro read: 403 PRO_REQUIRED is not metered, and a success is one metered read. The event is page_view, collected with data-track-vitals="true". Thresholds: https://web.dev/articles/vitals. LCP 2500 ms / 4000 ms, INP 200 ms / 500 ms, CLS 0.1 / 0.25, FCP 1800 ms / 3000 ms, TTFB 800 ms. cwv_pass needs good LCP, INP, and CLS p75.
Inputs: project (required), days, limit, date_to, +2 more. Returns: data, type
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Agent analytics: which AI agents read your site, drove signups, and pick you over competitors.
Web analytics your agent sets up and reads: tag, people, revenue, SEO, insights.
Privacy-first product analytics. Your agent sets up tracking and answers questions about traffic.
Ask your AI agent where users stall and why they cancel. Included in every aside.pro plan.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to access website analytics, including visitor sessions, UX friction, conversion funnels, and anomaly alerts.631 PyPIMIT
- AlicenseAqualityDmaintenancePrivacy friendly, cookieless web analytics built MCP-first. "Add analytics to my Next.js app" → an AI agent runs the setup_analytics_for_site tool, picks the right install snippet, edits your layout file, and verifies the script is loading. OAuth onboarding, no API keys to paste.281MIT
- AlicenseNot gradedqualityDmaintenanceMulti-site analytics for AI agents — GA4, Google Search Console, Cloudflare edge, PageSpeed, and audit insights across all your websites as tools.28 npmMIT
- AlicenseNot gradedqualityCmaintenanceReal-time e-commerce analytics: visitors, Shopify/Stripe revenue attribution, funnels, and a live visitor feed. Agents can self-register a website with one no-auth POST and get a site-scoped read-only MCP token back.MIT
Glama MCP Gateway
Add one secure layer between your agents and this server.