Skip to main content
Glama

Trigger OBS Hotkey

obs_trigger_hotkey
Destructive

Triggers an OBS hotkey action by name as if the key was pressed; use names from obs_list_hotkeys and prefer dedicated tools for recording, replay, or scenes when available.

Instructions

Trigger an OBS hotkey action by name, as if its key had been pressed. Get valid names from obs_list_hotkeys. Prefer a dedicated tool (recording, replay, scenes) when one exists, because those confirm the result.

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": {
      "hotkey_name": "<hotkey_name>"
    },
    "name": "obs_trigger_hotkey"
  }
}

Input Schema

NameRequiredDescriptionDefault
hotkey_nameYesHotkey action name, e.g. 'OBSBasic.Screenshot'

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?

The annotations already flag destructiveHint=true and idempotentHint=false, so the risk profile is known. The description contributes real context beyond them: the action is the equivalent of a physical key press (arbitrary side effects depending on the hotkey) and, unlike dedicated tools, it does not confirm the result. What is missing is any statement about failure behavior for invalid names.

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 short sentences, no waste, and the ordering is correct: what it does, where to get inputs, when to prefer something else. Every sentence earns its place.

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 one-parameter tool with no output schema, this covers mechanism, input sourcing, and alternative routing. The only residual gap is that it does not say what happens when the name is invalid or whether any status is returned at all.

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% and the schema already documents the single argument with an example. The description adds value by pointing to obs_list_hotkeys as the authoritative source for valid names, which the schema's example alone does not convey.

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 (trigger) and resource (an OBS hotkey action by name) and clarifies the mechanism: 'as if its key had been pressed.' This lets an agent separate it from the dedicated recording/replay/scene tools without opening either schema.

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 both the prerequisite (names come from obs_list_hotkeys) and an explicit preference rule: use a dedicated tool when one exists because those confirm the result. Both when-to-use and when-to-prefer-an-alternative are spelled out.

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