Skip to main content
Glama

create_ad_openings_flow

Save an editable Flow for five labeled three-second openings on an approved workspace ad. The original picture and audio from second three feed every export. This only creates the Flow. Use quote_workflow_run before generating.

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": {
      "workspaceId": "<workspaceId>",
      "sourceMediaId": "<sourceMediaId>",
      "model": "<model>",
      "aspectRatio": "<aspectRatio>",
      "duration": "<duration>",
      "resolution": "<resolution>",
      "variants": "<variants>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "create_ad_openings_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
durationYesSupported source generation duration for the selected video model.
variantsYes
resolutionYes
aspectRatioYes
workspaceIdYes
sourceMediaIdYes
sourceVersionNo
idempotencyKeyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose meaningful behavior: the call saves an editable (not rendered) Flow, requires the source ad be 'approved,' and that 'the original picture and audio from second three feed every export,' implying exports derive from a specific 3-second segment. It omits auth/permission needs, idempotent-retry behavior despite a required idempotencyKey, and what happens to an existing Flow.

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

Conciseness3/5

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

Three short sentences with the core action and the prerequisite front-loaded, so it is efficient overall. However, 'The original picture and audio from second three feed every export' is syntactically awkward and forces the reader to parse what 'second three' means, wasting the sentence's value. A key behavioral clause is present but poorly delivered.

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

Completeness2/5

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

For a mutation tool with 9 parameters, 8 required, no annotations, and no output schema, the definition leaves major gaps: it does not say what identifier a successful call yields for chaining into later steps, does not clarify the relationship between the 5 variants and the 5 openings, and does not explain most required fields. The prerequisite note is helpful but not enough to make the call fully actionable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 11% (just 'duration'), so the description must compensate for 8 other required parameters. It gives indirect hints — 'five labeled' maps to the exactly-5 variants array with label/prompt, 'three-second' maps to duration, 'approved workspace ad' maps to workspaceId/sourceMediaId — but never explains model, aspectRatio, resolution, sourceVersion, or idempotencyKey. It also creates ambiguity: the schema permits duration 3–20 while the description frames a three-second opening, with no explanation of how those reconcile.

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?

The description states a concrete verb and resource — 'Save an editable Flow' for 'five labeled three-second openings on an approved workspace ad' — which is more specific than the bare tool name. It also implicitly distinguishes itself from generation/export siblings by stating 'This only creates the Flow.' The word 'Flow' remains undefined and the object created is not described structurally, which keeps it short of a 5.

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 gives explicit sequencing guidance: 'Use quote_workflow_run before generating' and a scope exclusion, 'This only creates the Flow.' That tells the agent both a prerequisite and the boundary of what this call does. It stops short of stating when-not to use it (e.g. for editing an existing Flow) or naming an alternative for that case.

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.