Skip to main content
Glama
Upload-Post

Upload-Post

Official

Get profile analytics

get_analytics
Read-only

Retrieve aggregated analytics for a profile across selected social platforms, including followers, views, engagement, and audience demographics, to compare performance and guide content decisions.

Instructions

Aggregated analytics for a profile across selected platforms (followers, views, engagement). Instagram also returns two audience breakdowns with the same shape (age / gender / country / city): follower_demographics for the account's followers and engaged_audience_demographics for the accounts that engaged with its content. Telegram returns followers (subscribers or members), boosts_active and the chat's title and link; Telegram reports no views.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "profileUsername": "<profileUsername>",
      "platforms": "<platforms>"
    },
    "name": "get_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdNoFacebook page ID, if filtering by page.
pageUrnNoLinkedIn organization/company page URN or numeric ID. LinkedIn analytics are only available for pages you administer — personal profiles are not supported. Defaults to the first administered page.
platformsYesPlatforms to read (the API requires at least one): the ones connected to the profile, see list_users.
profileUsernameYes

Output Schema

NameRequiredDescriptionDefault
resultNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.26.5
    • addedInput schema / properties / platforms / description
      Added value: +"Platforms to read (the API requires at least one): the ones connected to the profile, see list_users."
    • addedInput schema / properties / platforms / minItems
      Added value: +1
    • changedInput schema / required
      Previous value: -[
      -  "profileUsername"
      -]New value: +[
      +  "profileUsername",
      +  "platforms"
      +]
  2. Changed1 schema field changedv0.25.0
    • changedInput schema / properties / platforms / items / enum
      Previous value: -[
      -  "tiktok",
      -  "instagram",
      -  "youtube",
      -  "linkedin",
      -  "facebook",
      -  "pinterest",
      -  "threads",
      -  "x",
      -  "reddit"
      -]New value: +[
      +  "tiktok",
      +  "instagram",
      +  "youtube",
      +  "linkedin",
      +  "facebook",
      +  "pinterest",
      +  "threads",
      +  "x",
      +  "reddit",
      +  "telegram"
      +]
  3. Changed2 schema fields changedv0.11.1
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedOutput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  4. Changed1 schema field changedv0.7.0
    • changedInput schema / properties / pageUrn / description
      Previous value: -"LinkedIn page URN, if filtering by company page."New value: +"LinkedIn organization/company page URN or numeric ID. LinkedIn analytics are only available for pages you administer — personal profiles are not supported. Defaults to the first administered page."
  5. First observedv0.4.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=false, and destructiveHint=false, so the safety profile is covered. The description then adds real value beyond that: it discloses per-platform return shapes — Instagram's two demographic breakdown objects, Telegram's followers/boosts_active/title/link, and the explicit caveat that Telegram reports no views.

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?

The lead sentence front-loads what the tool returns and for what scope, followed by platform-specific qualifiers. Dense but each sentence carries distinct information; the Telegram sentence is slightly cluttered but still earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description is not obligated to enumerate return fields, though it does so for platform nuance. It omits the aggregation time window, behavior for unconnected platforms, and the LinkedIn/Facebook page-admin constraint (which lives only in the schema), leaving meaningful gaps for a 10-platform analytics tool.

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 75%, so most parameters are self-documenting; the description adds platform-specific meaning to the `platforms` values by explaining what each platform yields. However, `profileUsername` is undocumented in both places, and pageId/pageUrn (Facebook page, LinkedIn org page) receive no mention in the description despite governing which data can be read.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: aggregated analytics for a profile across selected platforms, with named metrics (followers, views, engagement). It implicitly separates itself from post-level siblings like get_post_analytics by scoping to the profile, but never names or excludes those alternatives explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance, and no alternative sibling is named. An agent can infer from 'profile' that this is not a post-level call, but nothing in the description routes it against get_platform_metrics, get_audience, or get_total_impressions.

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

Deploy Server

Other Tools