Skip to main content
Glama
paramount-engineering

Roku Dev Studio MCP Server

Debugger: Wait for Stop

debugger_wait_for_stop
Read-onlyIdempotent

Wait for the Roku debugger to halt at a breakpoint, step, or error, then retrieve the top-frame snapshot with threads, stack frames, and variables. Use after continue/step to know when to inspect.

Instructions

Block (server-side poll) until the target HALTS at a breakpoint / STOP / step-completion / runtime error, then return { stopped: true, stop: { reason, detail, threads, stackFrames, variables } } — the top-frame snapshot. Returns { stopped: false, timedOut: true } if it is still running at the deadline, or { stopped:false, state } if the session ended. Call this right after debugger_continue / debugger_step, or after triggering the app, to know when you can inspect. Optional timeoutMs (default 15000, max 30000).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNoOptional. Roku IP or serial; must match a connected Dev Studio tab. Omit to use the focused tab.
timeoutMsNoMax ms to wait (default 15000, capped at 30000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.2

TDQS

A4.5/5.0
Behavior5/5

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

The description discloses important behavioral traits beyond the annotations: server-side blocking/polling, timeout handling with distinct return variants, and the exact state returned when the session ends. Annotations already declare readOnlyHint and idempotentHint, but the description adds substantial behavioral context without contradicting the annotations.

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 sentences, each earning its place: core blocking behavior and return value, alternative timeout/session returns, when to call it, and timeout parameter details. The most important information is front-loaded, and there is no filler.

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?

There is no output schema, but the description fully supplies the return contract for all three outcomes: stopped, timed out, or session ended. It also covers invocation timing and the optional timeout parameter, making the tool complete and callable without further research.

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% for both parameters, so the schema already documents device and timeoutMs. The description adds no new parameter-level meaning beyond restating the timeout default and cap, so the baseline 3 is appropriate.

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 specific action and resource: it blocks until the target halts at a breakpoint/STOP/step-completion/runtime error, then returns a structured stop snapshot. This clearly distinguishes it from sibling debugger tools like debugger_continue or debugger_status, which do different things.

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?

It explicitly tells the agent when to call this tool: right after debugger_continue, debugger_step, or after triggering the app. It doesn't explicitly state when not to use it or name alternatives, but the invocation context is clear and concrete.

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