Skip to main content
Glama
paramount-engineering

Roku Dev Studio MCP Server

Connect to a Device

connect_device
Idempotent

Opens or focuses a Dev Studio device tab for a Roku, making it the active target for renderer-routed commands; only connects currently reachable devices.

Instructions

Open (or focus, if already open) a Dev Studio device tab for the given Roku, making it the active target for renderer-routed tools (rale_command, telnet_*, app_function, get_telnet_log). Required device: Roku IP or serial from list_devices / scan_devices. Idempotent — a no-op if that device is already connected and focused. Not needed for main-direct ECP ops (keypress, launch_app, ecp_query, …) on local/remote devices, which accept a device argument directly; use test_connection to verify reachability without opening a tab. Only connects a device that's actually reachable right now — fails with a clear reason instead of guessing: a local device must be currently discoverable, a remote device's RDS Relay location must be online, and an rce (Roku Cloud Emulator) device must already be running — this tool will never start one; tell the user to start it in Roku Dev Studio first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesRequired non-empty string: LAN IP (e.g. "192.168.1.68") or device serial exactly as shown by list_devices / scan_devices.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.3.0
    • changedInput schema / properties / device / description
      Previous value: -"Required non-empty string: LAN IP (e.g. \"192.168.1.75\") or device serial exactly as shown by list_devices / scan_devices."New value: +"Required non-empty string: LAN IP (e.g. \"192.168.1.68\") or device serial exactly as shown by list_devices / scan_devices."
  2. Addedv1.0.2

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark idempotentHint and openWorldHint, but the description adds crucial context beyond them: it is a no-op if already connected, it opens/focuses a tab with side effects, it will only connect reachable devices, and it never starts an rce emulator. This fully discloses behavioral traits that an agent must know to invoke and interpret the tool correctly.

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?

The description is dense but every sentence carries operational value: purpose, idempotency, exclusions, alternatives, and device-specific preconditions. The most important information is front-loaded, and the structure makes the routing decision and failure conditions easy to follow.

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?

For a single-parameter tool with rich annotations and no output schema, the description covers all invocation-relevant context: what happens on success, when it is unnecessary, idempotency, reachability requirements, and failure behavior. No critical operational gap remains for an agent selecting or calling the tool.

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%, and the input schema already defines `device` as a required non-empty string with LAN IP or serial examples. The description mostly restates that, adding only the source provenance ('from list_devices / scan_devices'), which is marginal value over 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?

The description states a precise action: 'Open (or focus, if already open) a Dev Studio device tab for the given Roku' and clarifies the consequence of making it the active target for renderer-routed tools. It explicitly distinguishes the tool from direct-ECP alternatives like keypress and launch_app, so an agent can confidently tell it apart from siblings.

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?

The description explicitly says when the tool is needed (for renderer-routed tools) and when it is not needed ('Not needed for main-direct ECP ops'), and it names test_connection as the alternative for reachability checks. It also gives per-device-type prerequisites (local discoverable, remote RDS Relay online, rce running), leaving no ambiguity about selection.

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