Skip to main content
Glama

remove_video_background_media

Remove or matte the background of a workspace video media item. Defaults to robust-video-matting and supports green-screen, alpha-mask, and foreground-mask outputs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaIdYesVideo MediaDocV2 ID to process
modelIdNoBackground removal model ID. Defaults to robust-video-matting.robust-video-matting
videoUrlNoOverride source video URL; otherwise resolves from the active media version
outputTypeNoReplicate robust_video_matting output_typegreen-screen
extraParamsNoAdditional raw V3 model parameters
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/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, and it does disclose some behavior: the default matting model and the three output modes. It omits important traits for a heavy video job, such as whether the operation is asynchronous, how long it takes, cost, required permissions, or whether it mutates the source media.

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 tight sentences with the core action front-loaded and configuration detail second. No filler or repetition.

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 a six-parameter, nested-object, no-annotation, no-output-schema mutation tool, the description covers the purpose and output modes but says nothing about return values, async behavior, permissions, or the extraParams escape hatch. Adequate but with clear gaps.

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 six parameters, including mediaId, modelId, videoUrl, outputType, and extraParams. The description only restates the model default and output types at a high level, adding little beyond the schema baseline.

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 resource ('remove or matte the background of a workspace video media item') plus the supported output flavors, so an agent can tell it is video-background removal rather than image removal. It does not, however, distinguish itself from the sibling remove_video_background, leaving ambiguity about which of the two to call.

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 statement of when to use this tool versus the sibling remove_video_background or remove_image_background, no prerequisites, and no exclusions. The mention of defaults and output types is configuration, not usage guidance.

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