Skip to main content
Glama
mobile-debug-mcp

mobile-debug-mcp

capture_screenshot

Capture a screenshot from an Android device or iOS simulator, returning the image and device metadata for debugging and visual evidence.

Instructions

Capture a screenshot from an Android device or iOS simulator. Returns device metadata and the screenshot image. Returns evidence metadata with acquisition intervals and conservative freshness. Optional actionRef links a known same-session/device action; unavailable references collect independently. Device log times are not comparable with host dispatch times.

Input Schema

NameRequiredDescriptionDefault
deviceIdNoDevice UDID (iOS) or Serial (Android). Defaults to booted/connected.
platformYes
actionRefNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.34.0
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "not": {
      +      "required": [
      +        "expectedState"
      +      ]
      +    }
      +  }
      +]
    • addedInput schema / properties / actionRef
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "actionId": {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "sessionId": {
      +      "maxLength": 128,
      +      "minLength": 1,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "sessionId",
      +    "actionId"
      +  ],
      +  "type": "object"
      +}
  2. First observedv0.31.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses return contents, evidence metadata, freshness handling, actionRef linking behavior, and a time-comparability caveat, but omits device prerequisites, side effects, permissions, and failure behavior.

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

Conciseness3/5

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

The purpose is front-loaded, but the two 'Returns' sentences are redundant and internal jargon like 'evidence metadata' and 'collect independently' adds density without proportional clarity.

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?

There is no output schema or annotations, so the description should be complete. It covers returned data and actionRef semantics, but leaves error handling, authentication requirements, and whether the screenshot is stored or only returned unspecified.

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 description coverage is low at 33%, but the description compensates for the complex nested actionRef by explaining its role and fallback behavior. Platform is a self-evident enum and deviceId is covered in the schema, though 'unavailable references collect independently' remains opaque.

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 clearly states the specific verb and resource: capturing a screenshot from Android or iOS. It also describes what is returned, but does not distinguish this tool from related screen-capture siblings like capture_debug_snapshot or get_current_screen.

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

Usage Guidelines2/5

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

There is no explicit guidance on when to use this tool versus alternatives, nor are there exclusions or prerequisites. The actionRef sentence gives conditional behavior for one parameter, but not tool-level usage guidance.

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