Skip to main content
Glama

Get analytics

get_analytics
Read-onlyIdempotent

Get one workspace's analytics overview: follower counts per connected account (plus a daily follower series for the last 30 days) and engagement on recent posts. A post's source says where it came from: "ravenpost" for one published from here, "platform" for one already on the account and imported so its engagement counts too. An account's followers is null when we collect none for its platform — today TikTok, X, LinkedIn, Threads, Discord, YouTube, DEV and Hashnode, whose APIs either give an app like ours no follower count or need a permission that is not approved yet (or, for X, charge for every read, so we read none and its numbers are in its own app) — so null means "unknown", never zero. Likewise a post metric that is absent was not collected rather than being 0, and TikTok, X, Telegram, LinkedIn, Threads, Discord and YouTube report no post numbers at all.

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_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspaceIdNoWhich workspace to act in — an id from list_workspaces. Optional with a single workspace; REQUIRED once there are several, where guessing would mean posting one client's content to another client's accounts. Ask the user which one before publishing.

Output Schema

NameRequiredDescriptionDefault
postsNo
accountsNo
collectedAtNo
trackedPostsNo
totalFollowersNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, not open-world), so the description is free to spend its words on genuinely non-schema knowledge: null followers means 'unknown, never zero', an absent post metric means 'not collected' rather than 0, and the specific platforms that report no follower or post data. The `source` field semantics (ravenpost vs platform/imported) are also disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is front-loaded correctly, but the long em-dash parenthetical enumerating nine platforms and their individual reasons ('for X, charge for every read, so we read none and its numbers are in its own app') sprawls and buries the load-bearing rule that null means unknown. The critical caveat could have led with the rule and shortened the platform list.

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 an output schema present, the description need not explain return shape, yet it still adds the one thing schemas rarely encode — the meaning of null and absent values in the response. One parameter, fully documented, plus read-only annotations leave little missing, though data freshness or refresh cadence is unmentioned.

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% and the single workspaceId parameter is already documented with the required-when-multiple-workspaces rule and an instruction to ask the user. The description adds nothing about the parameter, 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 and resource — 'Get one workspace's analytics overview' — and immediately enumerates the payload: follower counts per connected account, a 30-day daily follower series, and engagement on recent posts. An agent can tell this is the workspace-level analytics read rather than the per-post lookup handled by get_post.

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

Usage Guidelines3/5

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

Usage is implied by the word 'overview' and the workspace scope, so an agent can infer this is the aggregate call. However, the description never names an alternative (e.g. get_post for a single post's numbers) or states a when-not condition, leaving routing to be guessed from sibling names alone.

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.