Skip to main content
Glama
stream-deck-mcp
by sohumsuthar

streamdeck_add_hotkey

Adds a keyboard shortcut action to a Stream Deck button by row, column, and virtual key code. Assign hotkeys with optional modifiers and labels, then reload to apply changes.

Instructions

Add a keyboard shortcut/hotkey action to a Stream Deck button. After adding, call streamdeck_reload to apply changes.

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": {
      "row": "<row>",
      "col": "<col>",
      "vKeyCode": "<vKeyCode>"
    },
    "name": "streamdeck_add_hotkey"
  }
}

Input Schema

NameRequiredDescriptionDefault
altNoHold Alt (default: false)
colYesButton column (0-based, left is 0)
rowYesButton row (0-based, top is 0)
winNoHold Windows key (default: false)
ctrlNoHold Ctrl (default: false)
shiftNoHold Shift (default: false)
titleNoLabel to show on the button
pageIdNoPage ID (current page if omitted)
vKeyCodeYesWindows virtual key code for the key. Common codes: A=65, B=66...Z=90, 0=48...9=57, F1=112...F12=123, Enter=13, Escape=27, Space=32, Tab=9, Backspace=8, Delete=46, PrintScreen=44, Pause=19
profileIdNoProfile ID (default profile if omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses that the change is not live until streamdeck_reload is called, but says nothing about whether an existing action at the same row/col is overwritten, what permissions or existing profile/page are required, or what happens with an invalid vKeyCode.

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?

Two short sentences with zero waste. The action is stated first and the required follow-up step is front-loaded immediately after, which is exactly the order an agent needs.

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 10-parameter mutation tool with no annotations and no output schema, the combination of a precise purpose, a named post-step, and a fully documented schema covers nearly everything an agent needs. The remaining gap is overwrite/conflict semantics for the target button.

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 description coverage is 100%, including detailed vKeyCode mappings and modifier defaults, so the schema already does the semantic work. The description adds no parameter-level meaning beyond what the schema provides, making the baseline 3 appropriate.

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?

States a specific verb and resource: 'Add a keyboard shortcut/hotkey action to a Stream Deck button.' This distinguishes it implicitly from the other add_* siblings (add_app, add_text, add_website, add_multimedia) by naming the action type, though it never names those siblings explicitly.

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

Usage Guidelines4/5

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

Gives concrete workflow guidance: 'After adding, call streamdeck_reload to apply changes,' naming a real sibling and the condition that selects it. It offers no exclusion guidance about when to choose this over the other add_* variants, but the follow-up sequencing context is clear.

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