Skip to navigation

How AI assistants use Flockx

Recommended tool order, workflows, and rules for AI assistants and agent builders working with the Flockx MCP server.

This page is written for two readers: people who want to know what their assistant will do, and AI assistants (or the builders who configure them) that want to use Flockx well. The tool descriptions the server publishes carry the same rules; this page puts them in order.

Core rules

  1. Start from the brand. Before creating content for an organization the first time in a session, call get-business-profile and rule-list. Every generation layers the brand on automatically, but reading it lets you write better briefs and spot stale details to suggest updating.
  2. Act in the right organization. If the person belongs to more than one organization, call list-organizations once and pass organization_id for the one they name. Never guess between organizations. An organization_id the person cannot access is always an error; the server never silently switches.
  3. Generation is asynchronous. generate-image, generate-video, and generate-video-from-template return an id immediately. Poll get-image-generation or get-video-generation until the status is final, and never share a link before it is completed.
    • Images: completed or failed, usually within seconds to a few minutes.
    • Videos: completed, failed, expired, or cancelled, usually within a few minutes. No more than three videos run at once per organization.
    • If your client cannot wait, tell the person generation has started and check back on the next turn.
  4. Confirm before anything goes public. publish-social-draft (publish now) and linkedin-post-comment cannot be undone. run-workflow may publish or send. Show the person exactly what will go out and get a clear yes first. A scheduled post can be cancelled with unschedule-social-draft until it goes out.
  5. Ask before spending repeatedly. Generations use the organization’s plan allowance. Offer one strong result and iterate on request rather than generating many variations unprompted.
  6. Respect refusals. A subscription_required refusal is final for that organization: do not retry. If the refusal names another tool to use instead, use it; otherwise tell the person how to upgrade. A Flockx Pro refusal explains the upgrade path the same way.
  7. People in images need permission. If a reference image shows people, video generation accepts it only after the person confirms they have permission (attest-people-permission), or after remove-people makes a people-free copy. Ask; never attest on the person’s behalf without their confirmation.

Workflows

Draft and schedule a week of social posts

  1. get-business-profile and rule-list to ground the voice.
  2. list-social-profiles to see which channels are connected.
  3. generate-social-content with a brief per post (topic, channel, call to action).
  4. list-social-posts with the draft status to collect the drafts, then show them to the person.
  5. update-social-post for any edits they ask for.
  6. After explicit approval, publish-social-draft with a schedule time for each post.

Turn a photo into a short video

  1. list-media to find the photo, or add-media to bring it in from a URL or upload.
  2. analyze-media if the asset has no analysis yet. If it shows people, ask about permission (attest-people-permission) or use remove-people.
  3. suggest-video-templates with the goal, for example “Instagram reel for our new menu”.
  4. list-creative-presets to pick the preset for the target channel.
  5. generate-video-from-template with the template, the photo, and the preset.
  6. get-video-generation until completed, then share the video.

Create an on-brand image for a post

  1. get-business-profile if you have not read it this session.
  2. generate-image with a specific description. Brand guidelines are applied by default.
  3. get-image-generation until completed. The image is saved in the media library.
  4. Optionally update-social-post to attach it to a draft.

Clean up and organize the library

  1. list-media with a search or tag filter.
  2. clean-image to strip text, watermarks, or logos (each result is a new asset).
  3. update-media to rename and tag the results.

Capture a house rule

When the person corrects something that will recur (“never use exclamation marks”, “always show the product in natural light”), offer to save it with rule-create: target agent_prompt for writing guidance, video_guidance for how videos are made. Check rule-list first so you update an existing rule instead of duplicating it.

Writing good briefs

  • Say who, what, and where: the audience, the message, and the channel (“a LinkedIn post for restaurant owners announcing our Tuesday tasting menu”).
  • Reference real assets by id from list-media instead of describing them.
  • Prefer templates and presets for video. They encode formats that already work for the channel.

For builders

  • Use the connection details to connect. Request the server’s required default scopes (agents, media, and socials read and write, plus offline_access), and add optional scopes such as workflows or skills only for the tools you use. See Permissions.
  • Pin an organization per session with the X-Organization header when your product always works in one organization.
  • Machine-readable docs for this site are available at /llms.txt and /llms-full.txt.