Skip to main content
Glama

Pull a file from the device

pull_file

Copy a file from an Android device to the host machine via adb pull, blocking overwrites unless explicitly allowed.

Instructions

Copy a file from the device to the host machine (adb pull). Refuses to overwrite an existing host file unless overwrite is true. This writes to the host filesystem, so it is not a read-only tool.

Input Schema

NameRequiredDescriptionDefault
deviceNoDevice serial from list_devices; optional when exactly one device is connected.
overwriteNoAllow replacing an existing host file (default false).
local_pathYesDestination path on the host machine (relative paths resolve against the server cwd).
remote_pathYesAbsolute path on the device, e.g. "/sdcard/Download/crash.log".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false, and the description adds genuinely new context: it refuses to overwrite an existing host file unless overwrite is true, and it explicitly confirms it writes to the host filesystem rather than being read-only. It does not describe failure modes or whether parent directories are created, but the overwrite guard-rail is real added value.

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?

Three short sentences, each carrying distinct information: what it does, its overwrite guard, and its filesystem-write nature. No filler or repetition.

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 and full parameter documentation, the description covers the essential behavior (direction, overwrite refusal, host-side writes) for a 4-parameter copy tool. Remaining gaps such as error handling and directory creation are minor for a tool whose annotations and schema carry the rest.

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%, with every parameter documented including the overwrite default and the relative-path resolution rule, so the baseline is 3. The description's mention of overwrite largely restates what the schema already says, adding little syntax or format detail beyond it.

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), resource (a file), and direction (from the device to the host machine), plus the underlying adb command. The direction alone distinguishes it from the sibling push_file without either schema being opened.

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 explicit device-to-host direction gives clear context for when this tool applies and implicitly excludes push_file's opposite direction. However, it never names the alternative or states a when-not condition, so it stops short of full routing guidance.

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