Skip to main content
Glama

Create Post From Video

create_post_from_video

Create posts from a video the user provides. Pass EXACTLY ONE of mediaId (from finalize_media_upload or import_media_from_url — preferred for files you uploaded) or videoUrl (a public link). Supply caption to use the creator's words exactly as written, never rewritten; otherwise AI writes captions based on topic. keepOriginal uses the media exactly as uploaded, with no crop or design. Runs asynchronously — the user is notified when posts are ready. Posts are always saved as DRAFTS: nothing is published or scheduled. To go live, call schedule_post or publish_post once the user confirms. Output: { success, taskId, groupId, count, finalStatus: 'draft', videoUrl, posts: [{ id, status: 'generating', index }] } — poll get_task_status with taskId.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_post_from_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of caption variants/posts to generate (default 1; only more when the user asks for more)
topicNoWhat the video/post is about (required unless caption is supplied)
captionNoCreator's caption, used exactly as written, never rewritten. No AI variants; forces one post.
mediaIdNomediaId of a video stored with finalize_media_upload or import_media_from_url. Omit when you pass videoUrl.
videoUrlNoPublic HTTP/HTTPS URL of the video. Omit when you pass mediaId.
keepOriginalNoUse the media exactly as uploaded: no crop, design, re-upload or transcoding. Defaults to true with caption or when AI images are disallowed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / caption
      Added value: +{
      +  "description": "Creator's caption, used exactly as written, never rewritten. No AI variants; forces one post.",
      +  "type": "string"
      +}
    • addedInput schema / properties / keepOriginal
      Added value: +{
      +  "description": "Use the media exactly as uploaded: no crop, design, re-upload or transcoding. Defaults to true with caption or when AI images are disallowed.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / topic / description
      Previous value: -"What the video/post is about (required for the caption)"New value: +"What the video/post is about (required unless caption is supplied)"
    • removedInput schema / required
      Removed value: -[
      -  "topic"
      -]
  2. Changed3 schema fields changed
    • addedInput schema / properties / mediaId
      Added value: +{
      +  "description": "mediaId of a video stored with finalize_media_upload or import_media_from_url. Omit when you pass videoUrl.",
      +  "maxLength": 40,
      +  "type": "string"
      +}
    • changedInput schema / properties / videoUrl / description
      Previous value: -"Public HTTP/HTTPS URL of the video"New value: +"Public HTTP/HTTPS URL of the video. Omit when you pass mediaId."
    • changedInput schema / required
      Previous value: -[
      -  "videoUrl",
      -  "topic"
      -]New value: +[
      +  "topic"
      +]
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=false; the description adds the operationally important facts: it runs asynchronously, the user is notified on completion, and nothing is published or scheduled because every post lands as a draft. It also discloses the full return payload, which is essential given there is no output schema.

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?

The content is front-loaded with the core action and input rule, then moves to caption/keepOriginal semantics, async behavior, draft status, and the return shape. Every sentence carries a distinct constraint or routing instruction; the long output block earns its place because no output schema exists.

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 asynchronous six-parameter creation tool with no output schema, the description covers inputs, exclusivity, async lifecycle, notification behavior, draft-only state, the next step to publish, and the exact response shape. Nothing an agent needs in order to call this correctly is missing.

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 per-parameter meanings are already documented; the description's added value is the mutual-exclusion rule for mediaId vs videoUrl, which the schema does not enforce (zero required parameters, no oneOf), plus the note that caption forces a single post and disables AI variants. It does not restate the count maximum or keepOriginal default, but those are well covered in 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 description opens with a specific verb and resource ("Create posts from a video the user provides") and immediately scopes it against the family of create_* siblings by naming the video-specific inputs. It also states the crucial outcome (posts are always DRAFTS), so an agent knows exactly what this tool produces versus create_post_from_image or create_text_post.

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?

It gives explicit selection rules: pass exactly one of mediaId or videoUrl, with mediaId "preferred for files you uploaded," and it names finalize_media_upload / import_media_from_url as the producers of that value. It also routes downstream behavior clearly — call schedule_post or publish_post to go live, and poll get_task_status with taskId.

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