Skip to main content
Glama

Visitors, speed and SEO of a site

get_stats
Read-onlyIdempotent

Use when the user asks how many visitors their site gets or how fast and well-built it is: views per day (30 days), top pages, referring websites, and the phone scores (performance, accessibility, best practices, SEO) with the issues to fix.

Input Schema

NameRequiredDescriptionDefault
site_idYesThe site id: the first part of the site URL, e.g. "bella-roma" for https://bella-roma.ginta.page (see list_sites).

Output Schema

NameRequiredDescriptionDefault
textYesThe answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).
speedYesThe latest phone speed check (PageSpeed scores and issues).
visitorsYesPage views in the last 30 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / text
      Added value: +{
      +  "description": "The answer in words, the same as the text content: read it (for get_guide the whole guide, for get_site the files' contents).",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "visitors",
      -  "speed"
      -]New value: +[
      +  "visitors",
      +  "speed",
      +  "text"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive behaviour, so the safety profile is covered. The description adds genuinely useful behavioural context beyond them: the fixed 30-day aggregation window and the specific metric families returned. It does not discuss data freshness, rate limits, or permission requirements, so it is not fully complete.

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

Conciseness5/5

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

One sentence, front-loaded with the usage trigger and followed by the returned metric inventory. No filler, no repetition of the title, and every clause carries information an agent needs.

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?

An output schema exists and annotations cover safety, so the description need only frame intent and content, which it does. The 30-day window and metric list give enough to decide to call it. Minor gaps remain around result freshness and any limits on historical data available.

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?

With a single required parameter at 100% schema description coverage, the schema already explains site_id with a concrete URL example and a pointer to list_sites. The description adds no further meaning about that parameter. Baseline 3 is appropriate when the schema does all the work.

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 names the resource and scope concretely: views per day over 30 days, top pages, referring websites, and phone scores for performance, accessibility, best practices and SEO. It is clearly distinguishable from sibling tools like get_site or list_sites by the metrics it returns. It stops short of explicitly naming a contrasting sibling, so a 4 rather than a 5.

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

Usage Guidelines4/5

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

It opens with an explicit trigger condition: 'Use when the user asks how many visitors their site gets or how fast and well-built it is.' That maps user intent to this tool well. There is no when-not guidance or named alternative for adjacent questions (e.g. site metadata), which keeps it below 5.

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.

Resources