Skip to main content
Glama
mobile-debug-mcp

mobile-debug-mcp

get_debugger_stack

Read bounded stack frames from a stopped mobile thread by session, stop, and thread ID; use returned IDs before the thread resumes, as they expire on resume.

Instructions

Read bounded stack frames for a stopped thread; IDs expire on resume.

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
stopIdYes
threadIdYes
timeoutMsNo
responseModeNodebug
debugSessionIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.35.0
    • addedInput schema / properties / responseMode
      Added value: +{
      +  "default": "debug",
      +  "enum": [
      +    "compact",
      +    "debug"
      +  ],
      +  "type": "string"
      +}
  2. Addedv0.34.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries full disclosure burden; it does add genuinely non-obvious behavior — output is bounded/paginated and the stop/thread IDs are invalidated once the debugger resumes. It still says nothing about permission requirements, what happens when an ID has expired (error vs. empty result), how timeoutMs affects failure, or what responseMode changes.

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?

One tight sentence with the core action front-loaded and the expiry caveat attached; no filler. It is arguably over-compressed given 7 parameters, but nothing in it is wasted.

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

Completeness2/5

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

For a 7-parameter debugger tool with no annotations, no output schema, and 0% schema coverage, the definition is thin: an agent cannot tell what a call returns, how pagination termination is signalled, what responseMode=compact vs debug yields, or how an expiry failure surfaces.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for 7 parameters, so the schema alone gives no meaning. The description only obliquely explains two concepts — "bounded" gestures at limit/offset and "IDs expire" at stopId/threadId lifetime — leaving debugSessionId, timeoutMs, and responseMode entirely unexplained.

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 names a specific verb ("read") and resource ("stack frames") with a scoping qualifier ("bounded", "for a stopped thread"), which distinguishes it from siblings like get_debugger_locals and get_debugger_state. It stops short of explicitly contrasting with those siblings, so it isn't a 5.

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?

"for a stopped thread" implies the precondition that execution must be halted, and "IDs expire on resume" implies a validity window, which together give an agent an implicit sense of when it can call this. However, no alternative tool is named (e.g., use get_debugger_locals for variables) and there is no explicit when-not guidance.

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