Skip to main content
Glama

Publish video to YouTube

grok_publish_youtube
Destructive

Upload a finished render to the workspace's connected YouTube channel (Data API v3). This is a REAL outbound publish, visibility defaults to private; use unlisted or public deliberately. Requires the channel to be connected in admin → Grok Boost first.

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": {
      "title": "<title>"
    },
    "name": "grok_publish_youtube"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoUp to 30 tags.
titleYesVideo title (max 100 chars).
render_idNovideo_renders id (uuid) from grok_generate_video, or pass video_path.
video_pathNovideo-renders storage path under this owner, alternative to render_id.
visibilityNoDefault private.
descriptionNoYouTube description text.

Output Schema

NameRequiredDescriptionDefault
okNo
urlNo
errorNoPresent only when ok is false.
video_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / render_id / description
      Previous value: -"video_renders id (uuid) from grok_generate_video — or pass video_path."New value: +"video_renders id (uuid) from grok_generate_video, or pass video_path."
  2. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the description's job is to add context — and it does: this is a REAL external publish, visibility defaults to private, and a channel connection is a hard prerequisite. It does not discuss duplicate uploads on retry (relevant given idempotentHint=false), which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and scope, then the safety/deliberateness warning, then the prerequisite. No filler and nothing buried.

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?

With an output schema present, return values need no explanation, and all six parameters are covered by the schema. The description supplies the operational prerequisite and the irreversible-outbound framing, though a note on re-publish/duplicate behavior would round it out.

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 every parameter is already documented, including 'Default private' for visibility. The description's only added meaning is emphasizing the visibility default as a decision point; it says nothing new about title, tags, render_id vs video_path.

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 (upload/publish) and resource (a finished render to the workspace's connected YouTube channel), and the phrase 'finished render' plus 'outbound publish' clearly separates it from the generation/rendering siblings like grok_generate_video and grok_stitch.

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?

Gives real usage context: only after a render is finished, and the channel must already be connected in admin → Grok Boost. It also warns to choose unlisted/public deliberately rather than relying on defaults. It stops short of naming which sibling to use to produce the render, but the precondition ('finished render') implies the flow.

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