Skip to main content
Glama

pangea_get_analytics_stats

Fetch aggregated cookieless web analytics for an HTTP project to review pageviews, visitors, top pages, referrers, countries, devices, and browsers over 24h, 7d, or 30d.

Instructions

Fetch aggregated cookieless web analytics stats (pageviews, visitors, top pages, referrers, countries, devices, browsers) for an HTTP project.

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": "pangea_get_analytics_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoTime window (default: 7d)
projectNoOptional project ID (prj_...) or name
directoryNoOptional local directory containing pangea.yaml
project_idNoOptional project ID (prj_...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. "Fetch" and "aggregated" imply a read-only operation, but the description says nothing about whether analytics must be enabled for the project, permission requirements, result limits or pagination, or behavior when a project has no data. For a data-retrieval tool with zero annotation coverage, these are meaningful gaps.

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?

A single front-loaded sentence with the verb first and the metric list in a parenthetical. No filler, no restatement of the name, and nothing that could be cut without losing information.

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

Completeness3/5

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

All four parameters are optional and there is no output schema, so the description is not obligated to explain return values. However, it leaves unresolved the interaction between the redundant "project" and "project_id" parameters and the "directory" resolution path, which is the main ambiguity an agent would hit when calling this tool.

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 the enum values for "range", the prj_... formats for "project"/"project_id", and the meaning of "directory" are already documented in the schema. The description adds only the implicit scoping that stats belong to an HTTP project, and does not clarify how the overlapping "project" and "project_id" parameters interact or which takes precedence.

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 uses a specific verb ("Fetch") and a well-defined resource ("aggregated cookieless web analytics stats") and even enumerates the metrics returned (pageviews, visitors, top pages, referrers, countries, devices, browsers). It is clear what the tool does, but it never distinguishes itself from the closely named sibling pangea_get_analytics, leaving an agent to infer which one returns stats versus configuration.

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 when-to-use guidance, no when-not-to-use guidance, and no named alternative. The phrase "for an HTTP project" implies the scope of usage, but an agent comparing this to pangea_get_analytics or the enable/disable analytics siblings gets no routing help.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools