Skip to main content
Glama

Pull file

pull_file
Destructive

Copy a file from an Android device to a local path over adb to retrieve generated files, databases, or screenshots. Specify the device path and local destination.

Instructions

Copy a file off the device to a local path (adb pull) — e.g. retrieve a generated file, database, or screenshot.

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": {
      "device_path": "<device_path>",
      "local_path": "<local_path>"
    },
    "name": "pull_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
serialNoTarget device serial (adb -s). Optional when exactly one device is attached.
local_pathYesLocal destination path.
device_pathYesFile path on the device to copy off.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

The annotations already declare destructiveHint=true and openWorldHint=false, so the safety profile is carried by structured data. The description adds mechanism (adb pull) and retrieval examples but never explains the striking thing about this tool: why it is marked destructive, i.e. whether an existing local file at local_path is overwritten, and what happens on a missing device path.

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?

One sentence, front-loaded with the action and destination, with the adb equivalent and use cases tucked into a compact parenthetical. Nothing is wasted.

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?

A three-parameter, no-output-schema tool with decent schema coverage; the description covers the what but leaves the destructiveHint unexplained, which is the one behavioral fact an agent would want before calling. Adequate but with a clear gap around overwrite and failure behavior.

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%, including the serial parameter's note that it is optional when exactly one device is attached, so the schema carries parameter meaning fully. The description adds nothing per-parameter, making the 3 baseline correct.

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 and resource with explicit directionality: "Copy a file off the device to a local path (adb pull)." The direction phrase distinguishes it cleanly from the push_file sibling without needing to name it, and the parenthetical grounds it in the concrete adb operation.

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 examples ("generated file, database, or screenshot") give concrete situations that select this tool, which is more than most definitions offer. It stops short of explicit exclusions or a direct contrast with push_file, so an agent must infer the inverse case.

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