Skip to main content
Glama

remove_video_background_media

Remove the background of a workspace video with Bria. Exports transparent WebM or ProRes MOV, with optional original audio.

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>",
      "mediaId": "<mediaId>"
    },
    "name": "remove_video_background_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaIdYesVideo MediaDocV2 ID to process
modelIdNoBackground removal model ID. Defaults to Bria Video Remove Background.bria-video-remove-background
videoUrlNoOverride source video URL; otherwise resolves from the active media version
outputTypeNoOutput type for a compatible alternate model. Bria produces transparent video.
extraParamsNoAdditional raw V3 model parameters
workspaceIdYesThe workspace ID
outputFormatNoBria transparent video format. Defaults to WebM VP9.
preserveAudioNoKeep original audio in the Bria output. Defaults to true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / extraParams / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  2. Changed6 schema fields changed
    • changedInput schema / properties / modelId / default
      Previous value: -"robust-video-matting"New value: +"bria-video-remove-background"
    • changedInput schema / properties / modelId / description
      Previous value: -"Background removal model ID. Defaults to robust-video-matting."New value: +"Background removal model ID. Defaults to Bria Video Remove Background."
    • addedInput schema / properties / outputFormat
      Added value: +{
      +  "description": "Bria transparent video format. Defaults to WebM VP9.",
      +  "enum": [
      +    "webm_vp9",
      +    "mov_proresks"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / outputType / default
      Removed value: -"green-screen"
    • changedInput schema / properties / outputType / description
      Previous value: -"Replicate robust_video_matting output_type"New value: +"Output type for a compatible alternate model. Bria produces transparent video."
    • addedInput schema / properties / preserveAudio
      Added value: +{
      +  "description": "Keep original audio in the Bria output. Defaults to true.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden. It does mention the output formats and that audio can be preserved, but it is silent on whether the job runs asynchronously, what the tool returns (a job ID? a new media ID?), whether the source is mutated or preserved, and any permission or quota requirements — all important for a video processing operation.

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?

Two tight sentences, front-loaded with the action and followed by the output characteristics. Slight redundancy with the schema's outputFormat/preserveAudio descriptions, but nothing is wasted.

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

Completeness3/5

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

For an 8-parameter tool with a nested extraParams object, no annotations, and no output schema, the description is only partially complete. It covers what is produced but not what is returned, how long it takes, or whether the source media is modified — gaps an agent needs to plan a call.

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 baseline is 3. The description's mentions of 'transparent WebM or ProRes MOV' and 'optional original audio' merely restate the outputFormat enum and preserveAudio default without adding format-selection advice or explaining mediaId vs videoUrl precedence or extraParams.

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+resource ('Remove the background of a workspace video') plus the model provider (Bria) and the output artifacts. This is clear enough to distinguish it from image or audio siblings, but it does not distinguish it from the sibling 'remove_video_background', which appears to target the same resource.

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

Usage Guidelines2/5

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

There is no explicit when-to-use or when-not-to-use guidance, no prerequisites, and no named alternative for the near-duplicate sibling. The agent must infer that this is the Bria-backed path simply from the phrase 'with Bria'.

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.