Skip to main content
Glama

Get project stats

get_stats
Read-onlyIdempotent

How a project is doing: views and visitors over the last days (with the change from the period before), emails captured, and where visitors come from, which countries and how many are on phones. Use it when the user asks how their page or link is doing.

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

Input Schema

NameRequiredDescriptionDefault
daysNoHow many days back, default 14
projectYesThe project's name (e.g. spring-menu), its droply.page link, or its id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds one real behavioral detail: results include a delta against the preceding period of equal length. Beyond that it says nothing about aggregation lag, empty-data behavior, or whether unfiltered metrics include bots.

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?

Two sentences, content first and usage trigger second, with no filler. The parenthetical about the prior period interrupts the metric list slightly, but the overall shape is front-loaded and efficient.

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

Completeness5/5

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

There is no output schema, so the description carries the burden of describing returns and does so concretely. With both parameters fully documented in the schema and annotations covering safety, an agent has everything needed to call this correctly.

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 coverage is 100% and both parameters are already documented, including the 1–90 bound and default of 14. The phrase "over the last days (with the change from the period before)" confirms that days defines a trailing window and that the comparison window is derived from it — a small but genuine addition over the schema.

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?

The description names the resource (a project) and enumerates the specific outputs — views, visitors, emails captured, countries, phone share, plus period-over-period change. That makes it clearly distinct from siblings like get_project (project metadata) or list_projects without needing to name 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?

It gives an explicit trigger: "Use it when the user asks how their page or link is doing." It does not state when to prefer get_project or list_projects instead, so the routing guidance stops short of full exclusion rules.

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