Skip to main content
Glama

oriiion

Generate Posts

generate_posts

Generate new social media posts using AI with Agency Workforce v3. Named products in the description (e.g. iPhone 18, Volvo EX90) are detected automatically: photos come from the user's own catalogue when they have it, otherwise reference photos are found on the web, so the image shows the real product. For an explicitly requested publication date, pass scheduledDate and optional scheduledTime: the server reserves the date and creates an idea review card with Approve / Change date. Approval is required before publishing. When the user names networks ('only TikTok', 'LinkedIn and Instagram', 'everywhere') pass platforms, and instagramPlacement 'story' for an Instagram story; the choice is kept through approval. Returns a task ID and group ID immediately; say creation has started, never that it is already scheduled. The user is notified when ready. Check get_generation_status if they ask for progress.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNoNumber of posts to generate (default: 1)
platformsNoWhich networks this post goes to. Omit to use the account's own publishing settings. ['all'] = every network the account has connected. Or any subset the user names, e.g. ['tiktok'], ['linkedin'], ['linkedin','instagram']. Only connected networks publish; the result lists any that can't, and why (not connected, switched off, needs a video).
charactersNoSaved characters (people with photos) to show in the picture, by name. Only when the user asks for them or the post is about that person; use_character_reference lists who exists.
productIdsNoCatalogue products to show IN the post, as list_products ids ('shopify-42', 'feed-17'). Pass every product the user named in ONE call: 'a post about A and B' is one post with both. Every listed product goes into every post of the call.
descriptionNoTopic or description for the posts. If omitted, auto-generates based on user profile.
exactCaptionNoQuoted/dictated wording, preserved verbatim. Omit when the user gave a topic to write about.
scheduledDateNoWhen explicitly requested: YYYY-MM-DD in the account timezone. Reserves the date and requires approval before publishing; omit for an undated draft.
scheduledTimeNoLocal HH:mm. If only a date was requested, omit to use 09:00; tell the user the returned time.
facebookPlacementNoFacebook only: 'feed', 'story' (Page story only, no feed post, no caption) or 'feed_and_story'. Omit to keep the account default.
instagramPlacementNoInstagram only: 'feed' = feed post, no story copy; 'story' = Instagram STORY ONLY — no feed post, no caption, first image or video only; 'feed_and_story' = feed post plus the same media as a story. Omit to keep the account default.
perPostDescriptionsNoOne complete brief per post for distinct subjects; length must equal count.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations (which only declare non-read-only, open-world, non-idempotent, non-destructive): product photos come from the user's catalogue or the web, scheduling reserves the date and creates an idea review card, approval is required before publishing, and it returns a task ID and group ID immediately with the explicit instruction not to claim it is already scheduled. This is exactly the context an agent needs to set expectations.

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 flows through product detection, scheduling/approval, platform targeting, and return semantics. It is dense and long, but nearly every sentence carries actionable instruction; only minor tightening would be possible.

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 an 11-parameter mutation tool with no output schema, the description covers the key gaps: that it returns a task ID and group ID, that approval is required, that the user is notified when ready, and where to check progress. Nothing an agent needs to invoke and report on this tool correctly is missing.

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 baseline is 3, but the description maps natural user phrasing onto parameters ('only TikTok', 'LinkedIn and Instagram', 'everywhere' -> platforms; 'a post about A and B' -> productIds in one call) rather than merely restating schema text. That mapping adds real selection value on top of the schema.

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?

States a specific verb and resource ('Generate new social media posts using AI'), and the body clarifies the scope (auto product detection, scheduling, platform targeting). It does not, however, name the siblings it is distinct from (e.g. generate_from_product, create_post_from_image, generate_from_news), so an agent must infer routing.

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?

Gives concrete conditional guidance: pass scheduledDate/scheduledTime only when a date is explicitly requested, pass platforms when the user names networks, pass instagramPlacement 'story' for a story, and 'Check get_generation_status if they ask for progress' names an alternative. It stops short of stating when this tool should be avoided in favor of image/video-specific siblings.

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