Skip to main content
Glama

Get analytics

get_stats
Read-onlyIdempotent

Page views, link clicks (with click-through rate per link) and top countries.

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

Input Schema

NameRequiredDescriptionDefault
daysNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

The annotations already declare this as a safe, idempotent, closed-world read, so the description is not needed to establish safety. It does add some value by enumerating the returned metrics including per-link CTR and a country breakdown, but with no output schema present it leaves open the shape and size of results (e.g., how many countries are returned, whether data is aggregated per day or per range) and says nothing about whose page the stats cover.

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?

One short sentence, front-loaded with the primary metric and grouping related ones in parentheses; nothing is redundant. It reads as a fragment rather than a sentence, but every word carries content.

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?

For a one-parameter analytics tool with no output schema, the description does the minimum by listing what comes back, but it omits the time-window scoping (the only input), the aggregation granularity, and the breadth of the country/link lists. An agent could call it correctly by guessing, but not confidently.

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

Parameters2/5

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

The single parameter 'days' has 0% description coverage in the schema, so the description is responsible for explaining it — yet it never mentions a time window, default of 30, or the 1–90 cap. The schema supplies only constraints and a default, leaving the meaning of the parameter, and the fact that the returned metrics are scoped to it, entirely to inference.

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 the concrete metrics returned (page views, link clicks, per-link click-through rate, top countries), which is enough for an agent to recognize this as the analytics-reporting tool and to separate it from the mutation-heavy siblings like add_link or set_theme. It is stated as a noun phrase rather than a verb+resource, but the title 'Get analytics' plus the metric list removes ambiguity.

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 when-to-use guidance at all: nothing says to call this when the user asks about performance, traffic, or geography, and no alternatives or exclusions are mentioned. The metric list implies a reporting purpose, but the agent must infer entirely when this tool is the right choice.

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