Skip to main content
Glama

Get one submission’s engagement over time

get_post_metrics
Read-onlyIdempotent

Every engagement reading stored for one submission, per channel, oldest first. get_stats sums the LATEST reading of many posts over a window; this is every reading of one post, which is what answers "is it still growing" rather than "how did the month go".

Read these four things before saying anything to a user about a curve:

  • THE VALUES ARE CUMULATIVE. Each reading is the platform’s running total at that instant, not what was earned since the last one. To describe growth, take the DIFFERENCE between two readings — reading them as per-interval figures would report a steady post as an explosive one.

  • THE POINTS ARE NOT EVENLY SPACED. Sampling decays: roughly hourly for a day, daily for a week, weekly to thirty days, then it stops. Use capturedAt, never position in the list, and never describe a post older than a month as having "stopped earning" — we merely stopped looking.

  • AN ABSENT METRIC IS NOT A ZERO, the same rule as everywhere else. A key missing from a reading’s values was not reported at that capture.

  • AN EMPTY readings IS NORMAL. Most platforms report no engagement at all. It does not mean the post did badly, and saying so would be inventing a result. Call list_channels and read that channel’s metricsStatus to find out which it is: unsupported (nothing to fix), needs-reconnect (the user must re-authorize), or reporting (it simply has not been swept yet).

Do not compare a figure between two channels on different platforms as though it meant the same thing — a like on one platform and a like on another are different acts with different populations behind them.

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

Input Schema

NameRequiredDescriptionDefault
idYesThe submission id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, yet the description still adds real behavioral knowledge the schema cannot: values are cumulative running totals, sampling decays over time, an absent metric is not a zero, and an empty readings array is a normal platform condition rather than a failure. The cross-platform comparability warning is exactly the kind of judgment an agent cannot infer from structured fields.

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?

Front-loaded with the one-line summary and sibling contrast, then a clearly headed bullet list of caveats — structure is deliberate and scannable. It is long for a single-parameter read tool, and phrasing like "the same rule as everywhere else" leans on outside context, but nearly every line prevents a concrete misinterpretation.

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?

With no output schema, the description voluntarily documents the return shape (a `readings` list, `values`, `capturedAt`) and its ordering, plus the interpretation pitfalls an agent would otherwise get wrong. For a one-parameter read tool with no output schema, nothing essential 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 coverage is 100% and the single `id` parameter is documented as "The submission id." The description adds no further meaning about the id (format, source, validity), so the schema carries the parameter burden. 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?

First sentence states a specific verb and resource with scope: "Every engagement reading stored for one submission, per channel, oldest first." It then explicitly contrasts itself with get_stats ("sums the LATEST reading of many posts" vs "every reading of one post"), 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?

Gives an explicit decision rule keyed to user intent: use this for "is it still growing" rather than "how did the month go," and names get_stats as the alternative for the latter. It also routes an empty result to list_channels with the three metricsStatus values that disambiguate the cause.

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