Skip to main content
Glama
zernio-mcp
by Eyalm321

zernio_get_post_metrics

Read synced performance metrics for published Zernio and external posts by post, account, profile, or change feed; get totals or day-by-day series with optional breakdowns.

Instructions

Read synced metrics for published posts, both Zernio posts and posts made outside Zernio. Send exactly one scope: postId / platformPostId (up to 100 ids, missing ones in meta.missingIds), accountId (list, up to 25 accounts), profileId, or changedSince (change feed). One id with granularity=day gives a day-by-day series. include=retentionCurve,audienceTypes,... adds breakdowns where the platform reports them. Lists page with cursor = pagination.nextCursor.

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": "zernio_get_post_metrics"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoe.g. published-desc, likes-desc, engagement-desc
limitNoRows per page (default 50, max 100)
cursorNopagination.nextCursor of the previous page, with the same query
originNoLists only: which posts (default all)
postIdNoComma-separated post IDs (Zernio or external), up to 100
toDateNoLast day, inclusive (YYYY-MM-DD, UTC)
groupByNopost | dayOfWeek,hour | postAge | format
includeNoComma-separated: post, samples, authenticity, impressionSources, audienceTypes, audienceCountries, retentionCurve
metricsNoComma-separated metric names (default every metric)
fromDateNoFirst day, inclusive (YYYY-MM-DD, UTC)
platformNoOnly with profileId, e.g. facebook
accountIdNoComma-separated account IDs, up to 25 (list)
profileIdNoOne profile ID (list)
granularityNoday reads one post day by day (default total)
changedSinceNonow (starting cursor) or the previous pagination.nextCursor
platformPostIdNoComma-separated platform post IDs (e.g. a Facebook post id), up to 100

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.5.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does supply real behavior: missing ids surface in meta.missingIds, lists paginate via pagination.nextCursor, and breakdowns only appear "where the platform reports them" — an important partial-data caveat. It says nothing about permissions, rate limits, or what the returned metric payload looks like, so the transparency is useful but incomplete for a 16-parameter read tool.

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?

Five dense sentences, front-loaded with purpose then the scope rule, with zero filler. The telegraphic style ("postId / platformPostId (up to 100 ids...)") trades a little readability for compactness, which is a reasonable trade here but keeps it off a 5.

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?

For a 16-parameter tool with no annotations and no output schema, the definition covers the highest-risk failure modes: multi-scope calls, missing ids, and pagination. Remaining gaps — default metric set, sort interaction with cursor paging, and the shape of the returned metrics — are notable but secondary to calling it correctly.

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?

Schema coverage is already 100%, so the baseline would be 3; the description earns above that by adding semantics the schema cannot express — that exactly one scope parameter may be supplied, that granularity=day requires a single id, and that include only yields breakdowns the platform supports. Those are real constraints, not restatements of field descriptions.

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 opens with a specific verb and resource ("Read synced metrics for published posts") and immediately bounds the scope to both Zernio and externally-created posts, which is genuinely differentiating. It never names a sibling such as zernio_get_post_analytics or zernio_get_daily_metrics, so the agent must infer the boundary rather than being told it.

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?

"Send exactly one scope" plus the enumerated alternatives (postId / platformPostId, accountId, profileId, changedSince) gives clear selection rules and an exclusivity constraint the agent would otherwise get wrong. It also flags the two modes worth knowing about — day-by-day series for a single id and the change feed. It stops short of saying when to prefer this over the sibling analytics tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools