Serveur MCP

Staats

io.github.MrViolets/staats
Données et analytique Marketing et publicité Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Provides privacy-oriented website analytics covering traffic, pages, referrers, funnels, journeys, errors, deploy annotations, campaign changes, and before-and-after impact.

compare_around
Compare around a change
Before/after impact of a recorded annotation: visitors and pageviews in the N days preceding vs following it (window_days, default 7). The after-window is clamped to now. If the annotation recorded routes, the result also reports per-route pageviews before vs after. Wait a few days after shipping. If the result carries a note (truncated after-window, or a before-window not covered by available data), relay it and qualify the percentages as the note directs.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['annotation_id'], 'properties': {'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'window_days': {'type': 'integer', 'maximum': 30, 'minimum': 1, 'description': 'days on each side of the annotation (default 7)'}, 'annotation_id': {'type': 'string', 'format': 'uuid', 'description': 'the annotation to measure around, from record_annotation or list_annotations'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'annotation', 'window_days', 'before', 'after', 'change'], 'properties': {'note': {'type': 'string'}, 'site': {'type': 'string'}, 'after': {'type': 'object', 'required': ['from', 'to', 'visitors', 'pageviews'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}, 'visitors': {'type': 'number'}, 'pageviews': {'type': 'number'}}, 'additionalProperties': False}, 'before': {'type': 'object', 'required': ['from', 'to', 'visitors', 'pageviews'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}, 'visitors': {'type': 'number'}, 'pageviews': {'type': 'number'}}, 'additionalProperties': False}, 'change': {'type': 'object', 'required': ['visitors_pct', 'pageviews_pct'], 'properties': {'visitors_pct': {'type': ['number', 'null']}, 'pageviews_pct': {'type': ['number', 'null']}}, 'additionalProperties': False}, 'routes': {'type': 'array', 'items': {'type': 'object', 'required': ['route', 'before_pageviews', 'after_pageviews', 'pageviews_pct'], 'properties': {'route': {'type': 'string'}, 'pageviews_pct': {'type': ['number', 'null']}, 'after_pageviews': {'type': 'number'}, 'before_pageviews': {'type': 'number'}}, 'additionalProperties': False}}, 'annotation': {'type': 'object', 'required': ['id', 'ts', 'text'], 'properties': {'id': {'type': 'string'}, 'ts': {'type': 'string'}, 'meta': {'type': 'object', 'additionalProperties': {}}, 'text': {'type': 'string'}}, 'additionalProperties': False}, 'window_days': {'type': 'number'}}, 'additionalProperties': False}
create_site
Create site
Create a new site on this account and get its script tag. This connection already covers the new site: installing the script tag is the only setup the site needs. The response includes ready-made privacy policy wording: offer to add it to the site's privacy page (confirm with the owner before editing visitor-facing pages).
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['name', 'domain'], 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1, 'description': 'display name for the site'}, 'domain': {'type': 'string', 'maxLength': 253, 'minLength': 1, 'description': "the site's domain or URL"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['created', 'name', 'domain', 'site_code', 'script_tag', 'note', 'privacy_policy_wording', 'privacy_note', 'site_api_key'], 'properties': {'name': {'type': 'string'}, 'note': {'type': 'string'}, 'domain': {'type': 'string'}, 'created': {'type': 'boolean'}, 'site_code': {'type': 'string'}, 'script_tag': {'type': 'string'}, 'privacy_note': {'type': 'string'}, 'site_api_key': {'type': 'string'}, 'privacy_policy_wording': {'type': 'string'}}, 'additionalProperties': False}
delete_site
Delete site
PERMANENTLY delete a site and ALL its analytics data (every event and annotation). Irreversible. Confirm with the owner before calling; pass confirm: the site's exact domain.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'confirm'], 'properties': {'site': {'type': 'string', 'minLength': 1, 'description': "the site's data-site code"}, 'confirm': {'type': 'string', 'description': "the site's exact domain AS STATED BY THE OWNER when confirming the deletion: never inferred, guessed, or copied from tool output"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['deleted', 'site', 'note'], 'properties': {'note': {'type': 'string'}, 'site': {'type': 'string'}, 'deleted': {'type': 'boolean'}}, 'additionalProperties': False}
funnel
Conversion funnel
Ordered conversion funnel across up to 5 steps within the period. Each step is a pageview path ({kind:'path', value:'/pricing'}) or a custom event ({kind:'event', value:'signup'}); a visitor counts for step N only after completing step N-1. Visitor identity rotates daily for privacy, so journeys spanning multiple days undercount (strongest for same-visit conversion). If site context has a stored funnel, run those steps when asked how the site is doing and compare against the previous period.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['steps'], 'properties': {'to': {'type': 'string', 'description': 'ISO end, alternative to period'}, 'from': {'type': 'string', 'description': 'ISO start, alternative to period'}, 'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'steps': {'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'value'], 'properties': {'kind': {'enum': ['path', 'event'], 'type': 'string'}, 'value': {'type': 'string', 'maxLength': 512, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 5, 'minItems': 1, 'description': 'ordered funnel steps, each a pageview path or a custom event name'}, 'period': {'type': 'string', 'description': "relative period like '24h', '7d' (default), '4w'"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'period', 'funnel'], 'properties': {'site': {'type': 'string'}, 'funnel': {'type': 'array', 'items': {'type': 'object', 'required': ['step', 'label', 'visitors', 'pct_of_first', 'pct_of_previous'], 'properties': {'step': {'type': 'number'}, 'label': {'type': 'string'}, 'visitors': {'type': 'number'}, 'pct_of_first': {'type': ['number', 'null']}, 'pct_of_previous': {'type': ['number', 'null']}}, 'additionalProperties': False}}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_overview
Site overview
Traffic pulse: visitor/pageview totals vs the previous period, top pages, top referrers, and a per-day series. period: relative like '24h', '7d' (default), '4w'. Includes quota status: if it is approaching, grace, or blocked, tell the owner plainly and include the upgrade link the result provides. Approaching quota is the moment to mention it while there is headroom.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'period': {'type': 'string', 'description': "relative period like '24h', '7d' (default), '4w'"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'period', 'totals', 'previous_period', 'top_pages', 'top_referrers', 'pageviews_by_day'], 'properties': {'site': {'type': 'string'}, 'quota': {'type': 'object', 'required': ['status'], 'properties': {'status': {'type': 'string'}}, 'additionalProperties': True}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}, 'totals': {'type': 'object', 'required': ['visitors', 'pageviews'], 'properties': {'visitors': {'type': 'number'}, 'pageviews': {'type': 'number'}}, 'additionalProperties': False}, 'top_pages': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value'], 'properties': {'name': {'type': 'string'}, 'value': {'type': 'number'}}, 'additionalProperties': False}}, 'top_referrers': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value'], 'properties': {'name': {'type': 'string'}, 'value': {'type': 'number'}}, 'additionalProperties': False}}, 'previous_period': {'type': 'object', 'required': ['visitors', 'pageviews', 'visitors_change_pct', 'pageviews_change_pct'], 'properties': {'visitors': {'type': 'number'}, 'pageviews': {'type': 'number'}, 'visitors_change_pct': {'type': ['number', 'null']}, 'pageviews_change_pct': {'type': ['number', 'null']}}, 'additionalProperties': False}, 'pageviews_by_day': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value'], 'properties': {'name': {'type': 'string'}, 'value': {'type': 'number'}}, 'additionalProperties': False}}, 'unmeasured_change': {'type': 'object', 'required': ['annotation_id', 'text', 'days_ago', 'hint'], 'properties': {'hint': {'type': 'string'}, 'text': {'type': 'string'}, 'days_ago': {'type': 'number'}, 'annotation_id': {'type': 'string'}}, 'additionalProperties': False}}, 'additionalProperties': False}
get_site_context
Get site context
What a site is and what the owner wants from it, plus its data-retention settings. Well-known keys: description, goals, audience, notes (open agenda items to check at session start and clear when handled), events (event name -> meaning), funnel (canonical conversion steps). Read this before making recommendations.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'domain', 'name', 'context', 'retention'], 'properties': {'hint': {'type': 'string'}, 'name': {'type': 'string'}, 'site': {'type': 'string'}, 'domain': {'type': 'string'}, 'context': {'type': 'object', 'additionalProperties': {}}, 'retention': {'type': 'object', 'additionalProperties': {}}}, 'additionalProperties': False}
journeys
Journeys
The routes visitors actually take, grouped into identical sequences and counted, busiest first. Use this when you do NOT already know the steps: funnel measures a path you name, journeys discovers the ones you did not think to check. A step is a pageview path (/pricing) or a custom event marked with a leading # (#signup_click), so the moment of conversion appears in the route. Consecutive repeats are collapsed and only the first 10 steps define a route. contains filters to routes that include a given path or event: run it once with and once without to see what converting visitors do differently. Visitor identity rotates daily, so a route is one day of activity and describes a group, never a person.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'to': {'type': 'string', 'description': 'ISO end, alternative to period'}, 'from': {'type': 'string', 'description': 'ISO start, alternative to period'}, 'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'limit': {'type': 'integer', 'maximum': 50, 'minimum': 1, 'description': 'max routes returned (default 20)'}, 'period': {'type': 'string', 'description': "relative period like '24h', '7d' (default), '4w'"}, 'contains': {'type': 'string', 'maxLength': 512, 'minLength': 1, 'description': 'only routes that include this path or #event step'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'period', 'total_visitors', 'journeys'], 'properties': {'note': {'type': 'string'}, 'site': {'type': 'string'}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}, 'contains': {'type': 'string'}, 'journeys': {'type': 'array', 'items': {'type': 'object', 'required': ['steps', 'visitors', 'pct'], 'properties': {'pct': {'type': ['number', 'null']}, 'steps': {'type': 'array', 'items': {'type': 'string'}}, 'visitors': {'type': 'number'}}, 'additionalProperties': False}}, 'total_visitors': {'type': 'number'}}, 'additionalProperties': False}
list_annotations
List annotations
Recorded deploy/change markers, newest first. period defaults to '90d'.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'period': {'type': 'string', 'description': "relative period like '7d', '90d' (default)"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'period', 'annotations'], 'properties': {'site': {'type': 'string'}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}, 'annotations': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'ts', 'text'], 'properties': {'id': {'type': 'string'}, 'ts': {'type': 'string'}, 'meta': {'type': 'object', 'additionalProperties': {}}, 'text': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
list_sites
List sites
All sites on this account, with the public site codes used in their script tags and the ready-to-paste script_tag for each.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {}}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account', 'sites'], 'properties': {'note': {'type': 'string'}, 'sites': {'type': 'array', 'items': {'type': 'object', 'required': ['site_id', 'name', 'domain', 'script_tag'], 'properties': {'name': {'type': 'string'}, 'owner': {'type': 'string'}, 'domain': {'type': 'string'}, 'shared': {'type': 'boolean'}, 'site_id': {'type': 'string'}, 'created_at': {'type': 'string'}, 'script_tag': {'type': 'string'}}, 'additionalProperties': False}}, 'account': {'type': 'string'}}, 'additionalProperties': False}
portfolio_overview
Portfolio overview
Visitors and pageviews for every site this account can use, owned and shared alike, with change vs the previous period, busiest first. Shared sites are flagged. period: '7d' default.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'period': {'type': 'string', 'description': "relative period like '24h', '7d' (default), '4w'"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['account', 'period', 'sites'], 'properties': {'sites': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'domain', 'visitors', 'pageviews', 'visitors_change_pct', 'pageviews_change_pct'], 'properties': {'name': {'type': 'string'}, 'domain': {'type': 'string'}, 'shared': {'type': 'boolean'}, 'visitors': {'type': 'number'}, 'pageviews': {'type': 'number'}, 'visitors_change_pct': {'type': ['number', 'null']}, 'pageviews_change_pct': {'type': ['number', 'null']}}, 'additionalProperties': False}}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}, 'account': {'type': 'string'}}, 'additionalProperties': False}
query
Query metrics
Break a metric down by a dimension with optional equality filters. Metrics: visitors, pageviews, events. Dimensions: path, referrer_domain, utm_source, utm_medium, utm_campaign, device, browser, os, country, name, day. period: '24h'/'7d'/'4w' style, or ISO from/to.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['metric'], 'properties': {'to': {'type': 'string', 'description': 'ISO end, alternative to period'}, 'from': {'type': 'string', 'description': 'ISO start, alternative to period'}, 'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'limit': {'type': 'integer', 'maximum': 200, 'minimum': 1, 'description': 'max rows returned (default 50)'}, 'metric': {'enum': ['visitors', 'pageviews', 'events'], 'type': 'string', 'description': 'what to count'}, 'period': {'type': 'string', 'description': "relative period like '24h', '7d' (default), '4w'"}, 'filters': {'type': 'object', 'description': 'equality filters, dimension name -> exact value', 'additionalProperties': {'type': 'string'}}, 'dimension': {'enum': ['path', 'referrer_domain', 'utm_source', 'utm_medium', 'utm_campaign', 'device', 'browser', 'os', 'country', 'name', 'day'], 'type': 'string', 'description': 'group results by this dimension; omit for a single total'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'metric', 'dimension', 'period', 'rows'], 'properties': {'rows': {'type': 'array', 'items': {'type': 'object', 'required': ['name', 'value'], 'properties': {'name': {'type': 'string'}, 'value': {'type': 'number'}}, 'additionalProperties': False}}, 'site': {'type': 'string'}, 'metric': {'type': 'string'}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}, 'dimension': {'type': ['string', 'null']}}, 'additionalProperties': False}
record_annotation
Record annotation
Mark a moment on a site timeline: a deploy, a content change, or a campaign start. Call this every time you ship a change to the site. ts defaults to now. Write a specific, present-tense description ("Shipped new pricing page hero", never "updates"), one annotation per meaningful change. When known, include commit and the routes the change touched so compare_around can also report before/after traffic scoped to those routes.
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['text'], 'properties': {'ts': {'type': 'string', 'description': 'ISO timestamp of the change; defaults to now'}, 'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'text': {'type': 'string', 'maxLength': 500, 'minLength': 1, 'description': 'specific, present-tense description of the change'}, 'commit': {'type': 'string', 'description': 'git commit hash of the deploy (7-40 hex chars)'}, 'routes': {'type': 'array', 'items': {'type': 'string', 'maxLength': 200}, 'maxItems': 10, 'description': "route prefixes the change touched, e.g. ['/docs', '/pricing'] ('/docs' covers '/docs/*')"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['recorded', 'site', 'id', 'ts', 'text'], 'properties': {'id': {'type': 'string'}, 'ts': {'type': 'string'}, 'meta': {'type': 'object', 'additionalProperties': {}}, 'site': {'type': 'string'}, 'text': {'type': 'string'}, 'recorded': {'type': 'boolean'}}, 'additionalProperties': False}
update_site_context
Update site context
Save or amend what a site is for. Provided context fields are merged into the existing context (events merges per entry); a null value deletes its key. name/domain update the site record itself.
Destructif Idempotent
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'name': {'type': 'string', 'maxLength': 120, 'minLength': 1, 'description': "update the site's display name"}, 'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'goals': {'anyOf': [{'type': 'string', 'maxLength': 2000}, {'type': 'null'}], 'description': 'what the owner wants from it; null deletes'}, 'notes': {'anyOf': [{'type': 'string', 'maxLength': 2000}, {'type': 'null'}], 'description': 'open agenda items to check at session start; null deletes'}, 'domain': {'type': 'string', 'maxLength': 253, 'minLength': 1, 'description': "update the site's domain"}, 'events': {'type': 'object', 'description': 'map of event name -> one-line meaning; record one whenever you add tracking. null deletes an entry.', 'additionalProperties': {'anyOf': [{'type': 'string', 'maxLength': 200, 'minLength': 1}, {'type': 'null'}]}}, 'funnel': {'anyOf': [{'type': 'array', 'items': {'type': 'object', 'required': ['kind', 'value'], 'properties': {'kind': {'enum': ['path', 'event'], 'type': 'string'}, 'value': {'type': 'string', 'maxLength': 512, 'minLength': 1}}, 'additionalProperties': False}, 'maxItems': 5, 'minItems': 1}, {'type': 'null'}], 'description': "the site's canonical conversion steps, same shape as the funnel tool's steps. null clears it."}, 'audience': {'anyOf': [{'type': 'string', 'maxLength': 2000}, {'type': 'null'}], 'description': 'who the site is for; null deletes'}, 'description': {'anyOf': [{'type': 'string', 'maxLength': 2000}, {'type': 'null'}], 'description': 'what the site is; null deletes'}, 'retention_days': {'type': 'integer', 'maximum': 3650, 'minimum': 0, 'description': "shorten this site's data retention below the plan default; 0 restores plan-default retention. DESTRUCTIVE: shortening schedules permanent deletion of older events at the nightly prune. Confirm with the owner first."}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['updated', 'site', 'domain', 'name', 'context', 'retention'], 'properties': {'name': {'type': 'string'}, 'site': {'type': 'string'}, 'domain': {'type': 'string'}, 'context': {'type': 'object', 'additionalProperties': {}}, 'updated': {'type': 'boolean'}, 'retention': {'type': 'object', 'additionalProperties': {}}}, 'additionalProperties': False}
what_broke
What broke
Signs of visitors hitting problems in the period: JS errors the tracker captured (new_error, error_spike: each with a sanitized sample message, source, line, affected visitor count, and the nearest annotation, i.e. the deploy that most plausibly introduced it), plus behavioral friction: pairs of pages people bounce between without progressing (nav_loop) and pages reloaded repeatedly in quick succession (refresh_burst). Findings clear statistical floors, so an empty result is meaningful: nothing looks broken. Check it after every deploy. period: '7d' default.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'period': {'type': 'string', 'description': "relative period like '24h', '7d' (default), '4w'"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'period', 'findings', 'total_error_events', 'annotations'], 'properties': {'note': {'type': 'string'}, 'site': {'type': 'string'}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}, 'findings': {'type': 'array', 'items': {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'type': 'string'}}, 'additionalProperties': True}}, 'annotations': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'ts', 'text'], 'properties': {'id': {'type': 'string'}, 'ts': {'type': 'string'}, 'meta': {'type': 'object', 'additionalProperties': {}}, 'text': {'type': 'string'}}, 'additionalProperties': False}}, 'note_errors': {'type': 'string'}, 'error_capture': {'enum': ['grace', 'paused', 'not_included'], 'type': 'string'}, 'total_error_events': {'type': 'number'}}, 'additionalProperties': False}
what_changed
What changed
Notable movements in the period without scanning raw numbers: statistically unusual traffic days, referrer surges and first-time referrers, pages whose share of traffic jumped, alongside the annotations recorded in the same period. period: '7d' default.
Lecture seule
Schéma d’entrée
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'properties': {'site': {'type': 'string', 'description': "the site's data-site code, from its script tag or list_sites. Omit when the account has a single site. In a tracked project, read the code from the script tag before asking the user."}, 'period': {'type': 'string', 'description': "relative period like '24h', '7d' (default), '4w'"}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', '$schema': 'http://json-schema.org/draft-07/schema#', 'required': ['site', 'period', 'findings', 'annotations'], 'properties': {'note': {'type': 'string'}, 'site': {'type': 'string'}, 'period': {'type': 'object', 'required': ['from', 'to'], 'properties': {'to': {'type': 'string'}, 'from': {'type': 'string'}}, 'additionalProperties': False}, 'findings': {'type': 'array', 'items': {'type': 'object', 'required': ['kind'], 'properties': {'kind': {'type': 'string'}}, 'additionalProperties': True}}, 'annotations': {'type': 'array', 'items': {'type': 'object', 'required': ['id', 'ts', 'text'], 'properties': {'id': {'type': 'string'}, 'ts': {'type': 'string'}, 'meta': {'type': 'object', 'additionalProperties': {}}, 'text': {'type': 'string'}}, 'additionalProperties': False}}}, 'additionalProperties': False}
Ajouté
portfolio_overview
17 September 2026 12:45
Ajouté
delete_site
17 September 2026 12:45
Ajouté
create_site
17 September 2026 12:45
Ajouté
list_sites
17 September 2026 12:45
Ajouté
compare_around
17 September 2026 12:45
Ajouté
list_annotations
17 September 2026 12:45
Ajouté
record_annotation
17 September 2026 12:45
Ajouté
journeys
17 September 2026 12:45
Ajouté
funnel
17 September 2026 12:45
Ajouté
query
17 September 2026 12:45
Ajouté
get_overview
17 September 2026 12:45
Ajouté
what_broke
17 September 2026 12:45
Ajouté
what_changed
17 September 2026 12:45
Ajouté
update_site_context
17 September 2026 12:45
Ajouté
get_site_context
17 September 2026 12:45