Skip to main content
Glama

Push File

file_push
DestructiveIdempotent

Copy a local file to a connected Android device by providing source and destination paths, optionally targeting a specific device serial.

Instructions

Push a local file to a connected Android 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": {
      "localPath": "<localPath>",
      "remotePath": "<remotePath>"
    },
    "name": "file_push"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceIdNoTarget device serial
localPathYesAbsolute path to the local file
remotePathYesDestination path on the device, e.g. '/sdcard/Download/file.txt'

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, so the safety profile is known. The description adds nothing beyond that — notably it never says whether an existing remote file is overwritten (the key consequence of destructiveHint) or what happens on a bad path or disconnected device.

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?

A single front-loaded sentence with zero filler and no repetition of the title's wording beyond what is needed. Brevity is appropriate, though it borders on under-specification rather than deliberate economy.

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?

For a three-parameter, fully documented, non-read-only file transfer, the definition is minimally adequate given annotations cover mutation and idempotency. It is missing the one thing annotations cannot convey at a glance: overwrite semantics for the destination path and any device-connectivity assumption.

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 localPath, remotePath, and deviceId are already fully documented in the schema, including an example remote path. The description contributes no additional meaning, which is the expected baseline for fully covered schemas.

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?

States a specific verb ('Push') and resource ('local file') plus the target ('connected Android device'), which distinguishes it from file_pull by direction. It does not explicitly name the sibling or contrast behavior, so it stops short of a 5.

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

Usage Guidelines2/5

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

The only implied guidance is that the device must already be connected; there is no statement of when to use this versus file_pull or a shell-based copy, and no note of prerequisites or failure conditions.

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