Skip to main content
Glama

Get account stats

get_account_stats
Read-onlyIdempotent

Use this when the user wants follower numbers: "how many followers did I gain this week". Per connected account: followers, following, likes, videos, the 7-day change and a daily history as of the last read (as_of). Only TikTok accounts and YouTube channels are read; other platforms say so. Not for: individual posts (get_post_stats) or platform comparison (compare_platforms). Free and read only.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
noteYes
accountsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / title
      Removed value: -"get_account_statsArguments"
  2. Changed1 schema field changed
    • addedOutput schema / $defs / AccountNumbers / properties / views
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Views"
      +}
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already cover read-only, idempotent, closed-world and non-destructive, so the description correctly spends its words elsewhere: it discloses data freshness ("as of the last read (as_of)"), the platform limitation (TikTok accounts and YouTube channels only, others report so), and cost ("Free"). Those are behavioral facts an agent cannot get from the annotations or the empty schema.

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 trigger is front-loaded in the first sentence, followed by payload contents, then exclusions and constraints. Every clause carries information — example utterance, metric list, freshness, platform scope, sibling routing, cost — with no filler.

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 zero-param read tool with an output schema and full annotations, the description covers everything an agent needs before calling: what it returns, how fresh it is, which platforms work, and when to prefer a sibling. Return-value formatting is correctly left to the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The tool takes zero parameters, so there is no parameter semantics to add; the baseline for a no-param tool applies. The description does not misrepresent the call as requiring any input, which is the only real risk here.

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?

"Get account stats" is made concrete: the description names the exact metrics returned (followers, following, likes, videos, 7-day change, daily history) and the unit of scope (per connected account). It also explicitly separates itself from get_post_stats and compare_platforms, so an agent can pick it without opening either schema.

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 gives an explicit trigger with a natural-language user utterance ("how many followers did I gain this week") and a "Not for:" clause that routes two named siblings to their own tools. Both the when and the when-not are stated rather than implied.

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