Skip to main content
Glama

adb_pull

Destructive

Copies a file or directory from an Android device to a local path using ADB, enabling retrieval of device data for inspection or backup.

Instructions

Copy a file or directory from the device to a local path (adb pull).

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": {
      "remote_path": "<remote_path>",
      "local_path": "<local_path>"
    },
    "name": "adb_pull"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNo
local_pathYes
remote_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, but the description's word 'copy' reads as benign and never warns that an existing local file at local_path may be overwritten or that a live device connection is required. Beyond restating direction, it adds no behavioral context over the structured hints.

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 zero filler that puts the resource and direction first. Its brevity is efficient rather than padded, though it leaves little room for the operational caveats noted elsewhere.

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?

An output schema exists, so return values need not be explained, but for a destructive, open-world transfer tool the definition omits device selection semantics, overwrite behavior, and failure conditions (missing remote path, disconnected device). The description is thinner than the tool's complexity warrants.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate. It does clarify direction for the two required parameters — remote_path lives on the device and may be a directory, local_path is the destination — but the optional `device` parameter is left entirely undefined in both the schema and the description, and no path formats or examples are given.

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 (copy) and resource (file or directory), states the direction explicitly ('from the device to a local path'), and anchors it to the underlying command (`adb pull`), which implicitly contrasts it with adb_push. It does not name a sibling tool outright, so it stops short of 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 Guidelines2/5

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

There is no when-to-use guidance: nothing says a device must first be connected (adb_connect/adb_devices) or how this differs from adb_read_file or ssh_download. The agent must infer the context from the name alone.

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