Skip to main content
Glama

Turn a Video into a Prompt

video_to_prompt
Read-only

Turn one of your finished Video Analysis reports into ONE reusable generation prompt that recreates the source video's look, energy, pacing and mood, with a {your photo} placeholder where your own subject goes. Pass report_id (from analyze_video_report or list_vision_reports) or video_url (the exact source URL you already analyzed). Free: it rewrites the analysis you already paid for and never charges. If the video has not been analyzed yet, run analyze_video_report first. If the report is still being made, the answer says ready false and nothing fails: wait a minute and call again with the same report_id. Optional focus: pass mode to control what the prompt describes, and engine to pick the model format — also free.

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": "video_to_prompt"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoWhat the prompt focuses on. action = motion/gestures only, no appearance or scene. scene = setting/camera/lighting only, no subject. action_scene = both, no appearance. description_scene (default) = full prompt including the subject's appearance.
engineNoWhich model format to return: seedance (default, control-format), kling (cinematic prose), or gemini (plain paragraph for Omni).
report_idNoA finished report id from analyze_video_report or list_vision_reports.
video_urlNoAlternative: the exact public https URL you already analyzed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / engine
      Added value: +{
      +  "description": "Which model format to return: seedance (default, control-format), kling (cinematic prose), or gemini (plain paragraph for Omni).",
      +  "enum": [
      +    "seedance",
      +    "kling",
      +    "gemini"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "What the prompt focuses on. action = motion/gestures only, no appearance or scene. scene = setting/camera/lighting only, no subject. action_scene = both, no appearance. description_scene (default) = full prompt including the subject's appearance.",
      +  "enum": [
      +    "action",
      +    "scene",
      +    "action_scene",
      +    "description_scene"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds real value beyond them: that the call is free and never charges, and that a pending report returns ready=false rather than erroring, which tells the agent retries are safe. It does not describe the shape or length of the returned prompt, leaving that partly implicit.

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?

Purpose and the report_id/video_url choice are front-loaded, and the recovery path comes before the optional-focus note, which is good ordering. It is a single dense paragraph with mild redundancy, since the free/no-charge point is made twice in different sentences.

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?

No output schema exists, yet the description covers what matters for correct invocation: inputs, upstream dependency, the not-ready response, and that optional mode/engine affect only the prompt content. Nothing an agent needs to call it successfully is 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 description coverage is 100% and both enums are fully documented in the schema (mode values action/scene/action_scene/description_scene, engine values seedance/kling/gemini). The description only restates that mode controls focus and engine picks the model format, and notes report_id's provenance, adding little beyond the schema baseline.

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 — turning a finished Video Analysis report into one reusable generation prompt that recreates look/energy/pacing/mood — with the placeholder behavior named. An agent can distinguish it from analyze_video_report and list_vision_reports because the description explicitly cites them as upstream sources of report_id.

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 routing: pass report_id (from analyze_video_report or list_vision_reports) or video_url; if the video was never analyzed, run analyze_video_report first. It also handles the in-progress case (answer says ready false, wait a minute, retry with the same report_id) instead of leaving the agent to guess.

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