Skip to main content
Glama

Get best performing posts

get_top_publications
Read-only

Rank publications by engagement, impressions, or reach over a date range to find which posts performed well across social networks.

Instructions

The best performing posts of a range, ranked by one metric. This is the tool for 'what worked?'. Networks measure different things, so a ranking by impressions silently leaves out the networks that have none — rank by engagement to compare across all of them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
metricNoWhich metric to rank by. Defaults to engagement, the one every network reports.
to_dateNoISO 8601 date.
from_dateNoISO 8601 date. Defaults to the last 30 days.
id_organizationNoThe PlanVortex organization id. Optional.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.7.0
    • addedInput schema / additionalProperties
      Added value: +false
  2. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the description's job is to add the non-obvious: that metric choice silently excludes networks lacking that metric, making results non-comparable across networks. That is a genuine behavioral caveat not derivable from the schema. Return shape/ordering ties and pagination are not addressed.

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?

Three sentences, front-loaded with what it returns, then usage framing, then the caveat that changes how you pick the metric. No filler and nothing repeated from the 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?

For a read-only, all-optional-parameter ranking tool with no output schema, the description covers purpose, selection criteria, and the main analytical pitfall. Missing: how ties/missing metrics appear in the response and whether `from_date`/`to_date` defaults are honored implicitly, though the schema documents those defaults.

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 80% (metric and both dates documented), so the baseline is 3. The description adds real meaning for `metric` by explaining why engagement is the safe cross-network choice, which the enum description does not convey; `limit`, `to_date`, and `id_organization` get no added semantics.

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?

States a concrete verb+resource ('best performing posts of a range, ranked by one metric') and frames the question it answers ('what worked?'), which separates it from the many list_*/get_publication_stats siblings. It never names a sibling explicitly, and the name/schema say 'publications' while the description says 'posts', so the agent must infer they are the same resource.

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?

Gives clear situational framing ('This is the tool for "what worked?"') and actionable selection advice: rank by engagement rather than impressions when comparing across networks. It stops short of explicit when-not-to-use guidance or naming an alternative tool for per-post detail.

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