Skip to main content
Glama

agentanalytics.sh: Analytics Your Agent Can Use

Analytics overview

analytics_overview
Read-only

Use when you know the project and need its traffic trend. Returns a time series, event and user counts, and a country breakdown. For up or down versus the previous period, use analytics_insights. Synthetic demo for agentanalytics-demo. Sign in for your projects.

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": {
      "project": "<project>"
    },
    "name": "analytics_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoLookback window in days
projectYesProject name

Output Schema

NameRequiredDescriptionDefault
dataNo
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, closed-world), so the incremental bar is met by disclosure that the data is a synthetic demo for agentanalytics-demo and that sign-in is required for projects. Those are behaviorally significant facts an agent cannot get from annotations or schema.

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?

Four short front-loaded sentences with no filler: trigger first, then return contents, then the alternative, then environmental caveats. The 'For up or down versus the previous period' phrasing is slightly elliptical but still parses.

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 so return values need not be spelled out, and the description still covers selection, the alternative route, and authentication/demo context. Only marginal gaps remain, such as pagination or whether the time-series granularity follows the days window.

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%, with both 'project' and 'days' documented including default and min/max bounds, so the baseline is 3. The description adds no syntax, format, or naming detail beyond what the schema already carries.

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 ('need its traffic trend'), enumerates the returned content (time series, event and user counts, country breakdown), and names the sibling it is not (analytics_insights). An agent can select it without opening the schema.

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?

Gives an explicit trigger ('when you know the project and need its traffic trend') plus a named alternative with its selecting condition ('For up or down versus the previous period, use analytics_insights'). It lacks negative exclusions against other overview/breakdown siblings, but the guidance is concrete rather than 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.

Resources