Skip to main content
Glama

Get Top Performing Posts

get_top_posts
Read-onlyIdempotent

The account's published posts as they are on the platforms, including posts made outside oriiion, with captions, platforms, media type and metrics. By default the best performers by engagement: study these to learn what content resonates and create more of what works. With sort 'recent' the newest first: use that for 'what's our latest post' or 'can you see my videos/feed'. mediaType 'video' is a video post (on Instagram a Reel or a feed video); a 'carousel' can hold videos too.

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

Input Schema

NameRequiredDescriptionDefault
daysNoLook-back window in days. Default 30, or 365 with sort 'recent' — omit it when asking for the latest posts
sortNo'engagement' for the best performers, 'recent' for the newest posts firstengagement
limitNoHow many posts to return
platformNoFilter to one platformall

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / platform / enum
      Previous value: -[
      -  "all",
      -  "facebook",
      -  "instagram",
      -  "linkedin",
      -  "x",
      -  "tiktok",
      -  "youtube"
      -]New value: +[
      +  "all",
      +  "facebook",
      +  "instagram",
      +  "linkedin",
      +  "x",
      +  "tiktok",
      +  "youtube",
      +  "threads",
      +  "pinterest",
      +  "bluesky",
      +  "reddit"
      +]
  2. Changed4 schema fields changed
    • removedInput schema / properties / days / default
      Removed value: -30
    • changedInput schema / properties / days / description
      Previous value: -"Look-back window in days"New value: +"Look-back window in days. Default 30, or 365 with sort 'recent' — omit it when asking for the latest posts"
    • changedInput schema / properties / limit / description
      Previous value: -"How many top posts to return"New value: +"How many posts to return"
    • addedInput schema / properties / sort
      Added value: +{
      +  "default": "engagement",
      +  "description": "'engagement' for the best performers, 'recent' for the newest posts first",
      +  "enum": [
      +    "engagement",
      +    "recent"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: the results include posts published outside the tool, engagement ordering is the default rather than chronological, and media type distinctions (Reel vs feed video, carousel containing video) affect interpretation. It does not mention volume, pagination, or empty-result behavior, so it is not exhaustive.

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?

Content is front-loaded: what the tool returns comes first, then default behavior, then the 'recent' routing hint, then media-type clarification. Almost every sentence carries information. The first sentence is long and stacks field names in a list, making it denser than necessary, but nothing is padding.

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 no output schema, the description must convey return contents, and it does: captions, platforms, media type and metrics. It also explains that both tool-created and externally published posts are included, which matters for trusting the data. Missing only minor operational details such as result limits or what happens with no matching posts.

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 description coverage is 100%, so the baseline is 3. The description largely restates what the schema already documents (days default, sort 'recent' meaning newest first, the days/recent interaction). The mediaType discussion adds interpretive value for interpreting returned posts but does not map to any parameter in the schema, which could momentarily confuse an agent looking for a mediaType filter.

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 opening clause names a concrete resource (the account's published posts) and states the distinguishing scope: posts as they exist on the platforms, including ones made outside oriiion, and best performers by engagement by default. An agent can tell what it returns and what the default ordering is. It stops short of explicitly naming a sibling like list_posts to contrast with, so it is clear but not fully differentiated.

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?

It gives explicit use cases for both modes: default engagement ordering is for 'study these to learn what content resonates', and sort 'recent' is for 'what's our latest post' or 'can you see my videos/feed'. This is concrete routing guidance tied to real intents. It lacks any when-not-to-use statement or named alternative tool, which keeps it from a 5.

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