Skip to main content
Glama
MobAI-App

MobAI MCP Server

Official
by MobAI-App

debug_step

Step through code execution on a mobile device by specifying direction: in, over, out, or continue. Returns debug state and optional stack and variables.

Instructions

Advance the target. "in" — step into next call (blocks ~ms, returns {state, breakpoints, stack, frame0_locals}) "over" — step over next call (same shape) "out" — run until current frame returns (same shape) "continue" — resume until next breakpoint (fire-and-forget; returns just {state, breakpoints} — poll debug_state for next stop)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYesDevice ID
directionYes"in" | "over" | "out" | "continue"
include_stackNoInclude the new stack. Default true. Ignored for direction="continue".
include_varsNoInclude the new frame[0] locals. Default true. Ignored for direction="continue".
Behavior5/5

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

No annotations are present, so the description bears full responsibility. It thoroughly discloses behavioral traits: blocking vs. fire-and-forget for each direction, approximate timing (~ms), and the exact return shapes. This is comprehensive and leaves no ambiguity.

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?

The description is well-structured with a clear header and bullet-like entries for each direction. It is concise but informative; every sentence adds value. Minor redundancy could be trimmed, but overall it is efficient.

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?

Given the tool's complexity (4 parameters, no output schema), the description covers the main behaviors and return formats. However, it does not clarify the exact impact of the optional boolean parameters when set to false (e.g., whether the stack field is omitted or just empty). This slight omission prevents a perfect score.

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%, providing a baseline of 3. The description adds significant value by explaining how each direction affects return values and behavior, and that optional booleans are ignored for 'continue'. This goes beyond 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 tool's purpose ('Advance the target') and immediately enumerates the four possible directions with specific behavioral details. The inclusion of return shapes for each direction distinguishes it from sibling debug tools.

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?

The description provides implicit context for when to use this tool (when stepping through code) and explicitly notes that 'continue' requires polling debug_state for the next stop. However, it does not directly compare to alternative tools like debug_state or debug_eval, nor does it state when NOT to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MobAI-App/mobai-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server