Skip to main content
Glama

clone_phone_photos

Copies phone photos into a local destination directory with resumable transfer, skipping files that already exist. Use it to pull images from an MTP device or a local photo folder for archiving.

Instructions

把图片断点续传克隆到本地目录。Windows 从手机 MTP 设备取图;macOS/Linux 从本地照片目录复制。

:param dest_dir: 本地目标目录(已存在的同名文件跳过)。 :param phone_name: 设备 / 来源名;留空取第一个可用来源。

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": {
      "dest_dir": "<dest_dir>"
    },
    "name": "clone_phone_photos"
  }
}

Input Schema

NameRequiredDescriptionDefault
dest_dirYes
phone_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden, and it does disclose two valuable behaviors: transfers are resumable (断点续传) and existing same-name files are skipped rather than overwritten. However, it omits permission/authorization needs, what happens when the named source is unavailable or ambiguous, whether partial files are left behind on interruption, and how much data a clone may move — all material for a filesystem-mutating operation.

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?

Front-loaded first sentence states purpose and platform behavior, then two compact parameter lines. No filler, though the platform sentence and the param block could be merged more cleanly since phone_name's meaning shifts by platform.

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?

An output schema exists, so return values need not be explained. For a two-parameter, mutating file-transfer tool with zero annotations, the description covers resumability, conflict policy, defaults, and platform behavior — enough for correct invocation, with only failure modes and the device-discovery path left implicit.

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 0%, so the description must compensate, and it partially does: dest_dir is defined as a local target directory with a skip-existing policy, and phone_name is defined as a device/source name where empty means first available. That is genuinely useful, but the phone_name semantics are muddled — on macOS/Linux the 'source' is a local photo directory, so it is unclear whether a device name or a path is expected.

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 uses a specific verb and resource ('把图片断点续传克隆到本地目录') and adds a platform-specific source distinction (MTP device on Windows vs. local photo directory on macOS/Linux). This is far clearer than the bare name, though it never explicitly contrasts itself with siblings like archive_photos or list_phone_devices.

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?

Usage is only implied: the platform sentence tells an agent which source is read on which OS, and the dest_dir note implies a bulk copy job. There is no explicit 'use this when…' guidance, no note that list_phone_devices should be consulted to find a valid phone_name, and no stated exclusions versus archiving/export siblings.

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