Skip to main content
Glama

Get post stats

get_post_stats
Read-onlyIdempotent

Use this when the user wants the numbers for their posts: "how are my clips doing", "how many views did my Short get", "show my scheduled posts". Per post: status, URL, latest views, likes, comments, shares and saves (null = the platform sends none), views at 1 h, 24 h and 7 d, and the post_id drafts take. Not for: a recap (weekly_report) or followers (get_account_stats). 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_post_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoPosts to return, 1-50, newest first, default 20
statusNodraft, scheduled, posted or failed; empty = all
platformNotiktok, youtube, instagram, ... or all (default)all

Output Schema

NameRequiredDescriptionDefault
noteYes
postsYes
totalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / status / default
      Removed value: -""
  2. Changed7 schema fields changed
    • addedInput schema / properties / limit / description
      Added value: +"Posts to return, 1-50, newest first, default 20"
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • addedInput schema / properties / platform / description
      Added value: +"tiktok, youtube, instagram, ... or all (default)"
    • removedInput schema / properties / platform / title
      Removed value: -"Platform"
    • addedInput schema / properties / status / description
      Added value: +"draft, scheduled, posted or failed; empty = all"
    • removedInput schema / properties / status / title
      Removed value: -"Status"
    • removedInput schema / title
      Removed value: -"get_post_statsArguments"
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, and the description's "Free and read only" mostly restates that. The genuinely additive part is the null semantics ("null = the platform sends none") and the note that drafts carry a post_id, which an agent cannot get from the annotations alone.

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 trigger condition is front-loaded and the exclusion clause follows immediately, which is good ordering. The middle sentence enumerating every returned field is dense and partly duplicates the output schema, keeping it just short of fully tight.

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?

An output schema exists, so return values need not be re-explained, and the parameters are fully covered by the schema. With annotations carrying the safety profile and the description carrying scope and exclusions, nothing an agent needs to call this correctly is missing.

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 limit, status and platform are already fully documented in the schema, including ranges and defaults. The description adds no further parameter meaning, which is the expected baseline when the schema does the work.

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 names a specific verb and resource (per-post performance numbers) and grounds it in real user phrasings like "how are my clips doing" and "how many views did my Short get". It explicitly separates itself from weekly_report and get_account_stats, so an agent can route 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 a positive trigger condition ("Use this when the user wants the numbers for their posts") followed by a negative list naming the two sibling tools that handle recap and follower queries. Both the when and the when-not are stated with the alternatives spelled out.

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