Skip to main content
Glama

agentanalytics.sh: Analytics Your Agent Can Use

Analytics heatmap

analytics_heatmap
Read-only

Use when you need which weekday and hour get traffic. Returns a day-of-week by hour grid and the peak. Times are UTC. 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_heatmap"
  }
}

Input Schema

NameRequiredDescriptionDefault
projectYesProject name

Output Schema

NameRequiredDescriptionDefault
dataNo
typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds non-obvious behavior by stating the return shape (grid plus peak), that times are UTC, and that the data is a synthetic demo set for agentanalytics-demo. It also flags an auth requirement ("Sign in for your projects"), which the annotations do not convey.

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 sentences with the selection trigger front-loaded, then return shape, then the timezone caveat, then dataset/auth notes. Nothing is redundant, though the "Synthetic demo" line reads as environment metadata inserted into a functional description.

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 summarizes the grid-plus-peak result. The UTC note and demo-data/auth caveats cover the likely failure modes for an agent calling a single-project analytical read.

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?

There is a single parameter with 100% schema description coverage, so the schema already defines "project". The description never mentions the parameter, adds no naming or format detail, and therefore sits at the baseline for a fully documented one-parameter schema.

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 shape: a day-of-week by hour traffic grid plus the peak value. That is enough to distinguish it from the list/metric siblings (overview, sessions, pages) without opening the schema, though it never explicitly contrasts itself with them.

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 which weekday and hour get traffic" gives a clear selecting condition for this tool versus the other analytics tools. It stops short of naming an alternative or stating when not to use it (e.g. when raw session counts are wanted).

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