agentanalytics.sh: ask your agent where your site loses signups and what to fix next.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
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.
This tool takes no arguments.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http agent-analytics-mcp https://mcp.agentanalytics.sh/mcp
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.
No arguments.
{
"type": "object",
"properties": {}
}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.
| Argument | Type | Description |
|---|---|---|
| limit | number | Max projects to include |
| period | string | Comparison period |
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Max projects to include"
},
"period": {
"enum": [
"1d",
"7d",
"14d",
"30d",
"90d"
],
"type": "string",
"default": "7d",
"description": "Comparison period"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| limit | number | Max projects to include in the top-project list |
| period | string | Comparison period |
{
"type": "object",
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Max projects to include in the top-project list"
},
"period": {
"enum": [
"1d",
"7d",
"14d",
"30d",
"90d"
],
"type": "string",
"default": "7d",
"description": "Comparison period"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| days | number | Lookback window in days |
| event | string | Filter by event name (e.g. page_view) |
| limit | number | Max results |
| project* | string | Project name |
| property | string | Property key to group by (e.g. path, referrer, utm_source) |
{
"type": "object",
"required": [
"project"
],
"properties": {
"days": {
"type": "number",
"default": 7,
"maximum": 365,
"minimum": 1,
"description": "Lookback window in days"
},
"event": {
"type": "string",
"description": "Filter by event name (e.g. page_view)"
},
"limit": {
"type": "number",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Max results"
},
"project": {
"type": "string",
"description": "Project name"
},
"property": {
"type": "string",
"default": "path",
"description": "Property key to group by (e.g. path, referrer, utm_source)"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| days | integer | Lookback in days, mapped to since. Integer 1 to 365. |
| since | string | Lookback such as 30d. Default 30d. |
| steps* | array | Funnel steps (2-8), each with an event name and optional filters |
| project* | string | Project name |
| count_by | string | Count by users or sessions |
| breakdown | string | Property key to segment by (e.g. 'variant', 'country'). Extracted from step 1 events. |
| breakdown_limit | number | Max breakdown groups (default 10, max 50) |
| conversion_window_hours | number | Max hours from step 1 to last step (default: 168 = 7 days) |
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.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| period | string | Comparison period |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"period": {
"enum": [
"1d",
"7d",
"14d",
"30d",
"90d"
],
"type": "string",
"default": "7d",
"description": "Comparison period"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| days | number | Lookback window in days |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"days": {
"type": "number",
"default": 7,
"maximum": 365,
"minimum": 1,
"description": "Lookback window in days"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| type | string | Page type |
| limit | number | Max results |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"type": {
"enum": [
"entry",
"exit",
"both"
],
"type": "string",
"default": "entry",
"description": "Page type"
},
"limit": {
"type": "number",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Max results"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
No arguments.
{
"type": "object",
"properties": {}
}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.
| Argument | Type | Description |
|---|---|---|
| since | string | Lookback period |
| project* | string | Project name |
| max_steps | integer | Max mixed page/event steps before truncation |
| goal_event* | string | Goal event to attribute within the same session |
| path_limit | integer | Max children kept per node |
| entry_limit | integer | Max entry pages to include |
| candidate_session_cap | integer | Bound on candidate sessions scanned |
{
"type": "object",
"required": [
"project",
"goal_event"
],
"properties": {
"since": {
"enum": [
"7d",
"14d",
"30d",
"90d"
],
"type": "string",
"default": "30d",
"description": "Lookback period"
},
"project": {
"type": "string",
"description": "Project name"
},
"max_steps": {
"type": "integer",
"default": 5,
"maximum": 5,
"minimum": 1,
"description": "Max mixed page/event steps before truncation"
},
"goal_event": {
"type": "string",
"description": "Goal event to attribute within the same session"
},
"path_limit": {
"type": "integer",
"default": 5,
"maximum": 10,
"minimum": 1,
"description": "Max children kept per node"
},
"entry_limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1,
"description": "Max entry pages to include"
},
"candidate_session_cap": {
"type": "integer",
"default": 5000,
"maximum": 10000,
"minimum": 100,
"description": "Bound on candidate sessions scanned"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| event | string | First-seen event filter (e.g. signup). Switches to event-based retention. |
| period | string | Cohort grouping period |
| cohorts | number | Number of cohort periods (max: day=30, week=12, month=12) |
| project* | string | Project name |
| returning_event | string | What counts as 'returned' (defaults to same as event) |
{
"type": "object",
"required": [
"project"
],
"properties": {
"event": {
"type": "string",
"description": "First-seen event filter (e.g. signup). Switches to event-based retention."
},
"period": {
"enum": [
"day",
"week",
"month"
],
"type": "string",
"default": "week",
"description": "Cohort grouping period"
},
"cohorts": {
"type": "number",
"default": 8,
"maximum": 30,
"minimum": 1,
"description": "Number of cohort periods (max: day=30, week=12, month=12)"
},
"project": {
"type": "string",
"description": "Project name"
},
"returning_event": {
"type": "string",
"description": "What counts as 'returned' (defaults to same as event)"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| note | string | Optional short note, max 500 characters |
| title* | string | Short annotation title, max 120 characters |
| project* | string | Project name or ID |
| occurred_at* | string | ISO-8601 timestamp when the major product change happened |
{
"type": "object",
"required": [
"project",
"occurred_at",
"title"
],
"properties": {
"note": {
"type": "string",
"maxLength": 500,
"description": "Optional short note, max 500 characters"
},
"title": {
"type": "string",
"maxLength": 120,
"description": "Short annotation title, max 120 characters"
},
"project": {
"type": "string",
"description": "Project name or ID"
},
"occurred_at": {
"type": "string",
"description": "ISO-8601 timestamp when the major product change happened"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| limit | number | Max actors to include |
| period | string | Comparison period |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"limit": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Max actors to include"
},
"period": {
"enum": [
"1d",
"7d",
"14d",
"30d",
"90d"
],
"type": "string",
"default": "7d",
"description": "Comparison period"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| days | integer | Days, 1 to 90. Default 7. Do not combine with dates. |
| limit | integer | Events per page, integer from 1 to 18. Defaults to 10. |
| cursor | string | Cursor from next_cursor. Not with properties_cursor. |
| date_to | string | End date YYYY-MM-DD, at most 90 days after date_from. |
| project* | string | Project name or id |
| date_from | string | Start date YYYY-MM-DD. Send with date_to. |
| property_limit | integer | Property keys per event, integer from 1 to 40. Defaults to 25. |
| properties_cursor | string |
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.
| Argument | Type | Description |
|---|---|---|
| rule | object | Decision thresholds. Values above 5 are rejected. |
| better | string | higher or lower. Use better=lower for cwv_lcp. |
| metric | string | Numeric metric such as p75(cwv_lcp) or sum(revenue). |
| compare | object | Compare window. Pass with baseline. |
| filters | array | Optional filters, same shape as query. Do not filter on event |
| project* | string | Project name or ID |
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.
| Argument | Type | Description |
|---|---|---|
| name* | string | Experiment name |
| project* | string | Project name |
| weights | array | Variant weights, for example 50 and 50 |
| variants* | array | Variant keys, for example control and new_cta |
| goal_event* | string | Goal event name to measure conversions |
{
"type": "object",
"required": [
"project",
"name",
"variants",
"goal_event"
],
"properties": {
"name": {
"type": "string",
"description": "Experiment name"
},
"project": {
"type": "string",
"description": "Project name"
},
"weights": {
"type": "array",
"items": {
"type": "number",
"description": "Weight for one variant"
},
"description": "Variant weights, for example 50 and 50"
},
"variants": {
"type": "array",
"items": {
"type": "string",
"description": "One variant key"
},
"description": "Variant keys, for example control and new_cta"
},
"goal_event": {
"type": "string",
"description": "Goal event name to measure conversions"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| name* | string | Project name (letters, numbers, hyphens, dots, max 64 chars) |
| allowed_origins | string | Allowed CORS origins, defaults to * |
{
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Project name (letters, numbers, hyphens, dots, max 64 chars)"
},
"allowed_origins": {
"type": "string",
"description": "Allowed CORS origins, defaults to *"
}
}
}Use when the user wants an A/B experiment removed. Returns confirmation the id was deleted. To change status without deleting, use update_experiment.
| Argument | Type | Description |
|---|---|---|
| id* | string | Experiment ID |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Experiment ID"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Max groups. Defaults to 20 and maxes at 100 |
| since | string | Lookback window: 7d or YYYY-MM-DD. Defaults to 7 days |
| until | string | Inclusive end date YYYY-MM-DD. Defaults to today UTC |
| project* | string | Project name or ID |
| new_since | string | Date or annotation title. Ambiguous titles return 400. |
{
"type": "object",
"required": [
"project"
],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"maximum": 100,
"minimum": 1,
"description": "Max groups. Defaults to 20 and maxes at 100"
},
"since": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Lookback window: 7d or YYYY-MM-DD. Defaults to 7 days"
},
"until": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Inclusive end date YYYY-MM-DD. Defaults to today UTC"
},
"project": {
"type": "string",
"description": "Project name or ID"
},
"new_since": {
"type": "string",
"maxLength": 500,
"minLength": 1,
"description": "Date or annotation title. Ambiguous titles return 400."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| id* | string | Experiment ID |
{
"type": "object",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"description": "Experiment ID"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project name or ID |
{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "string",
"description": "Project name or ID"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project name |
| hostname | any | Hosts to include. Omit to exclude names starting with app. |
| cta_event | string | Event fired by the main signup CTA. Overrides detection, which ranks by count. |
| signup_event | string | Event fired when an account is created. Overrides detection. |
| exclude_hostnames | array | Hosts to leave out. An empty list includes every host. |
{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "string",
"description": "Project name"
},
"hostname": {
"anyOf": [
{
"type": "string",
"maxLength": 253,
"minLength": 1,
"description": "One hostname to include"
},
{
"type": "array",
"items": {
"type": "string",
"maxLength": 253,
"minLength": 1,
"description": "Hostname"
},
"minItems": 1,
"description": "Hostnames to include"
}
],
"description": "Hosts to include. Omit to exclude names starting with app."
},
"cta_event": {
"type": "string",
"pattern": "^[A-Za-z0-9_$.:-]{1,128}$",
"description": "Event fired by the main signup CTA. Overrides detection, which ranks by count."
},
"signup_event": {
"type": "string",
"pattern": "^[A-Za-z0-9_$.:-]{1,128}$",
"description": "Event fired when an account is created. Overrides detection."
},
"exclude_hostnames": {
"type": "array",
"items": {
"type": "string",
"maxLength": 253,
"minLength": 1,
"description": "Hostname to leave out"
},
"description": "Hosts to leave out. An empty list includes every host."
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
No arguments.
{
"type": "object",
"properties": {}
}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.
| Argument | Type | Description |
|---|---|---|
| window | number | Time window in seconds (10-300, default 60) |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"window": {
"type": "number",
"default": 60,
"maximum": 300,
"minimum": 10,
"description": "Time window in seconds (10-300, default 60)"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| days | number | Lookback window in days |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"days": {
"type": "number",
"default": 30,
"maximum": 365,
"minimum": 1,
"description": "Lookback window in days"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| since | string | Start date (ISO or shorthand like 7d) |
| sample | number | Events to sample |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"since": {
"type": "string",
"description": "Start date (ISO or shorthand like 7d)"
},
"sample": {
"type": "number",
"default": 5000,
"maximum": 10000,
"minimum": 100,
"description": "Events to sample"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.<key> matching ^[A-Za-z0-9_]{1,128}$; another is 400 INVALID_GROUP_BY. email uses a project-scoped HMAC.
| Argument | Type | Description |
|---|---|---|
| string | Customer email, matched by HMAC and not stored. | |
| limit | number | Max results (default 100, max 1000) |
| order | string | Sort direction |
| date_to | string | End date (ISO 8601). Defaults to today. |
| filters | array | Filters to apply |
| metrics | array | Metrics. sum, avg, and percentiles need property. |
| project* | string | Project name |
| group_by |
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.
| Argument | Type | Description |
|---|---|---|
| limit | number | Max results |
| since | string | Start date |
| project* | string | Project name |
{
"type": "object",
"required": [
"project"
],
"properties": {
"limit": {
"type": "number",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Max results"
},
"since": {
"type": "string",
"description": "Start date"
},
"project": {
"type": "string",
"description": "Project name"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| goals | array | Short business goals, max 5 |
| project* | string | Project name or ID |
| glossary | array | Event-name glossary entries, max 10 |
| annotations | array | Major date annotations, max 100 |
| activation_events | array | Event names that define activation, max 8 |
{
"type": "object",
"required": [
"project"
],
"properties": {
"goals": {
"type": "array",
"items": {
"type": "string",
"description": "One business goal"
},
"default": [],
"maxItems": 5,
"description": "Short business goals, max 5"
},
"project": {
"type": "string",
"description": "Project name or ID"
},
"glossary": {
"type": "array",
"items": {
"type": "object",
"required": [
"event_name",
"term",
"definition"
],
"properties": {
"term": {
"type": "string",
"description": "Human/product term for the event"
},
"definition": {
"type": "string",
"description": "Short definition of the event"
},
"event_name": {
"type": "string",
"description": "Event name this entry explains"
}
},
"description": "One glossary entry"
},
"default": [],
"maxItems": 10,
"description": "Event-name glossary entries, max 10"
},
"annotations": {
"type": "array",
"items": {
"type": "object",
"required": [
"occurred_at",
"title"
],
"properties": {
"note": {
"type": "string",
"maxLength": 500,
"description": "Optional short note, max 500 characters"
},
"title": {
"type": "string",
"maxLength": 120,
"description": "Short annotation title, max 120 characters"
},
"occurred_at": {
"type": "string",
"description": "ISO-8601 time of the change"
}
},
"description": "One date annotation"
},
"default": [],
"maxItems": 100,
"description": "Major date annotations, max 100"
},
"activation_events": {
"type": "array",
"items": {
"type": "string",
"description": "One activation event name"
},
"default": [],
"maxItems": 8,
"description": "Event names that define activation, max 8"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| id* | string | Experiment ID |
| status* | string | New status |
| winner | string | Winning variant (for completing) |
{
"type": "object",
"required": [
"id",
"status"
],
"properties": {
"id": {
"type": "string",
"description": "Experiment ID"
},
"status": {
"enum": [
"active",
"paused",
"completed"
],
"type": "string",
"description": "New status"
},
"winner": {
"type": "string",
"description": "Winning variant (for completing)"
}
}
}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.
| Argument | Type | Description |
|---|---|---|
| days | integer | Lookback in days. Omit when date_from and date_to are set |
| limit | integer | Maximum rows. Defaults to 10 and maxes at 20 |
| date_to | string | Inclusive end date (YYYY-MM-DD). Optional |
| project* | string | Project name or ID |
| group_by | string | Split by device or path. Omit for one row. |
| date_from | string | Inclusive start date (YYYY-MM-DD). Optional |
{
"type": "object",
"required": [
"project"
],
"properties": {
"days": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Lookback in days. Omit when date_from and date_to are set"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1,
"description": "Maximum rows. Defaults to 10 and maxes at 20"
},
"date_to": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Inclusive end date (YYYY-MM-DD). Optional"
},
"project": {
"type": "string",
"description": "Project name or ID"
},
"group_by": {
"enum": [
"device",
"path"
],
"type": "string",
"description": "Split by device or path. Omit for one row."
},
"date_from": {
"type": "string",
"maxLength": 64,
"minLength": 1,
"description": "Inclusive start date (YYYY-MM-DD). Optional"
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Dec 4, 2026.
{
"type": "object",
"required": [
"project",
"steps"
],
"properties": {
"days": {
"type": "integer",
"maximum": 365,
"minimum": 1,
"description": "Lookback in days, mapped to since. Integer 1 to 365."
},
"since": {
"type": "string",
"description": "Lookback such as 30d. Default 30d."
},
"steps": {
"type": "array",
"items": {
"type": "object",
"required": [
"event"
],
"properties": {
"event": {
"type": "string",
"description": "Event name for this step"
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"property",
"op",
"value"
],
"properties": {
"op": {
"enum": [
"eq",
"neq",
"contains"
],
"type": "string",
"description": "Filter operator"
},
"value": {
"type": "string",
"description": "Filter value"
},
"property": {
"type": "string",
"description": "Property key to filter on"
}
},
"description": "One property filter"
},
"description": "Optional property filters for this step"
}
},
"description": "One funnel step"
},
"maxItems": 8,
"minItems": 2,
"description": "Funnel steps (2-8), each with an event name and optional filters"
},
"project": {
"type": "string",
"description": "Project name"
},
"count_by": {
"enum": [
"user_id",
"session_id"
],
"type": "string",
"default": "user_id",
"description": "Count by users or sessions"
},
"breakdown": {
"type": "string",
"description": "Property key to segment by (e.g. 'variant', 'country'). Extracted from step 1 events."
},
"breakdown_limit": {
"type": "number",
"default": 10,
"maximum": 50,
"minimum": 1,
"description": "Max breakdown groups (default 10, max 50)"
},
"conversion_window_hours": {
"type": "number",
"default": 168,
"maximum": 8760,
"minimum": 1,
"description": "Max hours from step 1 to last step (default: 168 = 7 days)"
}
}
}| Cursor from properties_next_cursor. Not with cursor. |
{
"type": "object",
"required": [
"project"
],
"properties": {
"days": {
"type": "integer",
"maximum": 90,
"minimum": 1,
"description": "Days, 1 to 90. Default 7. Do not combine with dates."
},
"limit": {
"type": "integer",
"maximum": 18,
"minimum": 1,
"description": "Events per page, integer from 1 to 18. Defaults to 10."
},
"cursor": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 2048,
"minLength": 1,
"description": "Cursor from next_cursor. Not with properties_cursor."
},
"date_to": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "End date YYYY-MM-DD, at most 90 days after date_from."
},
"project": {
"type": "string",
"minLength": 1,
"description": "Project name or id"
},
"date_from": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Start date YYYY-MM-DD. Send with date_to."
},
"property_limit": {
"type": "integer",
"maximum": 40,
"minimum": 1,
"description": "Property keys per event, integer from 1 to 40. Defaults to 25."
},
"properties_cursor": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]+$",
"maxLength": 2048,
"minLength": 1,
"description": "Cursor from properties_next_cursor. Not with cursor."
}
}
}| baseline |
| object |
| Baseline window. Pass with compare. |
| ship_date | string | Ship date (YYYY-MM-DD, UTC). The ship day is in neither window |
| goal_event* | string | Goal event counted as unique converters. |
| window_days | integer | Days per window, multiple of 7, from 1 to 90. Default 7. |
| metric_event | string | Defaults to goal_event. Use page_view for hosted vitals. |
| denominator_event | string | Denominator event. Defaults to page_view. |
| denominator_filters | array | Denominator-only filters. Max 10. Do not filter on event. |
{
"type": "object",
"required": [
"project",
"goal_event"
],
"properties": {
"rule": {
"type": "object",
"properties": {
"keep_threshold": {
"type": "number",
"maximum": 5,
"minimum": -5,
"description": "Lift fraction required to keep. Absolute value at most 5."
},
"min_denominator": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Minimum denominator unique users in each window"
},
"min_goal_events": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Minimum unique goal converters across both windows."
},
"revert_threshold": {
"type": "number",
"maximum": 5,
"minimum": -5,
"description": "Lift fraction for a revert. Absolute value at most 5."
}
},
"description": "Decision thresholds. Values above 5 are rejected."
},
"better": {
"enum": [
"higher",
"lower"
],
"type": "string",
"description": "higher or lower. Use better=lower for cwv_lcp."
},
"metric": {
"type": "string",
"pattern": "^(sum|avg|p50|p75|p95)\\([A-Za-z0-9_]{1,128}\\)$",
"description": "Numeric metric such as p75(cwv_lcp) or sum(revenue)."
},
"compare": {
"type": "object",
"required": [
"date_from",
"date_to"
],
"properties": {
"date_to": {
"type": "string",
"description": "Inclusive end date (YYYY-MM-DD)"
},
"date_from": {
"type": "string",
"description": "Inclusive start date (YYYY-MM-DD)"
}
},
"description": "Compare window. Pass with baseline."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"op",
"value"
],
"properties": {
"op": {
"enum": [
"eq",
"neq",
"gt",
"lt",
"gte",
"lte",
"contains"
],
"type": "string",
"description": "Filter operator"
},
"field": {
"type": "string",
"description": "Filter field. Do not use event."
},
"value": {
"type": [
"string",
"number"
],
"description": "Value to compare against"
}
},
"description": "One filter"
},
"description": "Optional filters, same shape as query. Do not filter on event"
},
"project": {
"type": "string",
"description": "Project name or ID"
},
"baseline": {
"type": "object",
"required": [
"date_from",
"date_to"
],
"properties": {
"date_to": {
"type": "string",
"description": "Inclusive end date (YYYY-MM-DD)"
},
"date_from": {
"type": "string",
"description": "Inclusive start date (YYYY-MM-DD)"
}
},
"description": "Baseline window. Pass with compare."
},
"ship_date": {
"type": "string",
"description": "Ship date (YYYY-MM-DD, UTC). The ship day is in neither window"
},
"goal_event": {
"type": "string",
"maxLength": 256,
"description": "Goal event counted as unique converters."
},
"window_days": {
"type": "integer",
"maximum": 90,
"minimum": 1,
"multipleOf": 7,
"description": "Days per window, multiple of 7, from 1 to 90. Default 7."
},
"metric_event": {
"type": "string",
"maxLength": 256,
"minLength": 1,
"description": "Defaults to goal_event. Use page_view for hosted vitals."
},
"denominator_event": {
"type": "string",
"maxLength": 256,
"description": "Denominator event. Defaults to page_view."
},
"denominator_filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"op",
"value"
],
"properties": {
"op": {
"enum": [
"eq",
"neq",
"gt",
"lt",
"gte",
"lte",
"contains"
],
"type": "string",
"description": "Filter operator"
},
"field": {
"type": "string",
"description": "Denominator filter field. Do not use event."
},
"value": {
"type": [
"string",
"number"
],
"description": "Value to compare against"
}
},
"description": "One denominator filter"
},
"maxItems": 10,
"description": "Denominator-only filters. Max 10. Do not filter on event."
}
}
}| array |
| Group fields. At most one properties.<key>. |
| order_by | string | Field to sort by. Aggregate metrics such as p75 are allowed when requested |
| property | string | Property key to aggregate. Required for sum, avg, p50, p75, or p95. |
| date_from | string | Start date, ISO or Nd such as 30d. |
| count_mode | string | event_count mode. Default session_then_user. |
{
"type": "object",
"required": [
"project"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
"description": "Customer email, matched by HMAC and not stored."
},
"limit": {
"type": "number",
"default": 100,
"maximum": 1000,
"minimum": 1,
"description": "Max results (default 100, max 1000)"
},
"order": {
"enum": [
"asc",
"desc"
],
"type": "string",
"default": "desc",
"description": "Sort direction"
},
"date_to": {
"type": "string",
"description": "End date (ISO 8601). Defaults to today."
},
"filters": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"op",
"value"
],
"properties": {
"op": {
"enum": [
"eq",
"neq",
"gt",
"lt",
"gte",
"lte",
"contains"
],
"type": "string",
"description": "Filter operator"
},
"field": {
"type": "string",
"description": "Field: event, user_id, country, session_id, timestamp, or properties.*"
},
"value": {
"type": [
"string",
"number"
],
"description": "Value to compare against"
}
},
"description": "One filter"
},
"description": "Filters to apply"
},
"metrics": {
"type": "array",
"items": {
"enum": [
"event_count",
"unique_users",
"session_count",
"bounce_rate",
"avg_duration",
"sum",
"avg",
"p50",
"p75",
"p95"
],
"type": "string",
"description": "One metric name"
},
"default": [
"event_count"
],
"description": "Metrics. sum, avg, and percentiles need property."
},
"project": {
"type": "string",
"description": "Project name"
},
"group_by": {
"type": "array",
"items": {
"type": "string",
"pattern": "^(event|date|user_id|session_id|country|properties\\.[A-Za-z0-9_]{1,128})$",
"description": "One group field: event, date, user_id, session_id, country, or properties.<key>"
},
"default": [],
"description": "Group fields. At most one properties.<key>."
},
"order_by": {
"enum": [
"event_count",
"unique_users",
"session_count",
"date",
"event",
"sum",
"avg",
"p50",
"p75",
"p95"
],
"type": "string",
"description": "Field to sort by. Aggregate metrics such as p75 are allowed when requested"
},
"property": {
"type": "string",
"pattern": "^[A-Za-z0-9_]{1,128}$",
"description": "Property key to aggregate. Required for sum, avg, p50, p75, or p95."
},
"date_from": {
"type": "string",
"description": "Start date, ISO or Nd such as 30d."
},
"count_mode": {
"enum": [
"raw",
"session_then_user"
],
"type": "string",
"description": "event_count mode. Default session_then_user."
}
}
}