Skip to main content
Glama

Best time to post

get_best_posting_times
Read-onlyIdempotent

Which weekdays and hours worked best for this account, worked out from its own published posts and the likes, comments and shares each one has, in the owner's time zone (or timezone). Each day or hour comes with the number of posts behind it and a short reason. With too few posts it says so and names no times; it never guesses. Works on Instagram, LinkedIn, a Facebook Page (page_id when the connection has several) and TikTok. days: how far back to look (default 90). Reads only; each page of posts counts as one browse.

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": {
      "account_id": "<account_id>"
    },
    "name": "get_best_posting_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNo
page_idNo
timezoneNo
account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the higher bar is extra context — and the description delivers it: timezone resolution rules, the refusal behavior when post volume is too low, the per-entry post-count and reason fields, and the cost signal that each page of posts counts as one browse. It does not detail pagination limits or how far sampling goes beyond the days window.

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?

The output shape and the low-data caveat are front-loaded before platform and parameter notes, so the most important information lands first. A few phrases are redundant, notably 'names no times; it never guesses' restating the same guarantee, and 'in the owner's time zone (or timezone)' reads awkwardly.

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 correctly describes the return shape (day or hour plus post count and a short reason), which an agent could not otherwise infer. Combined with platform coverage and the insufficient-data branch, only minor gaps remain, such as how results are ordered or how many entries come back.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden, and it does: days is explained as lookback depth with a default of 90 (a default the schema itself does not declare), timezone is explained as an override of the owner's time zone, and page_id is scoped to Facebook connections holding several Pages. Only account_id is left implicit, which is self-evident.

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 names a specific analytical output (best weekdays and hours) and the derivation source (the account's own published posts and their likes/comments/shares), which is far more than restating the title. It is distinguishable from adjacent analytics tools by being explicitly about posting-time recommendation rather than general metrics, though it never names a sibling to contrast with.

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 sets clear operating context: platform support (Instagram, LinkedIn, Facebook Page via page_id, TikTok), the days lookback with a stated default, and the timeout/insufficient-data condition where it returns no times. It stops short of naming an alternative tool for when this is the wrong choice, so it is clear context rather than explicit when/when-not routing.

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