Skip to main content
Glama

queue_social_posts

Destructive

Queue posts for one or more social accounts: a video library entry (library_slug), an IMAGE post (kind image + document_ids of uploaded images, 1-20 on LinkedIn, 1-10 on Facebook, 1 on Instagram; upload first with create_document_upload_url -> PUT -> finalize_document_upload) or a TEXT post (kind text + text, optional link). Image/text work on LinkedIn (profile and pages) and Facebook pages; Instagram images only; TikTok/Pinterest videos only. The timer (every 5 min) uploads and prepares them; they are published only by an approved plan (schedule_social_publishing). TikTok posts are sent to TikTok only after a person confirms them in the app's TikTok dialog (approve_tiktok_post). Already queued or posted entries are skipped per account.

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": {
      "account_ids": "<account_ids>",
      "items": "<items>"
    },
    "name": "queue_social_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesin posting order
account_idsYesaccounts from list_social_accounts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / items / items / properties / alt_texts
      Added value: +{
      +  "description": "image: alt text per image (accessibility), same order",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / document_ids
      Added value: +{
      +  "description": "image: uploaded image documents (jpeg/png/gif/webp), in order",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedInput schema / properties / items / items / properties / kind
      Added value: +{
      +  "description": "default video (needs library_slug)",
      +  "enum": [
      +    "video",
      +    "image",
      +    "text"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / items / items / properties / library_slug / description
      Previous value: -"Slug of the video library entry"New value: +"video: slug of the video library entry"
    • addedInput schema / properties / items / items / properties / link
      Added value: +{
      +  "description": "text/image: link to mention (Facebook text posts attach it as link preview)",
      +  "type": "string"
      +}
    • changedInput schema / properties / items / items / properties / text / description
      Previous value: -"post text; default: summary + link to the video page"New value: +"post text (required for text posts); video default: summary + link to the video page"
    • removedInput schema / properties / items / items / required
      Removed value: -[
      -  "library_slug"
      -]
  2. Changed2 schema fields changed
    • addedInput schema / properties / items / items / properties / tiktok
      Added value: +{
      +  "description": "TikTok only: the agent's SUGGESTION for the posting dialog (privacy_level, allow_comment/duet/stitch, brand_organic, branded_content). It is shown to the person as a hint but never preselected - the person chooses and confirms in the app's TikTok dialog (approve_tiktok_post).",
      +  "properties": {
      +    "allow_comment": {
      +      "type": "boolean"
      +    },
      +    "allow_duet": {
      +      "type": "boolean"
      +    },
      +    "allow_stitch": {
      +      "type": "boolean"
      +    },
      +    "brand_organic": {
      +      "type": "boolean"
      +    },
      +    "branded_content": {
      +      "type": "boolean"
      +    },
      +    "privacy_level": {
      +      "enum": [
      +        "PUBLIC_TO_EVERYONE",
      +        "MUTUAL_FOLLOW_FRIENDS",
      +        "FOLLOWER_OF_CREATOR",
      +        "SELF_ONLY"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
    • changedInput schema / properties / items / items / properties / title / description
      Previous value: -"title (Pinterest, LinkedIn video title); default: library title"New value: +"title (Pinterest, LinkedIn video title, TikTok caption); default: library title"
  3. Added

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations (which only say readOnly=false, destructive=true, idempotent=false), the description discloses the asynchronous model (a 5-minute timer uploads and prepares items), the gating on an approved publishing plan, the human confirmation requirement for TikTok, and per-account dedup ('already queued or posted entries are skipped'). These are non-obvious operational traits the agent could not infer from annotations alone.

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-loads the purpose and packs platform rules, upload prerequisites and gating into a single dense paragraph with almost no filler. The heavy nested parentheticals make it slightly hard to scan, but every clause carries actionable constraint information.

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 two-parameter but semantically rich queueing tool with annotations covering the safety profile, the description supplies the platform matrix, the upload prerequisite chain, async timing and the approval gate. It does not indicate what the call returns (e.g., queued item identifiers) or how partial failures across multiple account_ids are reported, which matters for a destructive multi-account mutation.

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?

Schema coverage is 100%, so the schema already documents every field including nested tiktok options and enum values. The description still adds genuine domain constraints not in the schema: image count limits per platform (1-20 LinkedIn, 1-10 Facebook, 1 Instagram) and which item kinds are valid on which platform. It does not add much about account_ids beyond pointing at list_social_accounts, which the schema already does.

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 ('Queue posts for one or more social accounts') and immediately enumerates the three supported item kinds (video via library_slug, image via document_ids, text via text). It also explicitly separates queueing from publishing ('published only by an approved plan (schedule_social_publishing)'), so an agent can distinguish it from the sibling that actually schedules publication.

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?

Gives explicit preconditions ('upload first with create_document_upload_url -> PUT -> finalize_document_upload') and names the alternative path for publishing (schedule_social_publishing) and the human-confirmation path for TikTok (approve_tiktok_post). It also states a platform support matrix (LinkedIn/Facebook for image+text, Instagram images only, TikTok/Pinterest videos only), which is exactly the when-to-use/when-not-to-use information needed.

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.