Skip to main content
Glama

Get a post's engagement

get_post_engagement
Read-onlyIdempotent

Use when the user asks how a post performed: its views, likes, comments, shares or stats. Returns, per destination, the latest platform-reported views, likes, comments and shares with the time each was read, plus their history. A metric the platform does not report is marked unavailable with the reason, never shown as zero.

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": {
      "post_id": "<post_id>"
    },
    "name": "get_post_engagement"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idYesPost id (post_…) from create_draft, list_posts or a receipt.

Output Schema

NameRequiredDescriptionDefault
postIdYes
destinationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real value beyond that: results are per destination, values are the latest platform-reported readings with the time each was read, history is included, and unreported metrics are flagged unavailable with a reason rather than zeroed. That last detail is important data semantics an agent would otherwise misread, though staleness bounds and response size are not mentioned.

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?

Two sentences, front-loaded with the usage condition followed by the return contract. Every clause carries information: metric list, per-destination granularity, read timestamps, history, and the unavailable-not-zero rule. Nothing is redundant with the title or schema.

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 needn't document field shapes, and it wisely spends its words on the one behavior the schema cannot express: how missing metrics are represented. The only gap is that "per destination" is not defined (which destinations appear, and whether accounts with no data are omitted), which an agent may need to explain results to a user.

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?

There is only one parameter, post_id, and the schema already documents it fully at 100% coverage including where the id comes from (create_draft, list_posts, a receipt). The description adds no further meaning about the parameter, so the baseline 3 for a fully documented single-parameter schema applies.

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 names a concrete resource (a single post's engagement) and enumerates the metrics returned: views, likes, comments, shares, stats, per destination with history. An agent can distinguish it from a generic stats tool. It does not explicitly contrast with the sibling get_engagement_rollup, so the boundary between single-post and rollup reporting must be inferred from the required post_id.

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

Usage Guidelines4/5

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

"Use when the user asks how a post performed" gives a clear triggering condition tied to a user intent, which is more than most definitions offer. It stops short of stating when not to use it or naming get_engagement_rollup as the aggregate alternative, so an agent facing a workspace-wide question gets no explicit routing.

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.