Skip to main content
Glama

debugger.step

Control execution flow during browser debugging by stepping into, over, or out of a paused call.

Instructions

Step into, over, or out of the current call while paused.

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": {
      "kind": "<kind>"
    },
    "name": "debugger.step"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYes
target_idNoTarget handle (tgt_*). Omit for the active page.
browser_idNoBrowser handle (br_*). Omit to use the only running browser, or auto-launch one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and openWorldHint=true, so the agent knows this mutates execution state. The description adds the paused precondition but says nothing about what happens if the debugger is not paused, whether stepping can miss frames, or how execution progresses afterward.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with no wasted words, front-loading the action and modes. It is appropriately sized for a simple state-mutating debugger command, though it leaves obvious questions unanswered.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 3-parameter execution-control tool with no output schema and only two annotations, the description is minimally adequate: it establishes the paused precondition but omits error behavior, mode distinctions, and how it relates to sibling stepping/inspection tools.

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 coverage is 67% and the target_id/browser_id handles are documented in the schema. The description's value-add is naming the three step modes, which clarifies the enum values in meaning rather than by repetition, but it does not explain their distinction or side effects.

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?

The description gives a specific verb (step) and object (the current call), and enumerates the three modes 'into, over, out' which map exactly onto the kind parameter. It is clear enough to distinguish from siblings like debugger.resume or debugger.call_frames, though it does not name them.

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

Usage Guidelines3/5

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

'while paused' is an implied precondition that tells the agent the debugger must be stopped, which is genuinely useful context. However, it never states when to choose step-into vs. step-over vs. step-out, nor points to alternatives such as resume or wait_for_pause for other flows.

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

Deploy Server

Other Tools