Skip to main content
Glama

Pull file from device

adb_pull
DestructiveIdempotent

Copy a file from an Android device to the server's file roots, overwriting existing files and creating missing directories.

Instructions

Copy a file from the device into the server's file roots (file_roots), overwriting a file of the same name and creating missing directories. The reverse is adb_push.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialNoDevice serial from adb_devices. Optional when exactly one device is connected.
host_pathYesAbsolute destination path on the server, inside file_roots.
device_pathYesFile on the device, e.g. /sdcard/Download/report.pdf.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds real value beyond that by disclosing the overwrite-on-same-name behavior and automatic creation of missing directories, which explains the destructive flag concretely. It does not cover error cases such as a missing source file.

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

Conciseness5/5

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

Two sentences, both front-loaded and waste-free: the first carries the operation and its side effects, the second handles sibling disambiguation. Nothing redundant with the title.

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

Completeness4/5

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

With no output schema, the description needn't explain return values, and it adequately covers direction, destination constraint, overwrite semantics, and directory creation. The only gap is failure behavior (source not found, path outside file_roots), which is minor for a simple transfer tool.

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 100%, so all three parameters (serial, host_path, device_path) are fully documented in the schema, including the file_roots containment constraint. The description adds nothing parameter-specific beyond the file_roots phrase, so the baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (copy) and direction (device into server's file_roots), and explicitly names the reverse operation adb_push, so the agent can distinguish it from adb_push without opening either schema. No ambiguity about which direction data flows.

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

Usage Guidelines4/5

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

The closing sentence 'The reverse is adb_push' effectively routes the agent between the two transfer tools, giving clear directional context. It stops short of explicit when-not guidance (e.g., what to do if the destination is outside file_roots), so it is a strong 4 rather than a 5.

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