Skip to main content
Glama

Set evergreen reposts

set_evergreen
Destructive

Turns on evergreen for a published upload, or changes it: ShortSync reposts it on the chosen accounts every interval_days with the original caption, at the next free posting slot (X is never reposted to). With start_metric and min_count it waits: the first repost goes out once one of the upload's published posts has that many likes, views, comments or shares (checked every hour; get_evergreen's supported_metrics says which can be read), and it stops if that doesn't happen within 30 days. Omitted fields keep what's saved (new: all usable accounts, every 30 days, no wait). The file is kept while it's on. Creator and Team plans. Same as PUT /api/v1/uploads/{upload_id}/evergreen.

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": {
      "workspace_id": "<workspace_id>",
      "upload_id": "<upload_id>"
    },
    "name": "set_evergreen"
  }
}

Input Schema

NameRequiredDescriptionDefault
min_countNoStart reposting only once the post has this many of start_metric (1 to 100,000,000). null removes the wait. Omit to keep the saved value.
min_likesNoOlder form of start_metric "likes" with min_count. Don't send it together with min_count.
upload_idYesThe published upload (video_upload_id from list_video_uploads or get_post_details).
start_metricNoWhat the first repost waits for. Use with min_count. Omit to keep the saved one (likes when none).
workspace_idYesWorkspace of the upload. Get one from list_workspaces.
interval_daysNoDays between reposts. Default: the saved interval, or 30.
connection_idsNoAccounts to repost on: ids from get_evergreen's connections with state ok. Default: the saved ones, or all usable.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / min_count
      Added value: +{
      +  "description": "Start reposting only once the post has this many of start_metric (1 to 100,000,000). null removes the wait. Omit to keep the saved value.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedInput schema / properties / min_likes / description
      Previous value: -"Start reposting only once the post has this many likes (1 to 1,000,000). null removes the wait. Omit to keep the saved value."New value: +"Older form of start_metric \"likes\" with min_count. Don't send it together with min_count."
    • addedInput schema / properties / start_metric
      Added value: +{
      +  "description": "What the first repost waits for. Use with min_count. Omit to keep the saved one (likes when none).",
      +  "enum": [
      +    "likes",
      +    "views",
      +    "comments",
      +    "shares"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the destructive mutation profile is established structurally. The description still adds real value beyond that: the X exclusion, the hourly metric check, the 30-day abandonment cutoff, the merge semantics for omitted fields, plan gating (Creator and Team), and file retention while enabled. It does not, however, describe what happens to already-scheduled reposts when settings change, which matters for a destructiveHint tool.

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 main verb and effect are front-loaded, and each subsequent sentence carries distinct information (wait logic, defaults, plan gate, API mapping) with no filler. The middle sentence about start_metric/min_count is long and buries the 30-day cutoff mid-clause, which slightly hurts scannability.

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 eight-parameter mutation tool with no output schema, the definition covers the behavioral consequences (repost timing, metric wait, abandonment after 30 days), the defaults for new versus existing uploads, plan eligibility, and even retry safety via idempotency. Nothing an agent needs in order to invoke it correctly appears to be missing.

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

Parameters3/5

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

Schema coverage is 100%, so the per-field meanings are already documented, giving a baseline of 3. The description contributes the cross-parameter semantics that the schema cannot express — the start_metric+min_count wait rule, the 30-day and hourly cadence, and the full-default case for a brand-new upload (all usable accounts, 30 days, no wait) — but says nothing extra about interval_days, connection_ids or idempotency_key beyond what the schema states.

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 opening clause names a specific verb and resource — 'Turns on evergreen for a published upload, or changes it' — and immediately explains the resulting behavior (repost on chosen accounts every interval_days with the original caption). An agent can distinguish this from get_evergreen and stop_evergreen without opening any schema.

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 clear context for when to call it (enabling or modifying evergreen) and states the default behavior for omitted fields, so an agent knows a partial payload is a merge rather than a reset. It points to get_evergreen's supported_metrics for valid metrics, but never explicitly names stop_evergreen as the way to turn the feature off, leaving that routing to inference.

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.