Skip to main content
Glama
Giancarlo26

obs-action-history

by Giancarlo26

obs_input_kind_reference

List OBS input kinds and their default settings to determine which plugin types are loaded and which settings keys are legal, preventing silent misconfiguration when creating inputs.

Instructions

What source types this OBS build supports, and which settings keys each type legally accepts.

Call it with no arguments to list the kinds - that list is also the honest answer to 'which plugins are loaded', since a kind like 'ndi_source' only appears if its plugin initialised. Call it with inputKind to get that kind's default settings object, which is the closest thing to a schema OBS offers: an input's kind decides which settings keys mean anything, and a key that belongs to a different kind is accepted and silently ignored rather than rejected. That silent acceptance is why guessing keys wastes so much time - obs_set_input_settings returns success either way.

Two limits worth knowing. The defaults object lists only keys the plugin registered a default for, so it is a floor and not the full set: dshow_input returns nine keys and video_device_id is not among them, because it has no sensible default. To see the rest, read a WORKING input of the same kind with obs_get_input_settings, and get legal values for the dropdown keys from obs_input_property_items. Second, kind ids carry version suffixes - this build reports color_source_v3, text_gdiplus_v3, slideshow_v2 - and the versioned id is what existing inputs report and what obs_create_input expects. unversioned:true strips the suffixes, which is useful for recognising a kind named in an older config or article, but do not create sources with the stripped names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
inputKindNoOmit to list all kinds. Give a versioned kind id (e.g. 'dshow_input', 'color_source_v3') to get that kind's default settings.
unversionedNoOnly affects the list. true strips version suffixes (color_source_v3 -> color_source). Default false, which is the form obs_create_input wants.
Behavior5/5

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

无注释,但描述非常透明:解释了默认对象只是下限,不是完整集合;键跨种类被静默接受;版本后缀存在,unversioned 标志只用于识别而非创建。这些是关键的运行时行为,且与 schema 不冲突。

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?

描述非常详细,但组织良好:第一段讲用途,第二段讲限制,第三段讲版本后缀。虽然长,但每个句子都传递了重要信息,不算冗余。结构清晰,但为了简洁可以稍微精简。

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?

对于无输出 schema 且需要大量背景知识的工具,描述提供了完整的上下文:包括返回值、与其他工具的关系、常见陷阱。非常完整。

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:解释了省略 inputKind 会列出所有种类,并警告未版本化的名称不应用于创建。它提供了参数有效值及行为,远超 schema 中的简要说明。

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?

描述明确说明该工具列出 OBS 支持的输入种类及其设置键。它还将其与'哪些插件已加载'的相关性联系起来,这是一个具体的范围。这清楚地与兄弟工具区分开来,例如 obs_get_input_settings 是读取实际设置,而这里是列出种类。

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?

描述详细说明了何时使用(无参数列出种类,带 inputKind 获取默认对象),何时不使用(避免猜测键),并提供了替代方案(读取工作输入、使用属性项)。还警告不要用未版本化的名称创建源。明确的指导和排斥条款。

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