Skip to main content
Glama

pull_file

Transfer files from Android devices to your computer for development, testing, or debugging workflows. Specify remote and local paths to copy device files.

Instructions

Pull a file from the device

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
remote_pathYes
local_pathYes
device_serialNo

Implementation Reference

  • The pull_file tool handler, decorated with @mcp.tool() which serves as both the implementation and registration in the MCP framework. It executes the ADB 'pull' command to download a file from the Android device to local path.
    @mcp.tool() def pull_file(remote_path: str, local_path: str, device_serial: str | None = None) -> str: """Pull a file from the device""" return run_adb(["pull", remote_path, local_path], device_serial)
  • The @mcp.tool() decorator registers the pull_file function as an MCP tool.
    @mcp.tool()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rahulkr/r_adb_mcp_server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server