Skip to main content
Glama

Set a draft cover

set_post_cover
DestructiveIdempotent

Use this when the user wants the thumbnail or cover of a draft post chosen: "use the moment at 12 seconds as the thumbnail", "put this picture as the YouTube thumbnail". Give one of at_seconds, image_url or remove. Works on YouTube, Facebook and Instagram drafts; TikTok takes at_seconds only; Threads and Bluesky choose their own. Replaces the earlier cover. Not for: scheduled or posted posts (refused) or other draft details (update_draft). Free.

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": {
      "post_id": "<post_id>"
    },
    "name": "set_post_cover"
  }
}

Input Schema

NameRequiredDescriptionDefault
removeNoTrue removes the draft cover. Give only one of at_seconds, image_url, remove.
post_idYesId of a draft post, from get_post_stats with status "draft".
image_urlNoDirect https link to a .jpg, .png or .webp picture, or a Drive, Dropbox or OneDrive share link. Empty for none.
at_secondsNoUse the clip frame at this many seconds from the clip start, 0 up to the clip length. Empty for none.

Output Schema

NameRequiredDescriptionDefault
noteYes
coverYes
post_idYes
platformYes
review_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / properties / at_seconds / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • removedInput schema / properties / at_seconds / default
      Removed value: -null
    • addedInput schema / properties / at_seconds / type
      Added value: +"number"
    • removedInput schema / properties / image_url / default
      Removed value: -""
    • removedInput schema / properties / remove / default
      Removed value: -false
  2. Changed9 schema fields changed
    • addedInput schema / properties / at_seconds / description
      Added value: +"Use the clip frame at this many seconds from the clip start, 0 up to the clip length. Empty for none."
    • removedInput schema / properties / at_seconds / title
      Removed value: -"At Seconds"
    • addedInput schema / properties / image_url / description
      Added value: +"Direct https link to a .jpg, .png or .webp picture, or a Drive, Dropbox or OneDrive share link. Empty for none."
    • removedInput schema / properties / image_url / title
      Removed value: -"Image Url"
    • addedInput schema / properties / post_id / description
      Added value: +"Id of a draft post, from get_post_stats with status \"draft\"."
    • removedInput schema / properties / post_id / title
      Removed value: -"Post Id"
    • addedInput schema / properties / remove / description
      Added value: +"True removes the draft cover. Give only one of at_seconds, image_url, remove."
    • removedInput schema / properties / remove / title
      Removed value: -"Remove"
    • removedInput schema / title
      Removed value: -"set_post_cover_routeArguments"
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare destructiveHint=true and idempotentHint=true, and the description adds substantive context beyond that: the prior cover is replaced (explaining the destructive flag), the operation is refused on scheduled or posted posts, and it is free of cost. The per-platform matrix (YouTube/Facebook/Instagram full support, TikTok at_seconds only, Threads/Bluesky not applicable) is behavioral information available nowhere in the structured fields.

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 trigger and examples, then constraints, then exclusions, then cost — a sensible priority order with no filler sentences. It is telegraphic in places ('Give one of...', 'Free.') but each clause carries distinct information, and the platform matrix is necessarily terse to stay compact.

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 destructive mutation the description supplies the refusal conditions, the replacement semantics, the platform scope, and the sibling alternative; return values are covered by the existing output schema and the safety profile by annotations. An agent has everything needed to decide whether to call it and how to populate the three mutually exclusive arguments.

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; the description earns a notch above by stating the mutual-exclusivity rule ('Give one of at_seconds, image_url or remove') and adding a platform-scoped constraint on at_seconds (TikTok takes at_seconds only) that the schema itself does not encode. The mutual-exclusivity rule duplicates the per-property schema text, so it is not a full 5.

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 ('thumbnail or cover of a draft post chosen') and reinforces it with two natural-language user utterances that map directly onto the action. It also explicitly names the sibling it is not (update_draft), so an agent can separate this from general draft editing without inspecting either schema.

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 trigger conditions ('Use this when the user wants...') with example phrasings, an explicit exclusion ('Not for: scheduled or posted posts (refused)'), and an alternative tool routing ('other draft details (update_draft)'). It further narrows applicability per platform, which is exactly the kind of when/when-not guidance that prevents misinvocation.

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