Skip to main content
Glama

get_website_analytics

Read-only

First-party website analytics for one product: visitors, sessions, bounce, avg. duration, pages per session, pageviews, daily series, entry/exit pages, top pages/referrers, acquisition channels, UTM sources, countries/devices, AI crawler visits (AI answers / indexing / training, with a partial flag when a crawler query failed), and conversion events + goals when the plan carries the analytics_conversion facility

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "productKey": "<productKey>"
    },
    "name": "get_website_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoDefaults to 7d
productKeyYesThe product key (see list_products)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

The annotations already establish that this is a non-destructive, read-only, non-open-world operation, so the description does not need to repeat safety traits. It adds useful behavioral context by noting the partial flag when a crawler query fails and that conversion events and goals appear only when the plan includes the analytics_conversion facility.

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 front-loaded with the resource and scope, followed by a dense but purposeful list of returned metrics. It is a single long sentence, which makes it less scannable than it could be, but the enumeration appears to earn its place because no output schema is supplied.

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?

Given the moderate complexity, complete schema coverage, and read-only annotations, the definition is largely complete. It compensates for the lack of an output schema by listing the analytics dimensions returned, and it notes conditional data availability, though it lacks explicit alternative-tool guidance.

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%, so both parameters are documented in the schema and baseline credit is appropriate. The description adds only marginal parameter meaning by saying the analytics are for one product, but it does not explain the range values or other parameter behavior beyond what the schema already provides.

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 a specific resource and scope: first-party website analytics for one product, then enumerates the exact metrics and dimensions available. It does not use an explicit action verb, but the scope and metric list make the tool's purpose distinguishable from siblings like get_site_report or get_insights.

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 explicit guidance about when to use this tool versus alternatives, and no sibling tools are named. The only usage signal is the implied scope of 'for one product,' which does not tell an agent when to prefer this over get_site_report or get_insights.

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