Skip to main content
Glama

Set Profile Parameter

obs_set_profile_parameter
DestructiveIdempotent

Updates one OBS profile config value, such as RecFormat2 for crash-safe recordings, and blocks changes while recording or streaming to avoid breaking output.

Instructions

Change one setting in the current profile's configuration. Refused while recording or streaming. Example: make recordings crash-safe with category 'SimpleOutput' (or 'AdvOut' in Advanced output mode), name 'RecFormat2', value 'mkv' or 'hybrid_mp4'. A wrong value can break recording, so read the current value first with obs_get_profile_parameter.

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": {
      "category": "<category>",
      "name": "<name>",
      "value": "<value>"
    },
    "name": "obs_set_profile_parameter"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesParameter name, e.g. 'RecFormat2'
valueYesNew value, as a string
categoryYesConfig section, e.g. 'SimpleOutput'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the crucial runtime constraint that calls are refused during recording/streaming and warns that a wrong value can break recording — neither of which is derivable from annotations. It stops short of saying whether changes take effect immediately or require a restart, which matters for a config-mutating tool.

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?

Three tight sentences ordered by importance: what it does, when it is blocked, then a concrete example with a safety pointer. No filler or restatement of the title.

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 3-parameter mutating tool with no output schema, the description covers purpose, blocking conditions, a valid example, and a read-before-write workflow. The only gap is what happens after a successful set (immediate effect vs. restart, and whether a read-back is advisable).

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%, so baseline is 3, but the description adds value the schema cannot: the 'category' value depends on output mode ('SimpleOutput' vs 'AdvOut' in Advanced mode) and supplies a concrete worked example across all three parameters. That mode-dependency is real semantic guidance absent from the 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?

States a specific verb and resource — 'Change one setting in the current profile's configuration' — which unambiguously scopes the tool to a single parameter write rather than whole-profile edits. The paired read tool (obs_get_profile_parameter) is named, so an agent can distinguish setting from getting without inspecting schemas.

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?

Gives an explicit precondition ('read the current value first with obs_get_profile_parameter') and an explicit exclusion ('Refused while recording or streaming'), which tells the agent both when to call it and when the call will fail. The named sibling is the exact alternative for inspection rather than mutation.

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