Skip to main content
Glama

Get Visit Analytics

kinsta_analytics_visits
Read-onlyIdempotent

Retrieve visitor analytics for a Kinsta environment by environment ID, with optional custom date ranges and time spans.

Instructions

Get visitor analytics for an environment.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoCustom end date (YYYY-MM-DD)
fromNoCustom start date (YYYY-MM-DD)
env_idYesThe environment ID
time_spanNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

C2.7/5.0
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

The annotations already indicate read-only, idempotent, and open-world behavior, but the description adds no behavioral context beyond that. It does not mention default time ranges, how from/to and time_span interact, response shape, or any aggregation behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no wasted words. It is concise, though brevity comes at the cost of missing useful context.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with four parameters, no output schema, and many closely related analytics siblings, this description is too sparse. An agent lacks the information needed to correctly choose this tool and disambiguate date-window behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already describes env_id, from, and to, but the description adds no parameter-level meaning. The relationship between time_span and the custom date parameters is unexplained, leaving a notable semantic gap for a parameter that has no schema description.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a clear verb ('Get') and resource ('visitor analytics') for an environment, so the basic purpose is identifiable. However, it does not differentiate from the many sibling analytics tools, especially kinsta_analytics_visits-usage, so an agent may still struggle to select this exact tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to use this tool versus alternatives, or how it differs from the many other kinsta_analytics_* tools. No exclusions, prerequisites, or selection criteria are provided, leaving the context entirely to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools