Skip to main content
Glama
Mobile Device Farm MCP

Mobile Device Farm MCP

adb_push

Transfer a local file to a specified path on an Android device over ADB, enabling automated testing and bug reproduction workflows.

Instructions

Push a file to an Android device.

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": {
      "localPath": "<localPath>",
      "remotePath": "<remotePath>"
    },
    "name": "adb_push"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNo
localPathYes
remotePathYes

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?

No annotations are supplied, so the description carries the entire burden. It does not disclose whether an existing remote file is overwritten, what permissions or root level are required, what happens with multiple connected devices, or what the tool returns on success or failure.

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 front-loaded sentence with no filler. Its brevity is efficient, though it shades into under-specification given the tool's mutation semantics.

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 three-parameter file-transfer tool with no annotations and no output schema, an agent still lacks overwrite behavior, device selection rules, and path conventions. The core action is unambiguous, but key operational details are absent.

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 all three parameters, so the description must compensate and largely fails to. It hints at a source file and a destination on device, but says nothing about deviceId (how a target is chosen when several devices are attached) or the expected path formats for localPath and remotePath.

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?

States a specific verb ('Push') and resource ('a file') against a named target ('an Android device'), so the operation is immediately identifiable. It implicitly contrasts with the adb_pull sibling by direction, but never names it or any other alternative explicitly.

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 guidance on when to use this rather than adb_pull (device-to-host), adb_install (APK deployment), or adb_shell (arbitrary copy commands). No prerequisites such as USB debugging or device selection are mentioned.

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