Skip to main content
Glama

stats_fetch

Read-onlyIdempotent

Returns aggregated statistics (views, starts, submissions) for a single period. Omit dateFrom/dateTo for alltime stats, provide both for a specific date range, or only provide one of them for an open-ended date range (e.g. dateFrom only for stats since a specific date, dateTo only for stats until a specific date).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateToNoEnd date (inclusive), format: YYYY-MM-DD. Omit both dateFrom and dateTo to get alltime stats.
dateFromNoStart date (inclusive), format: YYYY-MM-DD. Omit both dateFrom and dateTo to get alltime stats.
entityIdYesID of the entity: a project ID (integer as string) for "project", a user ID (integer as string) for "user", a Riddle UUID for "riddle". Get them from project_list, whoami and riddle_list respectively.
namespaceYesEntity type to fetch stats for: "project", "user" or "riddle".

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint: true and idempotentHint: true, so the safety profile is established. The description adds value by revealing the data scope ('views, starts, submissions') and explicitly documenting the open-ended date range behavior (dateFrom only, or dateTo only), a non-obvious edge case an agent would likely get wrong. It loses one point for not disclosing behavior on invalid entityIds or response shape etc., though these are less critical for a read-only tool with no output schema.

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?

Two sentences, zero redundancy. The first sentence front-loads the tool's purpose, and the second covers all the date combination scenarios. Every phrase earns its place. No repetition of what the schema already documents — the description focuses on the behavioral add-ons.

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?

The description thoroughly covers the date behavior for a 4-parameter tool with 100% schema coverage and read-only annotations. Since there's no output schema, one could argue the response format should be described to fully close the loop — the description says it returns 'aggregated statistics (views, starts, submissions)' but not their structure. This is a minor gap for an otherwise well-specified tool.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description's extra value comes from explaining the relational semantics between dateFrom and dateTo that the schema describes individually but not combinatorially. Specifically, the sentence about 'only provide one of them for an open-ended date range' adds meaning beyond the schema's individual parameter descriptions, so I'm bumping this to a 4.

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 clearly states the tool 'Returns aggregated statistics (views, starts, submissions) for a single period.' The verb+resource is specific and easily understood. While the 'single period' phrase implicitly differentiates from siblings like stats_overview_fetch and stats_*_breakdown, it doesn't explicitly name or contrast against them, which costs it a point toward a 5.

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?

The description provides excellent, actionable guidance on parameter combinations: 'Omit dateFrom/dateTo for alltime stats, provide both for a specific date range, or only provide one of them for an open-ended date range.' This is clear when-to-invoke context for the edge cases. However, it never discusses how this tool compares to the sibling breakdown/overview stat tools, so an agent might not know when to choose this variant over stats_project_breakdown or stats_user_breakdown.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clear, unique purpose. The riddle_builder_* variants are distinct by Riddle type, questionBank_* and riddleTemplate_* cover separate objects, and stats_* differ by scope. No two tools appear to perform the same function.

Naming Consistency4/5

Naming is largely consistent with domain prefixes (riddle_, questionBank_, riddleTemplate_, stats_, project_, palette_, reference_). Minor deviations like riddle_account_list vs. riddle_list and whoami (no prefix) and riddle_get_embed_code vs. riddle_qr_code slightly break the pattern, but overall it is predictable.

Tool Count2/5

With 62 tools, the server is far beyond the typical 3-15 well-scoped range. While each tool is functional and the breadth reflects the platform's complexity, the sheer number makes it heavy and increases the cognitive load for an agent, suggesting over-granularity.

Completeness5/5

The tool set covers the full lifecycle: create (builder variants), read (get/list), update (builder_update, rename), delete, publish/unpublish, tagging, templates, question banks, stats, projects, palettes, and reference documentation. No obvious domain operation is missing.

Resources