Skip to main content
Glama

Get Analytics Timeseries

get_analytics_timeseries
Read-only

Views, likes, comments, shares, followers, posts published and engagement rate bucketed by day (default), week or month across the window, for trend questions such as "how are views moving" or "when did followers jump". Returns { points } with one { date, ...metrics } per bucket; followers is the latest count at the end of the bucket, the other counters sum posts published inside it, and a metric no selected platform reports is null. Use get_analytics_overview for totals and list_post_analytics to see which posts drove a spike.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesEnd of the reporting window (ISO 8601). Must not be earlier than from
fromYesStart of the reporting window as an ISO 8601 date or instant (e.g. "2026-08-01"). Metrics cover posts published between from and to; the comparison window is the same length immediately before from
platformsNoRestrict to these platforms; omit for every platform with analytics. X (TWITTER) has no analytics and is ignored; LinkedIn analytics are pending platform approval and return no data yet
granularityNoDAILY (default), WEEKLY, or MONTHLY buckets

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultNoAn object with points: one { date, views, likes, comments, shares, followers, postsCount, engagementRate } per bucket, in date order.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only and non-destructive nature, so the description correctly avoids redundancy. It adds valuable behavioral details beyond annotations: the aggregation semantics (followers as latest count, other metrics as sums over published posts, null for unsupported platforms) and the output shape with one point per bucket. This is meaningful context that helps an agent interpret results correctly.

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?

The description is a single, well-structured paragraph that front-loads the core purpose (metrics and granularity), then explains the return format and aggregation rules, and concludes with sibling routing. Every sentence contributes essential information with no fluff or repetition. It is detailed yet efficiently organized.

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 read-only analytics tool with an output schema and full parameter documentation, the description covers all critical operational details: what metrics are returned, how they are aggregated, the null behavior, and how it fits with sibling tools. An agent has everything needed to invoke it correctly and interpret the response.

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% with each parameter having a descriptive explanation. The description itself does not add significant parameter-level meaning beyond the schema; it only references granularity implicitly via 'bucketed by day (default), week or month' which is already in the schema. The baseline of 3 is appropriate given high schema coverage.

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 clearly states the tool returns time-bucketed metrics (views, likes, comments, shares, followers, posts published, engagement rate) for trend analysis, with explicit granularity options. It distinguishes itself from siblings by naming get_analytics_overview for totals and list_post_analytics for post-level spikes, making its unique purpose unambiguous.

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?

It explicitly states the intended use case ('for trend questions such as...') and provides clear guidance on when to use alternatives ('Use get_analytics_overview for totals and list_post_analytics to see which posts drove a spike'). This gives an agent precise decision criteria for tool selection.

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