Skip to main content
Glama

Best times to post

get_best_times
Read-onlyIdempotent

Posting slots (weekday × hour, UTC) ranked by this workspace's own past engagement. signal says what the order is worth: none means no engagement is recorded and the order is arbitrary; thin means some slots rest on one or two posts (samples); ok means three or more each. When it isn't ok, studies_page links xpost's free page of the hours published studies agree on for that network.

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_best_times"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatNoFilter to one format (feed post / reel / story)
platformNoFilter to one platform, e.g. instagram
since_daysNoWindow in days (default 90)

Output Schema

NameRequiredDescriptionDefault
okNoPresent and false only on a refusal.
errorNoWhat was refused, in a sentence, when `ok` is false.
slotsNoBest first. Empty when there is not enough history to rank anything.
signalNoHow much the ORDER is worth. "none": no engagement recorded, so the order is arbitrary. "thin": some slots rest on one or two posts. "ok": every slot has 3+.
retriableNoFalse when asking again cannot change the answer.
error_codeNoMachine reason for a refusal.
since_daysNo
replaced_byNoThe id the post has now, when you asked with one an edit retired. An edit gives a post a new id: get_delivery_receipt and get_post_metrics answer for this current version (and `asked_for` is the id you sent); update_post and delete_post refuse with error_code `replaced`. Use this id from here on.
studies_pageNoPresent when `signal` isn't "ok": xpost's free page of the hours published studies agree on for this network (or every network), in the reader's own time zone.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / studies_page
      Added value: +{
      +  "description": "Present when `signal` isn't \"ok\": xpost's free page of the hours published studies agree on for this network (or every network), in the reader's own time zone.",
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedOutput schema / properties / replaced_by / description
      Previous value: -"With error_code `replaced`: the id the post has now. An edit gives a post a new id; use this one."New value: +"The id the post has now, when you asked with one an edit retired. An edit gives a post a new id: get_delivery_receipt and get_post_metrics answer for this current version (and `asked_for` is the id you sent); update_post and delete_post refuse with error_code `replaced`. Use this id from here on."
  3. Changed1 schema field changed
    • addedOutput schema / properties / replaced_by
      Added value: +{
      +  "description": "With error_code `replaced`: the id the post has now. An edit gives a post a new id; use this one.",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare a safe, idempotent, closed-world read; the description goes well beyond them by disclosing that ordering may be arbitrary when signal is `none`, that `thin` rests on one or two posts (`samples`), and that three or more per slot yields `ok`. That reliability disclosure is exactly the context an agent needs to avoid over-trusting the ranking.

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?

Two tight sentences, front-loaded with what the tool returns before explaining rank reliability. The signal/samples explanation is dense field-name shorthand but each clause earns its place; no filler or restated title.

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 an output schema present, return structure needn't be described, and the description covers the one thing the schema can't: how much the ordering can be trusted. The remaining gap is the absence of sibling routing guidance against get_insights/get_top_posts, which is a minor omission for a read-only filter tool.

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%, so the enum for format, the platform example, and the since_days default/window are already documented in the schema. The description adds nothing about parameter behavior beyond a passing 'for that network' reference, 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?

States a specific verb+resource with scope: posting slots keyed by weekday × hour in UTC, ranked by this workspace's own past engagement. That is precise enough to separate it from get_insights, get_post_metrics, and get_top_posts without opening schemas.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied — an agent can infer this answers 'when should I post?' rather than 'how did my posts do?'. There is no explicit when-to-use vs alternatives, and no stated exclusions against insight/metrics siblings. The only routing guidance is the internal redirect to studies_page when signal isn't ok.

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.