Skip to main content
Glama

Get the best performing posts

get_top_posts
Read-onlyIdempotent

Ranking of published posts by engagement in the period, with their metrics, engagement rate and caption. Use it to explain what works and to pick posts worth recycling (postId is the analytics id; recycle_post needs the Ignix id from list_posts).

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
daysNoWindow in days (default 30). Up to 365 days of history are available.
kindNoOnly one kind: "video" (reels, TikTok, short videos), "post" (photos and carousels) or "youtube". Omit for all. Each post also says its `kind`.
limitNoHow many posts (default 10, max 50).
platformNo
accountIdNoRestrict to one account (Ignix account id). Omit for all of them.
workspaceIdNoWorkspace to work on (an id from list_workspaces). Not needed when this connection is tied to one workspace, or when you pass an account: the account's workspace is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / kind
      Added value: +{
      +  "description": "Only one kind: \"video\" (reels, TikTok, short videos), \"post\" (photos and carousels) or \"youtube\". Omit for all. Each post also says its `kind`.",
      +  "enum": [
      +    "video",
      +    "post",
      +    "youtube"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.4/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. The description adds real value beyond them: results are ranked by engagement over a bounded window, each entry carries metrics/engagement rate/caption, and the returned postId is an analytics id that is not interchangeable with the Ignix id used by recycle_post. It does not discuss result ordering ties, pagination, or what happens when no posts qualify.

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?

One front-loaded sentence naming the resource and ranking, followed by one sentence of usage guidance and the id caveat. No filler, and the most decision-relevant information (ranking basis, recycling caveat) comes first.

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 steps in to say what a result contains (metrics, engagement rate, caption), which is what an agent needs to decide downstream use. The remaining gap is the undocumented `platform` filter and any note on ordering or empty results.

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 83%, so the schema already defines days, kind, limit, accountId and workspaceId, including the kind enum meanings and defaults. The description adds no parameter-level meaning beyond that and never addresses the undocumented `platform` parameter, so the high-coverage baseline of 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?

States a specific verb and resource ('Ranking of published posts by engagement in the period') plus what accompanies each entry (metrics, engagement rate, caption). It is clearly separable from siblings like list_posts, which the description treats as an unordered/ID-lookup alternative.

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 explicit intent ('Use it to explain what works and to pick posts worth recycling') and routes the agent to the correct tool for the follow-up action, noting that recycle_post needs an Ignix id from list_posts rather than the analytics postId returned here. This is exactly the kind of when-to-use and handoff guidance that prevents misinvocation.

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