Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

run_monkey

Triggers a Chaos Monkey stress test on Android apps by sending random events to a specified package, helping reproduce crashes and expose stability issues.

Instructions

Run a Chaos Monkey stress test (Android only).

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": {
      "packageName": "<packageName>"
    },
    "name": "run_monkey"
  }
}

Input Schema

NameRequiredDescriptionDefault
eventsNoNumber of random events to trigger
deviceIdNo
packageNameYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states the tool is a stress test for Android; it does not describe side effects, whether it is destructive, required app installation, permissions, or expected outcomes (e.g., crashes, random events). This is a significant gap for a potentially disruptive tool.

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 a single, front-loaded sentence with no unnecessary words. It is efficient, though its brevity contributes to under-specification rather than being optimally concise for a tool of this complexity.

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?

Given three parameters, no annotations, and no output schema, the description is far too sparse. It omits critical information such as prerequisites, safety warnings, expected side effects, and how parameters influence behavior, leaving the agent under-informed for a stress-testing tool.

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

Parameters1/5

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

Schema description coverage is only 33% (only 'events' is documented). The description does not mention any parameters at all, so it adds no meaning beyond the schema for 'packageName' or 'deviceId', and does not compensate for the low coverage.

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 states a specific verb ('Run') and resource ('Chaos Monkey stress test') and adds a platform constraint ('Android only'). It is clear what the tool does, though it does not explicitly differentiate from siblings like test_performance or adb_shell.

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 phrase 'stress test' and '(Android only)' imply a usage context, but there is no explicit guidance on when to use this tool versus alternatives such as test_performance or manual adb_shell commands. No exclusions or prerequisites are mentioned.

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