Skip to main content
Glama

Post a clip to YouTube Shorts or TikTok with a caption

post_clip

Posts a clip made by cut_clip to the user's YouTube channel (as a Short) or TikTok, with their caption, so find moment -> cut -> post happens without leaving the chat. Needs the account code from cut_clip. The user connects YouTube or TikTok once: until then this returns needs_connect and a connect link, and the same call works once they have connected. Until YouTube and TikTok finish reviewing heistclips, a post may arrive private (the result says so and how to publish it).

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": {
      "account": "<account>",
      "clip_id": "<clip_id>",
      "platform": "<platform>"
    },
    "name": "post_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoYouTube only: the Short's title, up to 100 characters
accountYesThe account code (hc_…) from cut_clip
captionNoThe caption, in the user's words. YouTube: it becomes the description, and its first line the title unless title is given.
clip_idYesclip_id from cut_clip
privacyNoWho can see it (default public; the platform may force private, see the result)
platformYesWhere to post
tiktok_modeNoTikTok only: direct = post it (default); draft = send to the user's TikTok inbox to finish in the app

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations, it discloses a real precondition failure mode ('returns needs_connect and a connect link'), its resolution, and a temporal platform caveat (posts may arrive private while YouTube/TikTok review heistclips, with the result indicating how to publish). These are exactly the non-obvious behaviors an agent needs to avoid misreporting a failure or a private post as an error.

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?

Three sentences, front-loaded with the action and destination, then prerequisites, then the review caveat. Slightly wordy in the closing sentence about heistclips review, and 'Needs the account code from cut_clip' partly repeats the schema, but nothing is expendable enough to disrupt the flow.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by explaining the needs_connect result, the private-during-review outcome, and where publish instructions appear. Given seven parameters and an open-world mutation, gaps remain around media limits and duplicate-post behavior, but the essential call-time context is present.

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 description coverage is 100%, so the schema already documents account, clip_id, caption, title, privacy, platform, and tiktok_mode in detail. The description only echoes the account-code and caption semantics that the schema already carries, adding no format, length, or precedence detail of its own; baseline 3 applies.

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 description opens with a specific verb and resource ('Posts a clip made by cut_clip'), names both destination platforms, and attributes the caption to the user, so the operation is unambiguous. It also ties the tool to a concrete input object (cut_clip's output), which distinguishes it from generic upload-like siblings.

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 places the tool in an explicit pipeline ('find moment -> cut -> post') and states a prerequisite (the account code from cut_clip). It also explains the first-run connect situation and that the same call works afterward. It stops short of naming any sibling alternative or stating when not to use it, so it is strong context rather than full routing guidance.

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