Skip to main content
Glama

Site analytics

site_analytics
Read-onlyIdempotent

(needs account token) Returns visitor numbers for a site on this account: visitors, page views, top pages, referrers, countries and devices, plus a one-sentence summary. Same numbers as the dashboard. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteYesThe address of a site on this account, for example myproject.dropthehassle.app.
periodNoday, week, month (default) or year.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / site / description
      Previous value: -"The address of a site on this account (from list_sites)."New value: +"The address of a site on this account, for example myproject.dropthehassle.app."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the 'Read-only' clause is partly redundant, but the description adds real value beyond structured fields: the account-token authentication requirement and the guarantee that these are 'the same numbers as the dashboard' (data provenance/consistency). No destructive or side-effect behavior to disclose for a pure reader.

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?

A single dense sentence that front-loads the auth prerequisite before the returned data. No filler; the metric enumeration is informative rather than padding, though the sentence is long enough that structure could be slightly tighter.

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

Completeness4/5

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

With no output schema, the description carries the return-value burden and does so by enumerating every metric returned plus the one-sentence summary, which is exactly what an agent needs. Prerequisite and read-only nature are covered, leaving only minor gaps like pagination/limits.

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

Parameters3/5

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

Schema description coverage is 100% and both parameters (site, period with enum) are fully documented in the schema. The description adds no syntax or format detail beyond that, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('Returns visitor numbers for a site on this account') and enumerates the exact metrics returned (visitors, page views, top pages, referrers, countries, devices, summary). This clearly separates it from siblings like set_analytics_level and site_status.

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

Usage Guidelines3/5

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

The prerequisite ('needs account token') is stated, which is genuine usage context, but there is no explicit when-to-use/when-not guidance and no routing to alternatives such as site_status or set_analytics_level. Usage is only implied.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.