Skip to main content
Glama

agentanalytics.sh: Analytics Your Agent Can Use

All sites overview

all_sites_overview
Read-only

Use when you need historical traffic across all projects, not one site. Returns total events, the active project count, the daily trend, and the top projects.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "all_sites_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax projects to include in the top-project list
periodNoComparison period7d

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful context beyond that by listing what the read returns (aggregates, trend, top projects) in the absence of an output schema. It does not cover pagination or cost/rate behavior, but that is minor for a non-destructive aggregate read.

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, zero filler: the selection condition is front-loaded and the return summary follows. Every clause conveys information an agent can act on.

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?

For a simple two-optional-parameter aggregate read with no output schema, the description supplies both when-to-use and the shape of the results, which is enough to call it correctly. The only gap is the lack of explicit alternative-tool routing among the many analytics siblings.

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 (limit, period) have descriptions and defaults, so the schema carries parameter meaning. The description only hints at them through 'daily trend' and 'top projects' without explaining how limit or period change the output. Baseline 3 is appropriate.

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 specific scope (historical traffic across ALL projects) and enumerates the returns: total events, active project count, daily trend, top projects. That clearly separates it from per-site tools. It stops short of naming a concrete sibling such as analytics_overview, so differentiation relies on the phrase 'not one site' rather than an explicit comparison.

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?

'Use when you need historical traffic across all projects, not one site' gives a clear selection condition plus an implicit exclusion. It does not state when NOT to use it in other terms (e.g., single-project analysis, real-time data), so an agent must infer those boundaries from the sibling list.

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