Skip to main content
Glama

Gönderi oluştur

xplanner_create_post
Idempotent

Erişime açık platformlar için taslak, planlı veya anlık gönderi oluşturur. YouTube Shorts tek kare/dikey, 1–180 saniyelik video ve açık metadata/beyan seçimi gerektirir. Yükleme sonucu processing olabilir; GET post ile izle. Yeni akışta önce xplanner_list_social_sets ve xplanner_get_platform_capabilities çağrılmalıdır.

  • mode verilmezse taslak (draft) olarak kaydedilir.

  • mode: 'scheduled' + scheduledAt verilirse planlanır (posts:schedule izni gerekir).

  • scheduledAt her zaman saat dilimi içermeli: sonu Z ya da +03:00 gibi UTC farkı (ör. 2026-11-21T00:00:00+14:00). Saat dilimi olmayan zaman reddedilir. Kullanıcının saatini çevirirken xplanner_get_posting_schedule ile accountTimezone (profil) ve timezone (Sosyal Set) değerlerini oku; Sosyal Set slotu için upcomingSlots[].startsAt değerini aynen kullan.

  • mode: 'publish_now' verilirse yayın kuyruğuna alınır (posts:schedule ve posts:publish izni gerekir).

  • Taslaklar platform metin/URL sınırlarına göre denetlenmez; yayınlanabilirliği planlama veya yayın sırasında doğrulanır. scheduledAt yalnız mode='scheduled' ile kullanılır; taslakta yok sayılır ama yine posts:schedule ister.

  • İçerik seçili workspace ve Sosyal Set'e aittir; platform hesapları yalnız publishTargets içinde yayın hedefidir.

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": {
      "workspaceId": "<workspaceId>",
      "socialSetId": "<socialSetId>",
      "text": "<text>"
    },
    "name": "xplanner_create_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNodraft
textYesOrtak gönderi metni. XPlanner her hedef için kendi platform sınırını uygular; textOverride varsa o hedefte onu doğrular.
titleNoDahili başlık (X'te yayınlanmaz, sadece xplanner UI'da görünür). Max 160 karakter. Belirtilmezse 'API Gönderisi' kullanılır.
mediaRefsNoOrtak medya havuzu. Hedefe özel seçimler bu listedeki referanslardan yapılır.
scheduledAtNoSaat dilimi içeren ISO 8601 tarih-saat: sonu Z ya da +03:00 gibi UTC farkı (ör. 2026-11-21T00:00:00+14:00). mode='scheduled' ile birlikte kullanılır. Kullanıcının söylediği saati accountTimezone veya Sosyal Set timezone ile çevir.
socialSetIdYes
workspaceIdYes
mediaMetadataNo
idempotencyKeyNoReuse the same key when retrying; without it every call creates a new post.
publishTargetsNoYayın hedefleri: hedef başına platform, hesap, özel metin ve özel medya. Sabit toplam hedef sınırı yoktur; seçili Sosyal Set'teki her aktif ve platformla uyumlu hesap en fazla bir kez hedeflenebilir. Hesapları xplanner_list_social_sets ile oku. Verilmezse tüm hesaplara değil, yalnız tek hedefe (Sosyal Set'in birincil aktif hesabı; YouTube/TikTok hariç) gider; tüm hesaplar için her birini burada açıkça listele. One target per distinct active Social Set account; no fixed total count. Omitting it targets only the primary account, not every account.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / scheduledAt / description
      Previous value: -"ISO 8601 tarih. mode='scheduled' ile birlikte kullanılır."New value: +"Saat dilimi içeren ISO 8601 tarih-saat: sonu Z ya da +03:00 gibi UTC farkı (ör. 2026-11-21T00:00:00+14:00). mode='scheduled' ile birlikte kullanılır. Kullanıcının söylediği saati accountTimezone veya Sosyal Set timezone ile çevir."
  2. Changed4 schema fields changed
    • addedInput schema / properties / idempotencyKey / description
      Added value: +"Reuse the same key when retrying; without it every call creates a new post."
    • changedInput schema / properties / publishTargets / description
      Previous value: -"Platform başına yayın hedefi, özel metin ve özel medya seçimi."New value: +"Yayın hedefleri: hedef başına platform, hesap, özel metin ve özel medya. Sabit toplam hedef sınırı yoktur; seçili Sosyal Set'teki her aktif ve platformla uyumlu hesap en fazla bir kez hedeflenebilir. Hesapları xplanner_list_social_sets ile oku. Verilmezse tüm hesaplara değil, yalnız tek hedefe (Sosyal Set'in birincil aktif hesabı; YouTube/TikTok hariç) gider; tüm hesaplar için her birini burada açıkça listele. One target per distinct active Social Set account; no fixed total count. Omitting it targets only the primary account, not every account."
    • changedInput schema / properties / publishTargets / items / properties / providerOptions / description
      Previous value: -"Closed v1 options. Instagram Reels accept shareToFeed/coverFrameMs. YouTube short requires youtube: title (100 characters), description (5000 UTF-8 bytes), explicit privacyStatus, selfDeclaredMadeForKids and containsSyntheticMedia. Optional YouTube settings: tags, categoryId, defaultLanguage, localizations (needs defaultLanguage), license, embeddable, publicStatsViewable, notifySubscribers and recordingDate (YYYY-MM-DD); omit them for YouTube defaults. Age restriction, comments, chapters, remix, playlists, captions and thumbnails are not accepted. TikTok feed requires nine explicit video fields; carousel requires title (90 UTF-16), privacyLevel, allowComment, discloseCommercialContent, yourBrand, brandedContent, isAigc, autoAddMusic and coverIndex (zero-based), with 1-35 JPEG/PNG/WebP source images (prepared as JPEG; transparency becomes white), description in textOverride (4000 UTF-16), up to 5 MiB each. Both require content-bound owner consent recorded in XPlanner before scheduling/publishing. Create a draft, inspect xplanner_get_post_publishing_readiness, then direct the owner to ownerActionUrl. The owner reviews settings, accepts required terms and selects Publish or Schedule; preparation and consent complete automatically in that action. Re-read the post and readiness after the owner acts to avoid duplicate publication. Never infer declarations or supply private delivery state."New value: +"Closed v1 options. Instagram Reels accept shareToFeed/coverFrameMs. YouTube short requires youtube: title (100 characters), description (5000 UTF-8 bytes), explicit privacyStatus, selfDeclaredMadeForKids and containsSyntheticMedia. Optional YouTube settings: tags, categoryId, defaultLanguage, localizations (needs defaultLanguage), license, embeddable, publicStatsViewable, notifySubscribers and recordingDate (YYYY-MM-DD); omit them for YouTube defaults. Age restriction, comments, chapters, remix, playlists, captions and thumbnails are not accepted. TikTok is accepted only when xplanner_get_platform_capabilities lists TikTok; it is not available on the production server. Never infer declarations or supply private delivery state."
    • changedInput schema / properties / publishTargets / items / properties / providerOptions / properties / x / description
      Previous value: -"X feed only, gated by x_advanced_publishing. Question/commentary is post text. Polls and quotes cannot include media. Replies depend on X source visibility and self-serve summons rules. Quote additionally requires discovery xAdvancedOptions.quote.available=true and server-side Enterprise entitlement. Thread additionally requires x_thread_publishing and discovery availability; posts are 1-9 additional replies (2-10 total), with optional per-post media or polls in attachments (root first; every ref must also be in target mediaRefs), conservative weight 280 each. Root text/media is the normal post source. Read current limits from discovery. Partial IDs are read-only progress, never input. IDs are strings; private delivery state is forbidden."New value: +"X feed only, gated by x_advanced_publishing. Question/commentary is post text. Polls and quotes cannot include media. Replies depend on X source visibility and self-serve summons rules. Quote additionally requires discovery xAdvancedOptions.quote.available=true and server-side Enterprise entitlement. Thread additionally requires x_thread_publishing and discovery availability; posts are 1-9 additional replies (2-10 total), with optional per-post media or polls in attachments (root first; every ref must also be in target mediaRefs), each additional post uses that X account's own text limit (280 standard / 25000 Premium; read thread.additionalPostTextLimits in discovery). Root text/media is the normal post source. Read current limits from discovery. Partial IDs are read-only progress, never input. IDs are strings; private delivery state is forbidden."
  3. Changed15 schema fields changed
    • removedInput schema / properties / accountId
      Removed value: -{
      -  "description": "Geriye uyumlu X hesap kimliği.",
      -  "format": "uuid",
      -  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -  "type": "string"
      -}
    • changedInput schema / properties / mediaMetadata / maxItems
      Previous value: -44New value: +600
    • changedInput schema / properties / mediaRefs / maxItems
      Previous value: -44New value: +600
    • addedInput schema / properties / publishTargets / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / publishTargets / items / properties / deliveryMode
      Added value: +{
      +  "const": "automatic_api",
      +  "default": "automatic_api",
      +  "type": "string"
      +}
    • changedInput schema / properties / publishTargets / items / properties / mediaMetadata / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "properties": {
      -        "altText": {
      -          "anyOf": [
      -            {
      -              "maxLength": 1000,
      -              "type": "string"
      -            },
      -            {
      -              "type": "null"
      -            }
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "maxItems": 20,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "properties": {
      +        "altText": {
      +          "anyOf": [
      +            {
      +              "maxLength": 1000,
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "maxItems": 200,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / publishTargets / items / properties / mediaRefs / anyOf
      Previous value: -[
      -  {
      -    "items": {
      -      "type": "string"
      -    },
      -    "maxItems": 20,
      -    "type": "array"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "items": {
      +      "type": "string"
      +    },
      +    "maxItems": 200,
      +    "type": "array"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / publishTargets / items / properties / platform / enum
      Previous value: -[
      -  "x",
      -  "linkedin",
      -  "threads"
      -]New value: +[
      +  "x",
      +  "linkedin",
      +  "threads",
      +  "facebook",
      +  "instagram",
      +  "youtube",
      +  "tiktok"
      +]
    • addedInput schema / properties / publishTargets / items / properties / providerOptions
      Added value: +{
      +  "additionalProperties": false,
      +  "description": "Closed v1 options. Instagram Reels accept shareToFeed/coverFrameMs. YouTube short requires youtube: title (100 characters), description (5000 UTF-8 bytes), explicit privacyStatus, selfDeclaredMadeForKids and containsSyntheticMedia. Optional YouTube settings: tags, categoryId, defaultLanguage, localizations (needs defaultLanguage), license, embeddable, publicStatsViewable, notifySubscribers and recordingDate (YYYY-MM-DD); omit them for YouTube defaults. Age restriction, comments, chapters, remix, playlists, captions and thumbnails are not accepted. TikTok feed requires nine explicit video fields; carousel requires title (90 UTF-16), privacyLevel, allowComment, discloseCommercialContent, yourBrand, brandedContent, isAigc, autoAddMusic and coverIndex (zero-based), with 1-35 JPEG/PNG/WebP source images (prepared as JPEG; transparency becomes white), description in textOverride (4000 UTF-16), up to 5 MiB each. Both require content-bound owner consent recorded in XPlanner before scheduling/publishing. Create a draft, inspect xplanner_get_post_publishing_readiness, then direct the owner to ownerActionUrl. The owner reviews settings, accepts required terms and selects Publish or Schedule; preparation and consent complete automatically in that action. Re-read the post and readiness after the owner acts to avoid duplicate publication. Never infer declarations or supply private delivery state.",
      +  "properties": {
      +    "coverFrameMs": {
      +      "maximum": 899999,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "facebook": {
      +      "additionalProperties": false,
      +      "description": "Facebook Reel or video Story only; each requires its matching feature access. Photo Story and feed video have no AI label field in this API contract. False/omission is canonical default.",
      +      "properties": {
      +        "isAigc": {
      +          "type": "boolean"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "instagram": {
      +      "additionalProperties": false,
      +      "description": "Requires instagram_advanced_publishing access. User tags: Reel/Story only, at most 20, optional paired x/y only on Story. Collaborators: feed/carousel/Reel only, at most 3. Trial Reel: explicit MANUAL or SS_PERFORMANCE graduation; provider eligibility still applies. Trial cannot be combined with tags, collaborators or outer shareToFeed. No stickers, source IDs, URLs, tokens or private delivery state.",
      +      "properties": {
      +        "collaborators": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "maxItems": 3,
      +          "type": "array"
      +        },
      +        "trialReel": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "graduationStrategy": {
      +              "enum": [
      +                "MANUAL",
      +                "SS_PERFORMANCE"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "graduationStrategy"
      +          ],
      +          "type": "object"
      +        },
      +        "userTags": {
      +          "items": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "username": {
      +                "type": "string"
      +              },
      +              "x": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              },
      +              "y": {
      +                "maximum": 1,
      +                "minimum": 0,
      +                "type": "number"
      +              }
      +            },
      +            "required": [
      +              "username"
      +            ],
      +            "type": "object"
      +          },
      +          "maxItems": 20,
      +          "type": "array"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "linkedin": {
      +      "description": "LinkedIn feed only, requires linkedin_advanced_publishing access. Read linkedinAdvancedOptions from identity-specific capabilities for canonical limits. Poll and reshare have no media; article has at most one owned still-image thumbnail. Document requires a title and one owned post-documents PDF (20 MiB/100-page product ceiling), explicit feature access, real-byte checks and asynchronous provider processing. No source document URN or upload URL is accepted. Poll duration and all declarations are explicit. Article metadata is not scraped. Reshare parent is an actual share/ugcPost URN, never infer it from an activity URL. No private upload state or credentials. The app validates and canonicalizes all fields before saving.",
      +      "oneOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "duration": {
      +              "enum": [
      +                "ONE_DAY",
      +                "THREE_DAYS",
      +                "SEVEN_DAYS",
      +                "FOURTEEN_DAYS"
      +              ],
      +              "type": "string"
      +            },
      +            "options": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "type": "array"
      +            },
      +            "question": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "poll",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "question",
      +            "options",
      +            "duration"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "title": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "article",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "source",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "title": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "document",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "title"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "parentUrn": {
      +              "pattern": "^urn:li:(?:share|ugcPost):[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "reshare",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "parentUrn"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "shareToFeed": {
      +      "type": "boolean"
      +    },
      +    "threads": {
      +      "description": "Threads feed or carousel for media; otherwise feed only; requires threads_advanced_publishing access and identity-specific threadsAdvancedOptions discovery. type=media accepts 1–20 owned JPEG/PNG images or MP4/MOV videos, with isSpoilerMedia applying to all carousel items. Images max 8 MiB; videos max 100 MiB, 3–300 seconds, 24–60 fps, 9:16–16:9 and 540x540–1920x3840. Explicit carousel publishes with at least two items; drafts may be incomplete. False spoiler flag is canonical omission. Other advanced types except rich thread are text-only. Thread attachments (root first, same count as root plus posts) accept per-post mediaRefs, poll, gifId or textAttachment, mutually exclusive; media refs must also appear in the target mediaRefs. Thread requires additional threads_series_publishing access and threads_manage_replies: 1–9 ordered additional replies (2–10 total), max 500 Unicode characters each; root is normal post text. Read thread.available in discovery. Partial ordered receipts are read-only; incomplete/unknown delivery is not published. Poll: 2–4 distinct options, up to 25 Unicode characters. Plain text attachment: up to 10000 characters. GIF: actual GIPHY ID, no upload/URL. Quote/reply: actual numeric postId string. Reply additionally requires threads_manage_replies; locationId requires threads_location_tagging. Ghost is text-only and archives after 24 hours; no other options. Other types permit a topicTag up to 50 characters without . or &, locationId and replyApprovals. Existing URL policy applies to post text and attachments. Options change source revision/review digest. Do not supply credentials, container IDs, status or receipts.",
      +      "oneOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "attachments": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "gifId": {
      +                    "pattern": "^[A-Za-z0-9_-]{1,128}$",
      +                    "type": "string"
      +                  },
      +                  "mediaRefs": {
      +                    "items": {
      +                      "pattern": "^post-(images|videos|gifs)\\/[A-Za-z0-9_./-]+$",
      +                      "type": "string"
      +                    },
      +                    "maxItems": 20,
      +                    "type": "array"
      +                  },
      +                  "poll": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "options": {
      +                        "items": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        "maxItems": 4,
      +                        "minItems": 2,
      +                        "type": "array"
      +                      }
      +                    },
      +                    "required": [
      +                      "options"
      +                    ],
      +                    "type": "object"
      +                  },
      +                  "textAttachment": {
      +                    "minLength": 1,
      +                    "type": "string"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "minItems": 2,
      +              "type": "array"
      +            },
      +            "locationId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "posts": {
      +              "items": {
      +                "anyOf": [
      +                  {
      +                    "const": "",
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "string"
      +                  }
      +                ]
      +              },
      +              "maxItems": 9,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "replyApprovals": {
      +              "type": "boolean"
      +            },
      +            "topicTag": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "thread",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "posts"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "locationId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "replyApprovals": {
      +              "type": "boolean"
      +            },
      +            "topicTag": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "post",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "isSpoilerMedia": {
      +              "type": "boolean"
      +            },
      +            "locationId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "replyApprovals": {
      +              "type": "boolean"
      +            },
      +            "topicTag": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "media",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "locationId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "options": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 4,
      +              "minItems": 2,
      +              "type": "array"
      +            },
      +            "replyApprovals": {
      +              "type": "boolean"
      +            },
      +            "topicTag": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "poll",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "options"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "attachment": {
      +              "type": "string"
      +            },
      +            "locationId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "replyApprovals": {
      +              "type": "boolean"
      +            },
      +            "topicTag": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "text_attachment",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "attachment"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "gifId": {
      +              "pattern": "^[A-Za-z0-9_-]{1,128}$",
      +              "type": "string"
      +            },
      +            "locationId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "replyApprovals": {
      +              "type": "boolean"
      +            },
      +            "topicTag": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "const": "gif",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "gifId"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "locationId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "postId": {
      +              "pattern": "^[1-9][0-9]{0,29}$",
      +              "type": "string"
      +            },
      +            "replyApprovals": {
      +              "type": "boolean"
      +            },
      +            "topicTag": {
      +              "type": "string"
      +            },
      +            "type": {
      +              "enum": [
      +                "quote",
      +                "reply"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "postId"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "type": {
      +              "const": "ghost",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "tiktok": {
      +      "anyOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "allowComment": {
      +              "type": "boolean"
      +            },
      +            "allowDuet": {
      +              "type": "boolean"
      +            },
      +            "allowStitch": {
      +              "type": "boolean"
      +            },
      +            "brandedContent": {
      +              "type": "boolean"
      +            },
      +            "coverFrameMs": {
      +              "maximum": 2147483647,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "discloseCommercialContent": {
      +              "type": "boolean"
      +            },
      +            "isAigc": {
      +              "type": "boolean"
      +            },
      +            "privacyLevel": {
      +              "enum": [
      +                "PUBLIC_TO_EVERYONE",
      +                "MUTUAL_FOLLOW_FRIENDS",
      +                "FOLLOWER_OF_CREATOR",
      +                "SELF_ONLY"
      +              ],
      +              "type": "string"
      +            },
      +            "yourBrand": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "privacyLevel",
      +            "allowComment",
      +            "allowDuet",
      +            "allowStitch",
      +            "discloseCommercialContent",
      +            "yourBrand",
      +            "brandedContent",
      +            "isAigc",
      +            "coverFrameMs"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "allowComment": {
      +              "type": "boolean"
      +            },
      +            "autoAddMusic": {
      +              "type": "boolean"
      +            },
      +            "brandedContent": {
      +              "type": "boolean"
      +            },
      +            "coverIndex": {
      +              "maximum": 34,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "discloseCommercialContent": {
      +              "type": "boolean"
      +            },
      +            "isAigc": {
      +              "type": "boolean"
      +            },
      +            "privacyLevel": {
      +              "enum": [
      +                "PUBLIC_TO_EVERYONE",
      +                "MUTUAL_FOLLOW_FRIENDS",
      +                "FOLLOWER_OF_CREATOR",
      +                "SELF_ONLY"
      +              ],
      +              "type": "string"
      +            },
      +            "title": {
      +              "maxLength": 90,
      +              "type": "string"
      +            },
      +            "yourBrand": {
      +              "type": "boolean"
      +            }
      +          },
      +          "required": [
      +            "title",
      +            "privacyLevel",
      +            "allowComment",
      +            "discloseCommercialContent",
      +            "yourBrand",
      +            "brandedContent",
      +            "isAigc",
      +            "autoAddMusic",
      +            "coverIndex"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "version": {
      +      "const": 1,
      +      "type": "number"
      +    },
      +    "x": {
      +      "description": "X feed only, gated by x_advanced_publishing. Question/commentary is post text. Polls and quotes cannot include media. Replies depend on X source visibility and self-serve summons rules. Quote additionally requires discovery xAdvancedOptions.quote.available=true and server-side Enterprise entitlement. Thread additionally requires x_thread_publishing and discovery availability; posts are 1-9 additional replies (2-10 total), with optional per-post media or polls in attachments (root first; every ref must also be in target mediaRefs), conservative weight 280 each. Root text/media is the normal post source. Read current limits from discovery. Partial IDs are read-only progress, never input. IDs are strings; private delivery state is forbidden.",
      +      "oneOf": [
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "attachments": {
      +              "items": {
      +                "additionalProperties": false,
      +                "properties": {
      +                  "mediaRefs": {
      +                    "items": {
      +                      "pattern": "^post-(images|videos|gifs)\\/[A-Za-z0-9_./-]+$",
      +                      "type": "string"
      +                    },
      +                    "maxItems": 4,
      +                    "type": "array"
      +                  },
      +                  "poll": {
      +                    "additionalProperties": false,
      +                    "properties": {
      +                      "durationMinutes": {
      +                        "maximum": 10080,
      +                        "minimum": 5,
      +                        "type": "integer"
      +                      },
      +                      "options": {
      +                        "items": {
      +                          "minLength": 1,
      +                          "type": "string"
      +                        },
      +                        "maxItems": 4,
      +                        "minItems": 2,
      +                        "type": "array"
      +                      }
      +                    },
      +                    "required": [
      +                      "options",
      +                      "durationMinutes"
      +                    ],
      +                    "type": "object"
      +                  }
      +                },
      +                "type": "object"
      +              },
      +              "maxItems": 10,
      +              "minItems": 2,
      +              "type": "array"
      +            },
      +            "posts": {
      +              "items": {
      +                "type": "string"
      +              },
      +              "maxItems": 9,
      +              "minItems": 1,
      +              "type": "array"
      +            },
      +            "type": {
      +              "const": "thread",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "posts"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "durationMinutes": {
      +              "maximum": 10080,
      +              "minimum": 5,
      +              "type": "integer"
      +            },
      +            "options": {
      +              "items": {
      +                "minLength": 1,
      +                "type": "string"
      +              },
      +              "maxItems": 4,
      +              "minItems": 2,
      +              "type": "array"
      +            },
      +            "type": {
      +              "const": "poll",
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "options",
      +            "durationMinutes"
      +          ],
      +          "type": "object"
      +        },
      +        {
      +          "additionalProperties": false,
      +          "properties": {
      +            "postId": {
      +              "pattern": "^[1-9][0-9]{0,18}$",
      +              "type": "string"
      +            },
      +            "type": {
      +              "enum": [
      +                "reply",
      +                "quote"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "type",
      +            "postId"
      +          ],
      +          "type": "object"
      +        }
      +      ]
      +    },
      +    "youtube": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "categoryId": {
      +          "enum": [
      +            "1",
      +            "2",
      +            "10",
      +            "15",
      +            "17",
      +            "19",
      +            "20",
      +            "22",
      +            "23",
      +            "24",
      +            "25",
      +            "26",
      +            "27",
      +            "28",
      +            "29"
      +          ],
      +          "type": "string"
      +        },
      +        "containsSyntheticMedia": {
      +          "type": "boolean"
      +        },
      +        "defaultLanguage": {
      +          "enum": [
      +            "ar",
      +            "bn",
      +            "de",
      +            "el",
      +            "en",
      +            "es",
      +            "fa",
      +            "fr",
      +            "he",
      +            "hi",
      +            "id",
      +            "it",
      +            "ja",
      +            "ko",
      +            "nl",
      +            "pl",
      +            "pt",
      +            "ro",
      +            "ru",
      +            "sv",
      +            "th",
      +            "tr",
      +            "uk",
      +            "ur",
      +            "vi",
      +            "zh-Hans",
      +            "zh-Hant"
      +          ],
      +          "type": "string"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "embeddable": {
      +          "type": "boolean"
      +        },
      +        "license": {
      +          "enum": [
      +            "youtube",
      +            "creativeCommon"
      +          ],
      +          "type": "string"
      +        },
      +        "localizations": {
      +          "additionalProperties": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "description": {
      +                "type": "string"
      +              },
      +              "title": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "title",
      +              "description"
      +            ],
      +            "type": "object"
      +          },
      +          "propertyNames": {
      +            "enum": [
      +              "ar",
      +              "bn",
      +              "de",
      +              "el",
      +              "en",
      +              "es",
      +              "fa",
      +              "fr",
      +              "he",
      +              "hi",
      +              "id",
      +              "it",
      +              "ja",
      +              "ko",
      +              "nl",
      +              "pl",
      +              "pt",
      +              "ro",
      +              "ru",
      +              "sv",
      +              "th",
      +              "tr",
      +              "uk",
      +              "ur",
      +              "vi",
      +              "zh-Hans",
      +              "zh-Hant"
      +            ],
      +            "type": "string"
      +          },
      +          "type": "object"
      +        },
      +        "notifySubscribers": {
      +          "type": "boolean"
      +        },
      +        "privacyStatus": {
      +          "enum": [
      +            "private",
      +            "unlisted",
      +            "public"
      +          ],
      +          "type": "string"
      +        },
      +        "publicStatsViewable": {
      +          "type": "boolean"
      +        },
      +        "recordingDate": {
      +          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      +          "type": "string"
      +        },
      +        "selfDeclaredMadeForKids": {
      +          "type": "boolean"
      +        },
      +        "tags": {
      +          "description": "Up to 500 characters in total; commas count and a tag with a space counts two quotes.",
      +          "items": {
      +            "type": "string"
      +          },
      +          "maxItems": 50,
      +          "type": "array"
      +        },
      +        "title": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "title",
      +        "description",
      +        "privacyStatus",
      +        "selfDeclaredMadeForKids",
      +        "containsSyntheticMedia"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "version"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / publishTargets / items / properties / publicationKind
      Added value: +{
      +  "default": "feed",
      +  "description": "Use only kinds returned by xplanner_get_platform_capabilities for this identity. Carousel limits and media rules come from publicationCapabilities. Instagram story requires feature access and a Business account: exactly one image/video, 3-60 seconds and up to 100 MB for video, no rendered caption or stickers; text is an internal XPlanner note and baseline options are {version:1}; additional access permits Story userTags in providerOptions.instagram. Facebook feed supports 0-1 image normally; facebook_multi_photo_publishing access permits 2-4 ordered JPG/PNG/WebP sources in feed or explicit carousel. Carousel drafts may be incomplete; publish requires 2-4 images. No mixed video/GIF or private upload state. With facebook_video_publishing access Facebook feed accepts one 3-600 second MP4/MOV and reel accepts one 3-90 second vertical 9:16 MP4/MOV; both up to 100 MiB, real-byte validation, public Page audience and verified status before publication success. Reel accepts optional providerOptions.facebook.isAigc and a rolling limit of 30 API publications per Page/24 hours; Facebook Story requires facebook_story_publishing access: one JPG/PNG/WebP photo or 3-60 second 9:16 MP4/MOV video, up to 100 MiB for video, a public Page audience and text as an internal note. Optional facebook.isAigc is valid only for video Story; no stickers/ALT. Group/manual remains unavailable. X feed video requires identity-specific media.supportsVideo=true; send a single video reference with baseline options, or matching X reply metadata when eligible.",
      +  "enum": [
      +    "feed",
      +    "carousel",
      +    "reel",
      +    "story",
      +    "short"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / publishTargets / items / properties / textOverride / anyOf
      Removed value: -[
      -  {
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedInput schema / properties / publishTargets / items / properties / textOverride / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedInput schema / properties / publishTargets / maxItems
      Removed value: -3
    • changedInput schema / properties / scheduledAt / pattern
      Previous value: -"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"New value: +"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    • changedInput schema / required
      Previous value: -[
      -  "text"
      -]New value: +[
      +  "workspaceId",
      +  "socialSetId",
      +  "text"
      +]
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Beyond the annotations (idempotentHint, openWorldHint, non-destructive), the description discloses that drafts are not validated against platform limits, that scheduledAt is ignored in drafts yet still requires posts:schedule, and that upload results may come back as 'processing' and should be followed via GET post. That is genuine operational context an agent would otherwise not have.

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 core purpose and the three modes are front-loaded in the first lines, then detailed as a bullet list, so an agent can stop reading early. Some redundancy exists (the scheduledAt/timezone rule and the draft-ignores-scheduledAt note appear in multiple places).

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?

For a 10-parameter tool with no output schema, the description covers the mutation's side effects, permission requirements, default targeting behavior, and the asynchronous processing follow-up. Deep per-platform option validation is delegated to discovery tools and the schema, which is a defensible split.

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

Parameters4/5

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

With 60% schema description coverage, the description adds real meaning: mode defaulting to draft, scheduledAt requiring an explicit UTC offset and being rejected without one, and the ownership rule that content belongs to the workspace/Social Set while accounts are only publish targets. Some parameters (mediaRefs, idempotencyKey, publishTargets) are left to the schema, which is reasonable at this coverage level.

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 opening sentence names a specific verb and resource ('taslak, planlı veya anlık gönderi oluşturur') and scopes it to accessible platforms, which separates it from update/publish/cancel siblings. It is clear but does not explicitly contrast with xplanner_publish_post or xplanner_update_post.

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?

Each mode is spelled out with its conditions and required scopes (posts:schedule for scheduled, posts:schedule+posts:publish for publish_now), and the onboarding order (xplanner_list_social_sets, xplanner_get_platform_capabilities) is stated. Timezone handling points the agent to xplanner_get_posting_schedule. What is missing is an explicit statement of when NOT to use this tool, e.g. versus publishing an existing draft.

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