Skip to main content
Glama

obs_set_stream_service

Destructive

Set OBS RTMP stream service settings with server URL and environment-only stream key; dry_run defaults true to preview changes before applying.

Instructions

Set the RTMP stream service (SetStreamServiceSettings). The server URL comes from the server argument or OBS_STREAM_SERVER. The stream key is read only from OBS_STREAM_KEY and is never accepted as an argument and never returned. dry_run defaults to true.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "obs_set_stream_service"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverNoIngest URL. Falls back to OBS_STREAM_SERVER.
dry_runNoWhen true (the default), return the requests and do not change OBS. Set false to back up the scene collection and then apply.
service_typeNoDefault rtmp_custom.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Goes beyond the destructiveHint=true annotation by explaining the two-mode behavior: dry_run=true returns the requests without touching OBS, while dry_run=false first backs up the scene collection and then applies. It also discloses the credential handling rule (stream key never accepted as an argument and never returned), which is exactly the kind of security-relevant context annotations cannot express.

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?

Four short sentences, each carrying a distinct fact (identity, server source, key policy, safe default), with the most important constraint placed early. No filler or restatement of the tool name.

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 destructive mutation tool with no output schema, the description covers the safety model, backup behavior on apply, and credential sourcing — enough for an agent to call it correctly. The main gap is failure behavior when OBS_STREAM_KEY is unset and whether an active OBS connection is required.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents all three parameters including the dry_run default and rtmp_custom default. The description reinforces the server env fallback and explains why there is no stream-key parameter, but adds little new per-parameter meaning beyond the schema text, so baseline 3 applies.

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?

Names a specific verb and resource ('Set the RTMP stream service') plus the underlying OBS call (SetStreamServiceSettings), so the agent knows exactly what is changed. It is distinguishable from obs_stream (which would start/stop streaming) by the 'service settings' framing, though no sibling is named explicitly.

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

Usage Guidelines3/5

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

Usage is implied through the dry_run default and the note that the key is env-only, which steers the agent toward preview-first invocation. However, there is no explicit statement of when to use this instead of obs_stream or the backup tool, and no prerequisites (e.g. OBS connection required) are spelled out.

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