Skip to main content
Glama
Giancarlo26

obs-action-history

by Giancarlo26

obs_scene_item_blend_mode

Set or read the blend mode for an OBS scene item to control compositing with layers below, enabling effects like additive glows or multiply shadows. Omit blendMode to query current setting.

Instructions

Read or set how a scene item composites with the layers under it.

OBS_BLEND_NORMAL is plain alpha and is the default. OBS_BLEND_ADDITIVE and OBS_BLEND_SCREEN both drop black toward transparent, which is the usual trick for glows, light leaks and particle or scanline overlays shot on a black field - they let an overlay sit on top without boxing off what is underneath. OBS_BLEND_MULTIPLY and OBS_BLEND_DARKEN do the opposite and drop white, useful for shadowing or tinting a region. SUBTRACT and LIGHTEN are situational.

Blend mode only matters against what is BELOW the item, so it interacts directly with z-order: the same overlay set to additive looks completely different depending on its index. An item at index 0 has nothing under it to blend with and will look unchanged no matter what mode you pick - if a blend mode appears to do nothing, check the index first.

Omit blendMode to read the current one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blendModeNoBlend mode to apply. Omit to just read.
sceneNameYesScene holding the item.
sceneItemIdYesItem id from obs_list_sources_in_scene. Unique within this scene only.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the visual effects of each blend mode, how the mode depends on stacking order, and why an item at index 0 might appear unchanged. It does not discuss return shape or error behavior, but the core runtime behavior is well covered.

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?

The description is front-loaded with a one-sentence purpose, then organizes additional detail by theme: mode semantics, z-order interaction, and read behavior. Every sentence contributes meaningful information with no repetition of schema contents or filler. The length is justified by the complexity of the blend-mode concepts.

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?

The description covers the main behavioral nuances: read versus write, blend-mode semantics, z-order dependence, and the index-0 pitfall. It does not formally describe the output of a read, and there is no output schema to fill that gap, but the tool's domain is narrow and the provided guidance is enough for an agent to invoke it correctly in most cases.

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?

Schema coverage is 100%, establishing a baseline of 3. The description adds substantial meaning beyond the schema by explaining what each blend mode does (additive/screen dropping black, multiply/darken dropping white), and clarifies that omitting blendMode means a read. This elevates the parameter documentation beyond the bare enum list.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb-resource pair: 'Read or set how a scene item composites with the layers under it.' This distinguishes it from sibling scene-item tools like transform, order, or lock, and clearly identifies the property being manipulated.

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?

The description gives clear guidance on when to use the tool and how to use it correctly, including the 'Omit blendMode to read' pattern and the z-order interaction caveat. It does not name explicit alternatives, but no direct sibling offers blend-mode functionality, so the contextual guidance is strong.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Giancarlo26/obs-action-history'

If you have feedback or need assistance with the MCP directory API, please join our Discord server