Skip to main content
Glama

Get Stats insights

get_stats_insights
Read-onlyIdempotent

Read stored Narrareach Stats for a period: reach, engagement, conversion, publishing rhythm, engagement peak, other-writers timing benchmark, and latest audience snapshot. Does not live-fetch Substack or per-platform account analytics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoInclusive end date (YYYY-MM-DD). Required when period is custom. Must be a completed day.
fromNoInclusive start date (YYYY-MM-DD). Required when period is custom.
periodNoStats window. Defaults to 30d. custom requires from and to as complete YYYY-MM-DD dates.
platformsNoConnected platforms to include. Defaults to every connected platform the caller can read.
workspaceNoOptional authorized team workspace name or id. Absence selects the authenticated user’s personal account.
contentTypesNoOptional content types: article, note, social_post.
publicationIdNoOptional Substack publication id. Team authors can only read an assigned publication.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeYes
audienceYes
outcomesYes
generatedAtYes
nicheTimingYes
schemaVersionYes
engagementPeakNo
connectedAccountNo
platformPerformanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, so safety is covered. The description adds genuinely useful context beyond them: this reads a stored snapshot rather than live-fetching, which explains staleness and latency expectations. It does not mention pagination or auth/workspace scoping nuance.

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 filler, with scope and the stored-vs-live distinction front-loaded. The metric enumeration earns its space by telling the agent what a call yields.

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?

With 7 optional params and an output schema present, the description needn't explain return values, and it correctly covers scope plus the live-data exclusion. It is nearly complete; only explicit guidance on combining workspace/publicationId scoping is absent.

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 all 7 parameters (period, from/to, platforms, workspace, contentTypes, publicationId) are already documented with defaults, enums, and constraints. The description adds no syntax, format, or interaction detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb (read) and resource (stored Narrareach Stats) and enumerates the exact metric families returned. It also draws a boundary against live per-platform analytics, which cleanly separates it from sibling get_platform_analytics.

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?

Gives a clear when-not condition ("Does not live-fetch Substack or per-platform account analytics"), routing the agent to the alternative for live data. It never names the sibling tool explicitly and offers no positive 'use this when' trigger phrase, so it stops short of a 5.

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