Skip to main content
Glama

Audience Resolver MCP by Nova (CIVAI)

set_publisher_video_audio

Put an uploaded audio clip on a video asset's own timeline track, so music or narration can be re-levelled in the AR editor instead of being baked into the uploaded file. Re-renders the asset as a new active revision and keeps the previous cut as a revision. Upload the clip with upload_publisher_audio first. Note the rendered file is always a flat mixdown — AR has no output with separate streams; the track lives in the editor's saved timeline.

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": {
      "publisher_pid": "<publisher_pid>",
      "asset_id": "<asset_id>",
      "audio_media_url": "<audio_media_url>",
      "video_duration_s": "<video_duration_s>"
    },
    "name": "set_publisher_video_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
asset_idYesVideo asset id, e.g. from upload_publisher_video.
publisher_pidYesProject id from list_projects or create_project.
audio_fade_in_sNoFade in, seconds. Default 0.
audio_media_urlYesmedia_url returned by upload_publisher_audio.
audio_duration_sNoLength of the audio clip in seconds, when it differs from the video. Defaults to the video length.
audio_fade_out_sNoFade out, seconds. Default 0.
audio_position_sNoWhere the clip starts on the video's timeline, in seconds. Default 0.
source_media_urlNoOptional. The cut to re-render from: the one before this audio was mixed in. Leave it out and AR resolves and records it. Set it only when you know better, e.g. re-pointing an asset at a different silent master.
video_duration_sYesLength of the video in seconds. The editor needs it to lay out the timeline.
audio_clip_volumeNoClip level, 0-200 percent, 100 being unity. Default 100. A music bed under speech usually wants 60-80.
audio_track_labelNoTrack name shown in the editor, e.g. 'Music' or 'Voiceover'. Default 'Music'.
video_base_volumeNoLevel of the video's own sound, 0-1. Default 1.0. NOTE: exactly 1.0 makes ffmpeg's amix divide by the input count, so video and music both land about 6 dB down; any other value pins both to the levels asked for. Nothing limits the sum, so leave headroom (e.g. 0.75 with a clip at 70) rather than summing two loud sources.
notification_messageNoShort user-facing sentence for this action if the follow-up reply fails. Plain text only; do not mention template syntax or variable names.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added
  4. Removed
  5. Added
  6. Removed
  7. Added
  8. Removed
  9. Changed1 schema field changed
    • addedInput schema / properties / source_media_url
      Added value: +{
      +  "description": "Optional. The cut to re-render from: the one before this audio was mixed in. Leave it out and AR resolves and records it. Set it only when you know better, e.g. re-pointing an asset at a different silent master.",
      +  "type": "string"
      +}
  10. Added

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the burden well: it discloses that the asset is re-rendered as a new active revision, that the previous cut is preserved as a revision, and that the rendered output is always a flat mixdown because AR has no separate-stream output. That is meaningful mutation and output-shape context beyond what a bare schema would convey; auth/permission details are the main omission.

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?

It is front-loaded with the core action and outcome, then adds the prerequisite and the mixdown limitation. The sentences are dense but mostly earn their place; the mixdown note is somewhat long but genuinely useful for a mutation tool.

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?

For a 13-parameter mutation tool with no annotations and no output schema, the description covers the critical behavior: revisions, re-render consequences, and the flat mixdown constraint. It could say more about what the response returns (e.g., new revision or asset identifiers), but it is otherwise complete enough to call safely.

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 the schema already documents all 13 parameters, including the video_base_volume amix caveat. The description adds only light parameter meaning, mainly that audio_media_url comes from upload_publisher_audio and that source_media_url can normally be omitted; baseline 3 is appropriate.

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 gives a precise verb and resource: putting an uploaded audio clip on a video asset's own timeline track. It explains the concrete outcome (music/narration re-levelled in the AR editor rather than baked into the file), which distinguishes it clearly from upload_publisher_audio and upload_publisher_video.

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 states the prerequisite explicitly ('Upload the clip with upload_publisher_audio first') and conveys the intended use case: separable music or narration that needs re-levelling. It does not spell out when to avoid this tool versus simply uploading a pre-mixed file, but the context is strong enough for correct selection.

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