Skip to main content
Glama
Giancarlo26

obs-action-history

by Giancarlo26

obs_scene_item_lock

Lock or unlock an OBS scene item to prevent accidental drags, resizes, or transforms. Read the current lock state by omitting the locked flag.

Instructions

Lock or unlock a scene item. A locked item cannot be dragged or resized in the OBS window by a human, and cannot be transformed over the websocket either - SetSceneItemTransform on a locked item fails rather than silently doing nothing.

Worth using on the pieces that must not drift: a HUD layer or a background that someone might grab by accident while adjusting a camera on top of it. Locking changes nothing about what viewers see - it affects editing only, not visibility and not audio. If a transform keeps being rejected, read the lock state before assuming the coordinates were wrong.

Omit locked to read the current state without changing it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lockedNotrue = lock, false = unlock. Omit to just read.
sceneNameYesScene holding the item.
sceneItemIdYesItem id from obs_list_sources_in_scene. Unique within this scene only.
Behavior5/5

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

The description thoroughly discloses behavior: locked items cannot be dragged/transformed, SetSceneItemTransform fails on locked items, and omitting 'locked' reads the current state. This is transparent without annotations.

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 slightly verbose but every sentence adds meaningful value, avoiding redundancy while covering all necessary aspects. It is well-structured and easy to scan.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no output schema, the description explains the read behavior when omitting 'locked', potential failure mode, and typical use cases, making it contextually complete for a user.

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

Parameters5/5

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

Schema descriptions cover each parameter, and the tool description adds extra nuance (e.g., 'true = lock, false = unlock, omit to read'), fully clarifying parameter meaning and optionality.

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 clearly states 'Lock or unlock a scene item' and explains the specific action and its effect, distinguishing it from other scene item operations.

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

Usage Guidelines5/5

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

It explicitly advises when to use the tool ('Worth using on the pieces that must not drift') and clarifies what it does not affect (visibility, audio), guiding appropriate usage.

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