Skip to main content
Glama

get_best_time_to_post

Read-only

Answer "when should I post?", "what's my best time to post?", "when does my audience engage?" for a platform. Returns the day-of-week and hour slots (in the user's timezone) where posts have historically performed best, ranked by their posts' median engagement, each with how many posts it is based on (limit, default 3, max 10). With too few posts it says there isn't enough data yet. This is past results, not the posting schedule: to change when queued posts go out, use list_queue_schedule and add_queue_times.

Input Schema

NameRequiredDescriptionDefault
limitNoHow many time slots to return (default 3, max 10).
periodNoRolling window ending today. Default 30d. For any other window, pass start_date/end_date instead.
end_dateNoOptional. Last day of a custom range, YYYY-MM-DD, inclusive. Defaults to today. Needs start_date.
platformYesRequired. The network to analyze.
start_dateNoOptional. First day of a custom range, YYYY-MM-DD, in the user's timezone. Use for windows the presets don't cover: "last 14 days", "in March", "since Jan 1", "last year". Overrides `period`. Ranges can cover up to 366 days.

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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 readOnlyHint/non-destructive, and the description adds real behavioral context: ranking basis (median engagement), per-slot sample size, timezone semantics, and the insufficient-data degradation path. It stops short of stating anything about latency or caching, so not a 5.

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?

Front-loaded with the user-facing question and the return shape, then the exclusion. Every sentence carries distinct information; no filler.

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?

No output schema, but the description compensates well by describing the returned slots, their ranking metric, and their sample-size field. The only gap is that it doesn't mention what the response looks like when the platform has no data for the requested window beyond the generic insufficient-data note.

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 100% and the schema already documents platform, limit defaults/max, period presets, and the start_date/end_date override. The description restates limit's default/max and the custom-range behavior, adding little beyond the schema, so baseline 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?

Specific verb+resource: returns day-of-week and hour slots ranked by median engagement for a given platform. It explicitly distinguishes itself from the posting-schedule siblings by naming list_queue_schedule and add_queue_times.

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?

Opens with the exact user questions it answers ("when should I post?", "when does my audience engage?") and closes with an explicit when-not and the alternative tools to use instead for schedule changes.

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