Skip to main content
Glama

Update repurposing workflow

update_repurposing_workflow
Destructive

Changes a Repurposing workflow's settings, or pauses it (enabled: false) and turns it back on (enabled: true). Pass any subset of the settings. The source account and kind can't be changed; create a new workflow instead. Pausing a scheduled ('existing') workflow takes stop_action for the posts it scheduled that haven't gone out yet. A new-posts workflow turned back on starts from now, so posts made while it was paused aren't reposted. Turning a workflow on, or switching publish_mode to 'immediate', means new reposts go out to the target accounts without further confirmation, so confirm the change with the user first. Returns the updated workflow.

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": {
      "workflow_id": "<workflow_id>"
    },
    "name": "update_repurposing_workflow"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional name for the workflow (max 80 characters), e.g. 'Reels to TikTok'. null or empty shows the default label for its kind.
enabledNofalse pauses the workflow, true turns it back on.
timezoneNoScheduled workflows: IANA time zone the slots are in, e.g. 'Europe/Helsinki'.
stop_actionNoScheduled workflows: what happens to posts it scheduled that haven't gone out yet. 'drafts' (default) keeps them in the library as drafts, 'remove' deletes them. Published posts always stay.
workflow_idYesThe workflow. Get it from list_repurposing_workflows.
include_fromNoScheduled workflows: only repost source posts published on or after this date (ISO 8601).
publish_modeNoNew-posts workflows only: 'immediate' publishes each repost right away, 'draft' saves it to the library for review. Scheduled ('existing') workflows always schedule.
content_typesNoWhich post types to repost. Default: all three.
include_untilNoScheduled workflows: only repost source posts published on or before this date (ISO 8601).
publish_orderNoScheduled workflows: work through the source's posts newest or oldest first, or (Twitch only) most viewed first. Default newest.
caption_suffixNoOptional text added to every repost's caption (max 500 characters). null clears it.
schedule_slotsNoScheduled ('existing') workflows: publishing times per weekday, keys '0' (Sunday) to '6' (Saturday), values 'HH:mm' lists, up to 5 a day. Example: { "1": ["10:00"], "3": ["10:00", "16:00"] }.
target_optionsNoPer-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored. podcast?: { enabled: true } also turns each video into an episode of the workspace's podcast (set up on the Podcast page first); with it, target_connection_ids may be empty. Images and carousels are skipped for the podcast. audiogram?: { clip_seconds: 30 | 60 | 90 (default 60), start_seconds: 0-600 (default 0), whole_episode?: true (the rest of the episode, up to 10 minutes, instead of clip_seconds), wave_color?: "#rrggbb", background?: "cover" (blurred cover, default) | "color" | "dark", background_color?: "#rrggbb" (for color), show_label?: false (hide the show name above the title), label?: text up to 60 characters in its place }, feed (rss) workflows only and not with podcast: each audio-only episode is posted as a vertical video with its cover, title, a waveform and that clip of the audio, instead of its cover art. false turns it off. text_posts?: true, feed (rss) workflows only: items without a video go out as text posts (the title and link, so the platform shows its link preview) instead of an image post; accounts that don't take text posts (Instagram, TikTok, Pinterest, YouTube, Snapchat) are skipped for them. Audiograms still post as videos. false turns it off.
idempotency_keyNoOptional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice.
target_connection_idsNoConnections to repost to (ids from list_platform_connections), not the source. Pinterest needs target_options.pinterest.board_id and Reddit needs target_options.reddit.subreddit.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / target_options / description
      Previous value: -"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored. podcast?: { enabled: true } also turns each video into an episode of the workspace's podcast (set up on the Podcast page first); with it, target_connection_ids may be empty. Images and carousels are skipped for the podcast. audiogram?: { clip_seconds: 30 | 60 | 90 (default 60), start_seconds: 0-600 (default 0), whole_episode?: true (the rest of the episode, up to 10 minutes, instead of clip_seconds), wave_color?: \"#rrggbb\", background?: \"cover\" (blurred cover, default) | \"color\" | \"dark\", background_color?: \"#rrggbb\" (for color), show_label?: false (hide the show name above the title), label?: text up to 60 characters in its place }, feed (rss) workflows only and not with podcast: each audio-only episode is posted as a vertical video with its cover, title, a waveform and that clip of the audio, instead of its cover art. false turns it off."New value: +"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored. podcast?: { enabled: true } also turns each video into an episode of the workspace's podcast (set up on the Podcast page first); with it, target_connection_ids may be empty. Images and carousels are skipped for the podcast. audiogram?: { clip_seconds: 30 | 60 | 90 (default 60), start_seconds: 0-600 (default 0), whole_episode?: true (the rest of the episode, up to 10 minutes, instead of clip_seconds), wave_color?: \"#rrggbb\", background?: \"cover\" (blurred cover, default) | \"color\" | \"dark\", background_color?: \"#rrggbb\" (for color), show_label?: false (hide the show name above the title), label?: text up to 60 characters in its place }, feed (rss) workflows only and not with podcast: each audio-only episode is posted as a vertical video with its cover, title, a waveform and that clip of the audio, instead of its cover art. false turns it off. text_posts?: true, feed (rss) workflows only: items without a video go out as text posts (the title and link, so the platform shows its link preview) instead of an image post; accounts that don't take text posts (Instagram, TikTok, Pinterest, YouTube, Snapchat) are skipped for them. Audiograms still post as videos. false turns it off."
  2. Changed1 schema field changed
    • changedInput schema / properties / target_options / description
      Previous value: -"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored. audiogram?: { clip_seconds: 30 | 60 | 90 (default 60), start_seconds: 0-600 (default 0) }, feed (rss) workflows only and not with podcast: each audio-only episode is posted as a vertical video with its cover, title, a waveform and that clip of the audio, instead of its cover art. false turns it off."New value: +"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored. podcast?: { enabled: true } also turns each video into an episode of the workspace's podcast (set up on the Podcast page first); with it, target_connection_ids may be empty. Images and carousels are skipped for the podcast. audiogram?: { clip_seconds: 30 | 60 | 90 (default 60), start_seconds: 0-600 (default 0), whole_episode?: true (the rest of the episode, up to 10 minutes, instead of clip_seconds), wave_color?: \"#rrggbb\", background?: \"cover\" (blurred cover, default) | \"color\" | \"dark\", background_color?: \"#rrggbb\" (for color), show_label?: false (hide the show name above the title), label?: text up to 60 characters in its place }, feed (rss) workflows only and not with podcast: each audio-only episode is posted as a vertical video with its cover, title, a waveform and that clip of the audio, instead of its cover art. false turns it off."
  3. Changed1 schema field changed
    • changedInput schema / properties / target_options / description
      Previous value: -"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored."New value: +"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored. audiogram?: { clip_seconds: 30 | 60 | 90 (default 60), start_seconds: 0-600 (default 0) }, feed (rss) workflows only and not with podcast: each audio-only episode is posted as a vertical video with its cover, title, a waveform and that clip of the audio, instead of its cover art. false turns it off."
  4. Changed2 schema fields changed
    • changedInput schema / properties / publish_order / description
      Previous value: -"Scheduled workflows: work through the source's posts newest or oldest first. Default newest."New value: +"Scheduled workflows: work through the source's posts newest or oldest first, or (Twitch only) most viewed first. Default newest."
    • changedInput schema / properties / publish_order / enum
      Previous value: -[
      -  "newest",
      -  "oldest"
      -]New value: +[
      +  "newest",
      +  "oldest",
      +  "most_viewed"
      +]
  5. Changed2 schema fields changed
    • addedInput schema / properties / name
      Added value: +{
      +  "description": "Optional name for the workflow (max 80 characters), e.g. 'Reels to TikTok'. null or empty shows the default label for its kind.",
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / target_options / description
      Previous value: -"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'title' | 'description', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line and this says where the whole caption goes. settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored."New value: +"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'split' | 'title', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line; the description is the whole caption (title_and_description), the caption without its first line (split) or empty (title). settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored."
  6. Changed1 schema field changed
    • changedInput schema / properties / target_options / description
      Previous value: -"Where reposts land on targets that need a destination: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels."New value: +"Per-target options: { pinterest?: { board_id, board_name? }, reddit?: { subreddit }, discord?: { channel_ids: [] }, google_business?: { location_ids: [] }, caption_mode?: 'title_and_description' | 'title' | 'description', settings?: { <platform>: { ... } } }. Board ids come from list_pinterest_boards, channel ids from list_discord_channels. caption_mode: on YouTube, Pinterest, Reddit and Tumblr the title is the caption's first line and this says where the whole caption goes. settings: per-platform settings in the same camelCase shape as update_post's platform_settings (e.g. { youtube: { privacyStatus: 'unlisted', categoryId: '20' }, tiktok: { privacyLevel: 'SELF_ONLY' } }); anything unset uses the member's saved upload settings (YouTube defaults to public). Per-post fields (titles, alt text, subtitles, polls) are ignored."
  7. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint/openWorldHint annotations, the description discloses concrete consequences: 'remove' deletes unscheduled posts, resumed new-posts workflows do not backfill posts made during the pause, per-post fields are ignored, images/carousels are skipped for podcast, and enabling causes reposts to publish with no further confirmation. It also states the return value ("Returns the updated workflow").

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 action and the pause/resume contract before the caveats, and almost every sentence carries unique operational information. It is dense as a single paragraph and could be broken into bullets, but there is no filler.

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 a 15-parameter, nested-object mutation tool with no output schema, the description covers irreversible effects, cross-workflow-kind applicability, safety preconditions, and the return value. An agent has enough to decide whether to call it and what to warn the user about.

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 adds real meaning: which parameters apply to scheduled ('existing') vs new-posts workflows, the stop_action dependency when pausing, and the confirmation implication of publish_mode='immediate'. Most remaining depth (target_options nesting, idempotency) is already carried by the schema.

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?

The first sentence states a specific verb and resource (changes a Repurposing workflow's settings) and immediately covers the pause/resume semantics of the `enabled` flag. It is clearly distinguishable from create/delete/cancel siblings by explicitly declaring that source account and kind are immutable and require a new workflow.

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?

It gives explicit when-to-use routing for the immutable-fields case ("create a new workflow instead") and a clear precondition for pausing scheduled workflows (must supply stop_action). It also prescribes confirming with the user before enabling or switching to 'immediate'. It stops short of naming the delete/cancel siblings, but no alternatives are needed for its stated job.

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.