Skip to main content
Glama

Chroma key

chroma_key

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Green screen / blue screen / chroma key, measured on the footage. A screen behind the subject (dim or bright): keyed out, edges despilled, everything else (the person, candles, props, desk) composited over a new background: 'solid' (colour), 'gradient' (colour -> colour2, top to bottom) or 'asset' (asset_key: an image or video from list_assets). Footage keyed before, with a green line or halo left round the subject and props: the leftover is cleaned and the footage's own backgrounds stay (a background you pass then goes behind the person cut-out). The result reports measured numbers (screen left, subject kept, leftover before and after): say them. mode 'key' forces a key, 'fringe' forces the leftover clean; screen 'green'|'blue' when the user named it. remove=true takes it off.

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": {
      "project_id": "<project_id>"
    },
    "name": "chroma_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo
colourNo#rrggbb
removeNo
screenNo
colour2No#rrggbb
despillNo0-1, default 0.6
asset_keyNo
backgroundNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
similarityNo0.04-0.4; default measured

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is already carried; the description adds real context such as project scoping, the fact that pre-existing backgrounds are preserved and a supplied background goes behind the cut-out, and the measured numbers in the result. It does not cover reversibility, permissions, or how a forced key behaves when no screen is detected, which are the notable remaining gaps.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The PROJECT-SCOPED warning and the core action are front-loaded, which is good. But the remainder is a chain of colon-heavy run-on sentences that are hard to parse and repeat the outcome/results idea, so density hurts readability more than it saves space.

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 ten-parameter mutation tool with no output schema, the description covers the identity/scope, the input dialect, and what the result reports (screen left, subject kept, leftover before and after). Only the numeric tuning parameters similarity and despill are left unexplained beyond the schema, which is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 50% schema coverage, the description compensates well: it explains mode's three enum intents, screen's green/blue, background's solid/gradient/asset meanings including that gradient runs top to bottom via colour2 and that asset_key references an item from list_assets, and remove=true. Undocumented are similarity and despill (only partially described in the schema as 'default measured' and '0-1, default 0.6').

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 names the concrete operation (green/blue/chroma key measured on the footage) and the compositing result (subject cut out over a solid, gradient or asset background), which is far more specific than the tool name alone. It never names a sibling such as add_color_screen to distinguish this from other screen effects, so the differentiation is incomplete.

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 gives clear situational guidance: use it on footage needing a key, use 'fringe' mode on footage already keyed with a leftover line or halo, force 'key' when a key must happen, set screen only when the user named it, and remove=true to take the effect off. It stops short of explicit exclusions or naming alternative tools for related screen work.

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.