Skip to main content
Glama

push_file

Copy a file or directory from the host to a connected Android device or emulator over ADB.

Instructions

Copy a file or directory from the host to the device.

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

Input Schema

NameRequiredDescriptionDefault
serialNo
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?

No annotations are supplied, so the description carries the full behavioral burden and delivers almost none of it. It never says whether an existing remote file is overwritten, whether parent directories are created, whether permissions apply, or how the optional serial selects a target device among several.

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?

It is one front-loaded sentence with no filler or redundant restatement of the name. Its brevity is efficient, though it leaves important semantics to inference rather than using the space to resolve them.

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 mutation-style transfer tool with zero annotation coverage and 0% parameter documentation the description is too thin. Overwrite behavior, directory creation, device targeting, and error conditions are all unaddressed.

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

Parameters2/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 for all three parameters and does not. It vaguely implies a host-side path and a device-side path, but never maps them to local_path/remote_path and says nothing about the serial parameter that selects which device receives the copy.

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 concrete verb and resource ("Copy a file or directory") plus a direction ("from the host to the device"), which implicitly separates it from the inverse sibling pull_file. It stops short of naming the sibling explicitly, but an agent can still tell the two apart from the direction alone.

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

Usage Guidelines3/5

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

The host-to-device direction implies when this tool applies versus pull_file, but usage is only implied. There is no explicit when-to-use, no prerequisites (device must be connected/authorized), and no statement about what happens if the remote path already exists.

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