Skip to main content
Glama

Get analytics summary

get_analytics_summary
Read-onlyIdempotent

Summarise the account's performance over a trailing window: page views, gross and net revenue, and active subscriber count.

Use it for 'how did I do this month' style questions. These are whole-account totals — it cannot break results down per article, and it covers a trailing window ending today rather than an arbitrary date range.

Reads only. Requires an API key. Revenue is returned in cents (revenue_cents gross, revenue_net_cents after fees) with a formatted revenue_usd added for convenience — read the cents fields when doing arithmetic. Zero views is a real answer, not an error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoSize of the trailing window in days, ending today. 1-365, defaults to 30. Use 7 for a week, 365 for a year.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed1 schema field changed
    • changedInput schema / properties / days / description
      Previous value: -"Number of days to look back (default: 30, max: 365)"New value: +"Size of the trailing window in days, ending today. 1-365, defaults to 30. Use 7 for a week, 365 for a year."
  2. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive. The description adds meaningful context beyond annotations: requires an API key, revenue is returned in cents with a formatted convenience field, and zero views is a real answer not an error. No contradiction.

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?

Three sentences, each carrying distinct valuable information: purpose/metrics, usage boundaries, and operational details (auth, units, edge case). No filler or redundancy.

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?

For a simple single-parameter tool with no output schema, the description fully covers what the agent needs: scope, metrics, return format, units, auth, and error semantics. It is complete enough to invoke correctly without additional documentation.

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?

The sole parameter 'days' is already fully documented in the schema (trailing window, range, default, examples). The description reinforces the trailing-window concept but adds no new semantic detail beyond the schema, so baseline 3 is appropriate.

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 uses a specific verb ('Summarise') with a clear resource ('the account's performance') and lists exact metrics (page views, revenue, subscriber count). It distinguishes itself from sibling tools by making clear this is the only whole-account analytics tool, not per-article.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use ('how did I do this month' questions), and provides clear exclusions: cannot break down per article, covers trailing window ending today rather than arbitrary date range. This guides the agent away from inappropriate use.

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.4/5.0
Disambiguation5/5

Tools have clear, distinct purposes. Even similar tools like generate_title_seo and suggest_titles are clearly separated by input type (topic vs draft). The descriptions are exhaustive, preventing confusion.

Naming Consistency5/5

All tools use lowercase snake_case with verb-first naming. Slight inconsistency: 'upgrade' is a bare verb while others are verb_noun, but overall pattern is consistent.

Tool Count4/5

23 tools is a large but justifiable set for a full-featured blogging platform covering articles, series, reactions, newsletter, analytics, and AI assistance. It borders on the high end but remains scoped.

Completeness2/5

The tool set covers creation, publishing, updating, and listing of articles, but lacks delete operations for articles and series, and offers no comment management beyond reading. This leaves notable lifecycle gaps.