Skip to main content
Glama

Find what kind of post and what time does best

get_posting_insights
Read-onlyIdempotent

Answers "what should I post, and when?" The window’s posts are split by format (text, image, video), thread or single, weekday, hour, weekday and hour together (slots), and tag, and each group is scored.

EVERY score IS RELATIVE TO EACH POST’S OWN CHANNEL: its engagement divided by what that channel usually gets. 1 is usual, 1.4 is 40% better. Say it that way to the user ("video posts did 40% better than your accounts usually do"), never as raw engagement, and never compare a score to a like count.

Read these before telling a user anything:

  • SMALL GROUPS ARE NOISE. Every group comes back however few posts it has. Do not call a group better than another unless both have at least 5 posts, and say how many posts a claim rests on. For slots, group neighbouring hours (a morning, an afternoon) before naming a best time; single hours are usually too thin.

  • compared IS THE EVIDENCE. Only posts on channels that report engagement, with at least 3 such posts, are scored. When compared is small or zero, say there is not enough data yet rather than guessing. Most platforms report no engagement; call list_channels and read metricsStatus to explain why.

  • A day or hour that is ABSENT had no posts. That is no evidence, not a bad result: never recommend avoiding a time nobody tried.

  • Correlation, not cause. A better weekday may just be when the better posts went out. Present it as "has done best so far", not as a rule.

Narrow with platform, channel or tag to answer a question about one of them ("when should I post on LinkedIn?"); a workspace-wide answer mixes platforms with different audiences. Pass the user’s timezone, or the hours will be in UTC. Ids come from list_channels, list_platforms and list_tags.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "get_posting_insights"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesExclusive end of the window, ISO 8601. At most 400 days after `from`.
tagNoKeep only posts carrying one of these tag ids (from `list_tags`).
fromYesInclusive start of the window, ISO 8601. 90 days or more gives a usable answer on most workspaces.
channelNoKeep only posts to these channel ids (from `list_channels`).
platformNoKeep only posts to these platforms.
timezoneNoIANA zone weekdays and hours are read in, e.g. `Europe/Paris`. Defaults to UTC. A value that is not a real zone is rejected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare it a safe read, but the description discloses the semantics that matter: every `score` is normalized per-channel (1 = usual), `compared` is the evidence count, groups are returned regardless of size, absent groups mean no posts rather than poor performance, and results are correlational. It even spells out the phrasing to use with the user.

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?

Long but front-loaded and bulleted around decision points rather than prose padding, so an agent can extract the rules quickly. Some overlap between the small-groups, `compared`, and absent-hour bullets means a few sentences restate the same caution.

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?

No output schema exists, and the description compensates by describing the response shape (`score`, `posts`, `compared`, grouped slots) and how to interpret each field. For an analytical tool with real statistical footguns, nothing an agent needs to report results responsibly is missing.

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 100%, so the baseline is 3; the description adds rationale the schema lacks, explaining why to scope by platform/channel/tag and why the timezone must be passed or hours come back in UTC. It repeats some id-source hints already in the schema, so it is useful but not fully additive.

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?

Opens with a concrete question it answers ("what should I post, and when?") and then names the exact breakdowns it produces: format, thread vs single, weekday, hour, `slots`, and tag, each scored. That is specific enough to distinguish it from `get_post_metrics` or `get_stats` without opening another 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 explicit routing rules: narrow with `platform`, `channel` or `tag` when answering about one of them because a workspace-wide answer mixes audiences. It also states when not to make claims (fewer than 5 posts per group, small or zero `compared`, absent day/hour) and names `list_channels` plus `metricsStatus` as the follow-up to explain missing engagement data.

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