Skip to main content
Glama

Kinsta MCP by usefulapi

Get environment analytics

kinsta_get_analytics
Read-only

Traffic and resource analytics for one environment: visits, bandwidth, CDN bandwidth, disk space, response codes, visit dispersion, or the top countries, cities, browsers, hosts, referrers, user agents or ASNs. Choose a time_span or a from/to date range (yyyy-mm-dd). The company id is filled in automatically. GET /sites/environments/{env_id}/analytics/{metric}.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoRange end, yyyy-mm-dd.
fromNoRange start, yyyy-mm-dd (use with to).
metricYesWhich analytics report.
time_spanNoPeriod to report on: 24_hours, 7_days, 30_days or 60_days (default 7_days; disk space has no 24_hours).
time_zoneNoOnly for metric diskspace: hour offset from UTC such as 02:00 or -05:00 (default 00:00).
environment_idYesKinsta environment id (a UUID; from kinsta_list_sites with include_environments, or kinsta_list_site_environments).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.