Skip to main content
Glama

enhance_video_media

Run a video editor enhancement pass on a workspace video media item. Supports upscale, HDR, output codec, bit depth, scale factor, and arbitrary model parameters.

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>",
      "modelId": "<modelId>"
    },
    "name": "enhance_video_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaIdYesVideo MediaDocV2 ID to process
modelIdYesPrimary video enhancement model ID
bitDepthNoOutput bit depth
videoUrlNoOverride source video URL; otherwise resolves from the active media version
enableHdrNoWhether to chain/apply HDR conversion
hdrModelIdNoHDR model ID
extraParamsNoAdditional raw V3 model parameters
outputCodecNoOutput codec, e.g. h264, h265, prores_422, exr_piz
scaleFactorNoUpscale factor
workspaceIdYesThe workspace ID
outputFormatNoOutput format override for sequence/HDR models, e.g. exr
videoEncoderNoEncoder override for models that expose it
enableUpscaleNoWhether this pass should upscale
transferFunctionNoHDR transfer function, e.g. hlg

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. 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 provided, so the description carries the full burden. It does not say whether this is a long-running/async job, whether it creates a new media version or mutates in place, what permissions or credits it consumes, or whether existing media is overwritten. For a heavy video processing mutation with 14 parameters, that is a substantial disclosure gap.

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 short sentences, front-loaded with the action and followed by the capability list; nothing is wasted. It is slightly list-like but appropriately sized for a tool with this many options.

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?

With 14 parameters, a nested extraParams object, no annotations, and no output schema, the description should explain what the call returns (job ID, new media ID) and how to track completion, given that get_media_statuses exists as a sibling. None of that lifecycle information is present, leaving the agent unable to invoke the tool end-to-end with confidence.

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 every parameter and the baseline of 3 applies. The description only restates the same field names (upscale, HDR, output codec, bit depth, scale factor, arbitrary model parameters) without adding ranges, valid combinations, or the dependency between enableHdr and hdrModelId.

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 specific verb and resource: 'Run a video editor enhancement pass on a workspace video media item,' and enumerates the capability surface (upscale, HDR, codec, bit depth, scale factor, extra params). However, it never distinguishes this pass from sibling tools such as upscale_video or convert_video_to_hdr, which appear to cover overlapping capabilities.

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 when-to-use guidance at all. The agent is not told when to pick this combined pass over the dedicated upscale_video or convert_video_to_hdr tools, nor whether it should be run before or after other media operations. The capability list implies scope but gives no selection criteria.

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.