Skip to main content
Glama

get_post_analytics

Fetch published social media posts with performance metrics like impressions, reach, likes, and shares across Instagram, Facebook, TikTok, YouTube, and other platforms. Filter by date range, platforms, or specific accounts to analyze post effectiveness.

Instructions

Fetch published posts with their latest performance metrics (impressions, reach, likes, comments, shares). Only returns published posts that have a platform post ID. LinkedIn personal accounts are excluded. Supported: Instagram, Facebook, TikTok, Threads, YouTube, LinkedIn (company pages).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
startDateYesStart of date range (ISO 8601, e.g. 2026-01-01T00:00:00.000Z)
endDateYesEnd of date range (ISO 8601, e.g. 2026-01-31T23:59:59.999Z)
platformsNoFilter by platforms
socialMediaIdsNoFilter by specific social media account IDs
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses important behavioral traits: only returns published posts with platform IDs, excludes LinkedIn personal accounts, and lists supported platforms. However, it doesn't mention pagination behavior, rate limits, authentication requirements, or what happens with invalid parameters.

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 perfectly front-loaded with the core purpose in the first clause, followed by important constraints and supported platforms. Every sentence earns its place with zero wasted words, making it highly efficient for an AI agent to parse.

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?

For a read operation with 4 parameters and 100% schema coverage but no output schema, the description provides good context about what's returned (posts with performance metrics) and important constraints. However, without an output schema, it should ideally describe the return format more explicitly (e.g., structure of the metrics data).

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 the schema already documents all parameters thoroughly. The description adds some context by mentioning 'platforms' filtering and 'social media account IDs' filtering, but doesn't provide additional semantic meaning beyond what's in the schema. Baseline 3 is appropriate when schema does the heavy lifting.

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 action ('Fetch'), resource ('published posts'), and specific scope ('with their latest performance metrics'). It explicitly distinguishes from siblings like 'list_posts' by specifying it returns performance metrics and only published posts with platform IDs.

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 clear context about when to use this tool (for fetching posts with performance metrics) and includes important exclusions (LinkedIn personal accounts are excluded). However, it doesn't explicitly mention when to use alternatives like 'list_posts' or 'list_accounts' for different needs.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peturgeorgievv-factory/postfast-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server