Skip to main content
Glama

Get post metrics

get_post_metrics
Read-only

Read live the performance data of a post on each platform; each platform is returned separately, and metric names follow the platform's original fields. Platforms that have a single-post metrics API, such as Facebook, Instagram, Threads, Bluesky, Mastodon, Tumblr, and Pinterest, are all returned; TikTok and Telegram are not provided yet, and YouTube is not yet open. When data cannot be fetched, that platform returns available:false with a reason, which does not mean the data is 0. (Required scope: cd.posts.read)

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": {
      "postId": "<postId>"
    },
    "name": "get_post_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYes
workspaceIdNoOptional: id of the workspace to operate on (look it up with list_workspaces); if omitted, the default personal workspace is used. A developer API key can only use the workspace it is bound to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already declared, the description adds meaningful behavioral detail: results are returned per platform rather than merged, metric names follow each platform's native field names, and a failed fetch surfaces available:false with a reason that explicitly must not be read as zero. It also discloses the required scope cd.posts.read, which matters for authorization. It stops short of describing freshness, rate limits, or latency for a 'live' read.

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 core purpose is front-loaded in the first clause, followed by return-shape and platform-coverage caveats in a logical order. It is a single dense paragraph with little waste, though the platform enumeration is long and could be compressed.

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?

There is no output schema, so the description has some burden to explain return values, and it does: per-platform separation, platform-native metric naming, and the available:false failure contract. For a two-parameter read tool this is close to sufficient. The one gap is that the required postId is never explained, which matters for correct invocation.

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

Parameters2/5

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

Schema description coverage is only 50%: workspaceId is documented in the schema, but the required postId has no description anywhere. The description adds no parameter meaning of its own, so it does not compensate for the undocumented required parameter. An agent is left unsure whether postId is a cross-platform post id or a per-platform target id.

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?

The description uses a specific verb and resource: 'Read live the performance data of a post on each platform.' It clearly conveys that metrics are fetched per-platform rather than aggregated. It does not, however, distinguish itself from sibling analytics tools such as get_account_insights or get_content_performance, so an agent must infer the boundary.

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?

The description gives useful scope guidance in the form of platform coverage: Facebook, Instagram, Threads, Bluesky, Mastodon, Tumblr and Pinterest are supported, while TikTok and Telegram are 'not provided yet' and YouTube is 'not yet open.' That tells an agent when the tool will and won't return data. It never states when to prefer this over sibling tools like get_account_insights, so usage is only 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.