Skip to main content
Glama

Generate Video Device Motion

generate_promo_video_motion
Read-only

Drafts device-motion keyframes from a prompt for a new device-only video or a compatible saved scene. Returns the motion without saving a video.

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": {
      "projectId": "<projectId>",
      "prompt": "<prompt>",
      "deviceKind": "<deviceKind>"
    },
    "name": "generate_promo_video_motion"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes
projectIdYesProject / generation UUID.
deviceKindYesUse phone for iPhone Duo and laptop for MacBook.

Output Schema

NameRequiredDescriptionDefault
dataNo
errorNo
messageNo
successYes
widgetDataJsonNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false; the description earns credit for adding the non-obvious operational detail that it returns motion without persisting a video, and that it can target an existing saved scene. Missing context that would matter for a generation call: latency, whether it is asynchronous, and whether regeneration is costly given idempotentHint=false.

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?

Two sentences, front-loaded with the action and the artifact, with the non-persistence caveat placed last where it belongs. No filler or restated title.

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?

An output schema exists, so return-value detail is unnecessary, and the description covers the key question of whether anything is persisted. For a three-required-parameter generation tool it is nearly complete, though it omits what 'compatible saved scene' requires and whether the call is synchronous.

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 coverage is 67%, so the schema already explains projectId and deviceKind, and the description only loosely echoes them ('device-motion', 'saved scene'). The 'prompt' parameter has no schema description, and the description says nothing about prompt style, constraints, or the 3-600 length limit beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and output artifact ('Drafts device-motion keyframes from a prompt') and scopes it to a new device-only video or a compatible saved scene. It is distinguishable from generate_promo_video and create_device_video at a high level, though it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage context is only implied: the agent can infer this is the drafting step that precedes saving/exporting a video, and that it applies to device-only videos or compatible saved scenes. There is no explicit 'use this instead of X when Y' routing, and 'compatible saved scene' is left undefined, so the agent must guess what makes a scene compatible.

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.