Skip to main content
Glama
paramount-engineering

Roku Dev Studio MCP Server

Debugger: Set Breakpoints

debugger_set_breakpoints
Idempotent

Add breakpoints to BrightScript source files with optional conditions and hit counts for debugging Roku channels.

Instructions

Add breakpoints. breakpoints: array of { path, line, condition?, hitCount? }path is a pkg:/… source path (a bare path is prefixed with pkg:/), condition is an optional BrightScript expression (Roku OS 11.5+), hitCount skips that many hits first. IMPORTANT: the device only registers breakpoints while HALTED — one added while the channel is running comes back pending:true and is queued to register at the next stop. Each result carries a breakpointId (registered) or an error. Existing conditions are replaced on re-add.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceNoOptional. Roku IP or serial; must match a connected Dev Studio tab. Omit to use the focused tab.
breakpointsYesBreakpoints to set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.2

TDQS

A4.6/5.0
Behavior5/5

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

The description goes well beyond annotations by disclosing the pending behavior, the replacement of existing conditions on re-add, and the return of a breakpointId or error. This is valuable side-effect information that annotations (readOnlyHint=false, openWorldHint=true) do not cover.

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 efficient: a clear purpose sentence, a compact breakdown of the array structure, and then critical behavioral notes. Every sentence earns its place with no fluff or repetition.

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 mutation tool with no output schema, the description covers the parameters, the pending/queued behavior, return values (breakpointId or error), and re-add semantics. It does not detail error types or device matching specifics (which the schema covers), but is complete enough for correct use.

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%, so the baseline is 3, but the description adds meaningful semantics: it explains path prefixing (bare paths get pkg:/), condition is a BrightScript expression requiring Roku OS 11.5+, and hitCount 'skips that many hits first'. These details enhance the schema's field descriptions.

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 clearly states the action ('Add breakpoints') and specifies the exact resource and structure of the breakpoints array. It is unambiguous and distinct from sibling tools like debugger_remove_breakpoints or debugger_list_breakpoints by the verb and object.

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?

The description provides crucial usage context—breakpoints are only registered while the device is halted, and adds are queued as pending otherwise. It does not explicitly name alternatives or when-not-to-use scenarios, but the context is sufficient for correct invocation.

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