Skip to main content
Glama

Get account analytics

get_account_analytics
Read-only

Get follower change and post performance for each connected account over a period, using the same definitions as the Posteady analytics page. followers has current, atSince, atUntil, and change. atSince and atUntil come from daily follower snapshots by UTC date; only Threads, X, Instagram, and LinkedIn have snapshots, so they are null for other platforms. postCount, reactions, comments, and engagementRate (percent) cover the account's posts published in the period, excluding private posts (TikTok SELF_ONLY, and private or unlisted YouTube videos). previous has the same metrics for the period of equal length that ends at since (from previousSince). This reads synchronized data and does not refresh the platforms, except that it reads a Facebook Page's current follower count from Facebook. By default this covers the last 90 days; since and until select another period of up to 90 days. By default this reads across ALL your workspaces where you can view analytics and labels each account with its workspace; pass workspaceId to narrow to one. list_posts returns the individual posts.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_account_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoStart of the period (inclusive), as an ISO 8601 timestamp with a timezone offset (e.g. '2026-10-01T00:00:00+09:00'). Defaults to 90 days before until.
untilNoEnd of the period (exclusive), as an ISO 8601 timestamp with a timezone offset. Defaults to now. The period can be at most 90 days.
providerNoFilter by platform.
accountIdNoFilter by account (from list_accounts).
workspaceIdNoNarrow to a single workspace (ID from list_workspaces). Omit to read across ALL your workspaces (each account is labeled with its workspace).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Adds substantial behavior beyond the annotations: snapshot-only fields (atSince/atUntil null except Threads, X, Instagram, LinkedIn), exclusion of private posts and unlisted YouTube videos, previous-period derivation, and importantly that the data is not refreshed from platforms except a Facebook Page's current follower count. That freshness caveat is exactly the kind of context annotations cannot convey.

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?

Purpose is front-loaded and every clause carries information, but it arrives as one dense paragraph mixing return-field documentation, freshness caveats, and scoping defaults. Bullets or sentence breaks would improve scanability without losing content.

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?

With no output schema, the description takes on the burden of describing the return shape (followers.current/atSince/atUntil/change, postCount, reactions, comments, engagementRate, previous) and does so completely, alongside period, platform, and workspace scoping. An agent has what it needs to call and interpret 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 its parameter descriptions already cover since/until defaults, the 90-day cap, provider, accountId, and the cross-workspace semantics of workspaceId, so the description largely restates them. It confirms the period semantics but adds no syntax or format detail beyond the schema, making 3 the right baseline.

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 and resource ('Get follower change and post performance for each connected account over a period') plus a scope anchor (same definitions as the analytics page), and explicitly separates itself from list_posts, which returns individual posts.

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 concrete operating context: default last 90 days, since/until for another period capped at 90 days, defaults across ALL workspaces and workspaceId to narrow, and pointer to list_posts for per-post data. No explicit when-not-to-use or prerequisite statement, 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