Skip to main content
Glama

Apply ProcAmp

apply_procamp

Add a ProcAmp effect to a video clip to adjust brightness, contrast, hue, and saturation in one step; returns the new effect index and read-back values.

Instructions

Add a ProcAmp effect (broadcast-style processing amplifier) to a video clip and set brightness, contrast, hue and saturation in one effect. Returns the new effect's effect_index and the values read back.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "apply_procamp"
  }
}

Input Schema

NameRequiredDescriptionDefault
hueNoHue rotation in degrees. Default 0.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
contrastNoContrast in percent, 0-200. Default 100.
brightnessNoBrightness offset, -100 to 100. Default 0.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
saturationNoSaturation in percent, 0 (greyscale) to 200. Default 100.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare write, non-destructive and non-idempotent behavior, and the description stays consistent with them by framing the operation as adding a new effect. Critically, with no output schema present, it discloses the return payload ('the new effect's effect_index and the values read back'), which is exactly the kind of context structured fields do not supply. It stops short of explaining failure behavior or the effect of calling twice on the same clip.

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 sentences, front-loaded with the action and resource, and the return-value note comes last where it belongs. No filler or redundant phrasing; the only slight density is that the sentence packs four parameter names into a single clause.

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 10-parameter write tool, the description covers the action, the bundled parameters, and the return shape that the absent output schema would otherwise have to carry, while annotations handle the safety profile and the schema handles all targeting details. It is nearly complete; a note on how repeated application behaves or which clip-targeting form is preferred would close the remaining gap.

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%, with ranges, defaults and the clip_id-versus-index targeting rules all documented in the schema itself. The description only restates the four parameter names it already lists in the schema, adding the phrase 'in one effect' as the sole extra meaning. Baseline 3 is appropriate when the schema carries the semantics.

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 ('Add a ProcAmp effect ... to a video clip') and clarifies that brightness, contrast, hue and saturation are set in a single bundled effect, which implicitly separates it from siblings like apply_brightness_contrast or apply_tint. It never names those alternatives, so the differentiation requires the agent to recognize the bundled semantics on its own.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the right tool when it wants the four broadcast parameters combined into one effect rather than separate effect applications. There is no explicit when-to-use statement, no exclusion against the closely named siblings, and no note about preconditions such as the clip needing to exist or whether re-applying stacks another effect.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools