Skip to main content
Glama

get_optimal_times

Read-onlyIdempotent

Returns the org's best posting time slots (top hours and days, with the underlying sample size / confidence) computed from its OWN historical engagement, not industry averages. CALL THIS BEFORE SCHEDULING: when planning a batch of posts (e.g. a week of content), call get_optimal_times first, read the top per-platform slots, then sequence schedule_post calls so each post lands in one of those windows. Pass an optional platform to get slots for a single platform. If the org has little history, fall back to the public no-auth best-time curve at GET /api/analytics/public/best-times. CAPABILITY: read: side-effect-free.

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

Input Schema

NameRequiredDescriptionDefault
platformNoOptional platform key, e.g. instagram, tiktok or twitter. Omit to get slots for every platform with enough history.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / platform / description
      Added value: +"Optional platform key, e.g. instagram, tiktok or twitter. Omit to get slots for every platform with enough history."
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint false, so the safety profile is covered. The description adds real behavioral context: the result is based on the org's own engagement history, includes sample size/confidence, and degrades to a public no-auth curve when history is thin. That is meaningful disclosure beyond the annotations.

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?

Front-loaded with the core purpose, then the workflow guidance, then the fallback. It is somewhat long and the trailing 'CAPABILITY: read' sentence largely repeats the readOnlyHint annotation, but no sentence is wasted.

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?

For a read-only, single-optional-parameter tool with no output schema, the description covers purpose, returned content (top hours/days plus sample size and confidence), workflow sequencing with schedule_post, and the low-history fallback. An agent has everything needed to call it correctly.

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 description coverage is 100% and the single optional parameter is fully documented in the schema, including the omit-to-get-all-platforms behavior. The description restates the platform filter but adds no syntax, defaults, or edge-case meaning beyond the schema, so the baseline 3 is appropriate.

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: returns the org's best posting time slots (top hours and days with sample size/confidence), computed from its OWN historical engagement rather than industry averages. This distinguishes it from the public/no-auth best-time curve and from sibling best_time_teaser.

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?

Explicitly says CALL THIS BEFORE SCHEDULING and describes the sequence: call get_optimal_times, read top per-platform slots, then schedule posts into those windows. It also gives the fallback condition (little history → public best-time curve), so both when-to-use and what-to-do-otherwise are covered.

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.