Skip to main content
Glama

Get analytics overview

get_analytics_overview
Read-onlyIdempotent

One-call site overview for a date window (default last 30 days, max 31): visitors, page views, bounce rate, average session time, revenue, and conversion rate, plus the top 5 pages and top 5 traffic sources. Start here for questions like 'how is the site doing'.

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": {
      "site_id": "<site_id>"
    },
    "name": "get_analytics_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
site_idYesSite id from list_sites (UUID)
end_dateNoISO date (YYYY-MM-DD). Defaults to today.
start_dateNoISO date (YYYY-MM-DD). Defaults to 30 days before end_date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds meaningful constraints not in the annotations: a max 31-day window, a default of last 30 days, and hard caps of top 5 on pages and sources. It doesn't discuss error or empty-result behavior, which keeps it below a 5.

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?

Two sentences, front-loaded with the core capability and return contents, followed by a compact usage cue. No filler, and the date-window constraint is tucked inline without derailing the main clause.

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

Completeness5/5

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

There is no output schema, yet the description fully covers the return shape by listing every metric and the two top-5 lists. Combined with the date-window rules and a single required parameter documented in the schema, an agent has everything needed to call this correctly.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real semantic value by stating the default window (last 30 days), the maximum span (31 days), and that start_date defaults relative to end_date — a constraint absent from the schema itself.

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?

The description names a specific verb and resource ('one-call site overview for a date window') and enumerates exactly what it returns: visitors, page views, bounce rate, average session time, revenue, conversion rate, top 5 pages, top 5 traffic sources. This distinguishes it from siblings like get_top_pages and get_traffic_sources, which return slices of the same data.

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 gives a clear entry-point cue ('Start here for questions like "how is the site doing"') and 'one-call overview' implies drill-down tools exist for detail. It does not explicitly name which sibling to use for follow-up questions, so it stops short of a full when/when-not/alternatives statement.

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