# suggest_posting_slots

Source: https://heyeveryone.ai/docs/mcp/suggest_posting_slots

> Suggest weekly posting times per channel account (or one, `channelAccountId`) from the workspace's own results: published posts of the last 180 days, averaged by weekday and by hour in the workspace's time zone (`metric`, default engagements). A channel needs 15 posts with results; until then it gets common weekday times with `source: "default"` and no numbers. Each slot has `nextAt` (next occurrence) and `inQueue`; add slots with set_queue_slots. Read-only.

Suggest weekly posting times per channel account (or one, `channelAccountId`) from the workspace's own results: published posts of the last 180 days, averaged by weekday and by hour in the workspace's time zone (`metric`, default engagements). A channel needs 15 posts with results; until then it gets common weekday times with `source: "default"` and no numbers. Each slot has `nextAt` (next occurrence) and `inQueue`; add slots with set_queue_slots. Read-only.

## Access and cost

- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false

## Input schema

```json
{
  "properties": {
    "workspaceId": {
      "format": "uuid",
      "type": "string"
    },
    "channelAccountId": {
      "format": "uuid",
      "type": "string"
    },
    "perWeek": {
      "default": 5,
      "maximum": 14,
      "minimum": 1,
      "type": "integer"
    },
    "metric": {
      "default": "engagements",
      "enum": [
        "impressions",
        "views",
        "likes",
        "comments",
        "shares",
        "saves",
        "clicks",
        "engagements"
      ],
      "type": "string"
    }
  },
  "required": [
    "workspaceId"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "additionalProperties": false,
  "properties": {
    "metric": {
      "enum": [
        "impressions",
        "views",
        "likes",
        "comments",
        "shares",
        "saves",
        "clicks",
        "engagements"
      ],
      "type": "string"
    },
    "timeZone": {
      "type": "string"
    },
    "since": {
      "format": "date-time",
      "type": "string"
    },
    "method": {
      "type": "string"
    },
    "channels": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "channelAccountId": {
            "format": "uuid",
            "type": "string"
          },
          "platform": {
            "enum": [
              "x",
              "linkedin",
              "threads",
              "bluesky",
              "instagram",
              "facebook",
              "tiktok",
              "youtube",
              "sandbox"
            ],
            "type": "string"
          },
          "source": {
            "enum": [
              "results",
              "default"
            ],
            "type": "string"
          },
          "postsWithResults": {
            "minimum": 0,
            "type": "integer"
          },
          "minimumPosts": {
            "minimum": 1,
            "type": "integer"
          },
          "slots": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "dayOfWeek": {
                  "maximum": 6,
                  "minimum": 0,
                  "type": "integer"
                },
                "day": {
                  "type": "string"
                },
                "localTime": {
                  "type": "string"
                },
                "nextAt": {
                  "format": "date-time",
                  "type": "string"
                },
                "inQueue": {
                  "type": "boolean"
                },
                "evidence": {
                  "anyOf": [
                    {
                      "additionalProperties": false,
                      "properties": {
                        "dayAverage": {
                          "minimum": 0,
                          "type": "number"
                        },
                        "dayPosts": {
                          "minimum": 1,
                          "type": "integer"
                        },
                        "hourAverage": {
                          "minimum": 0,
                          "type": "number"
                        },
                        "hourPosts": {
                          "minimum": 1,
                          "type": "integer"
                        }
                      },
                      "required": [
                        "dayAverage",
                        "dayPosts",
                        "hourAverage",
                        "hourPosts"
                      ],
                      "type": "object"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "dayOfWeek",
                "day",
                "localTime",
                "nextAt",
                "inQueue",
                "evidence"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "note": {
            "type": "string"
          }
        },
        "required": [
          "channelAccountId",
          "platform",
          "source",
          "postsWithResults",
          "minimumPosts",
          "slots",
          "note"
        ],
        "type": "object"
      },
      "type": "array"
    }
  },
  "required": [
    "metric",
    "timeZone",
    "since",
    "method",
    "channels"
  ],
  "type": "object"
}
```

## Errors

```json
[]
```

## Annotations

```json
{
  "destructiveHint": false,
  "idempotentHint": true,
  "openWorldHint": false,
  "readOnlyHint": true,
  "title": "Suggest posting times"
}
```
