Skip to main content
Glama

Transfer files

transfer_files

Transfer app data, media, or app packages between a Mac and a device by pulling data to a folder, pushing replacement data, or adding photos/videos to the gallery.

Instructions

File transfer between this Mac and the device. pull: download an app's data to the folder path. push: upload the folder path as its data, replacing it (stops the app; asks the person). media: add the photos or videos at path to the gallery, taken out at the session end. An .apk or .ipa: manage_app install. Returns what moved, and where.

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": {
      "action": "<action>",
      "path": "<path>"
    },
    "name": "transfer_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNo
pathYes
actionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.4

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the minimal openWorldHint=false annotation, the description discloses important side effects: push stops the app and asks the person, and media items are taken out at session end. These behavioral traits are exactly what an agent needs to know before invoking a transfer operation, and they are not present in the schema or annotations.

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?

The description is compact, front-loaded with the core operation, and then moves action by action with no wasted sentences. The closing line about the return value ('Returns what moved, and where') is useful and does not repeat an output schema, since none exists.

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?

For a tool with no output schema, minimal annotations, and a 0%-documented input schema, the description covers the action semantics, side effects, and return summary well. It does not clarify how the 'app' parameter is specified or how the target device is selected, which keeps it from being fully complete for a device-oriented transfer tool.

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

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description does meaningful work: it explains that path is a folder path for pull/push and a photo/video path for media, and it explains all three action enum values. The app parameter's format and optionality are not clarified, which leaves a small gap, but the description substantially compensates for the missing schema documentation.

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?

The description states a specific resource and verb ('File transfer between this Mac and the device') and then precisely differentiates the three action modes: pull downloads app data, push uploads and replaces app data, and media adds photos/videos. It also names a sibling tool for the .apk/.ipa case ('manage_app install'), so an agent can distinguish it from the installer path without opening another schema.

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 description gives clear when-to-use guidance for each action enum value, including the side condition that push replaces app data. It also routes the .apk/.ipa case to manage_app, which is an explicit alternative. It does not state when not to use transfer_files versus other device-management siblings, but the action-level guidance is strong.

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