Skip to main content
Glama
Yandex.Disk MCP Server

Yandex.Disk MCP Server

yandex_disk_upload

Destructive

Upload a local file or folder recursively to a Yandex.Disk destination as a background job, returning a job ID and progress while skipping same-size files and verifying each transfer.

Instructions

Upload a local file or folder (recursively, keeping its structure) into a Yandex.Disk folder. Runs as a background job: returns a job_id and progress after wait_seconds; poll it with yandex_disk_upload_status. Files already on the disk with the same size are skipped, missing folders are created, every upload is verified by MD5. Video is uploaded under a temporary '.part' name and renamed afterwards, because Yandex.Disk throttles API uploads of video to ~130 KB/s; a leftover '.part' of the same size is just renamed. The job lives in the MCP server process and stops if the server exits

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": "yandex_disk_upload"
  }
}

Input Schema

NameRequiredDescriptionDefault
proxyNoHTTP proxy for the upload traffic (e.g., 'http://127.0.0.1:8078'); API calls go direct. Default: YANDEX_DISK_UPLOAD_PROXY env var; '' disables
ignoreNoFile/folder name globs skipped when walking a folder (default: ['.DS_Store', '._*'])
includeNoUpload only these files: paths relative to local_path (as in yandex_disk_compare's only_local) or absolute
log_fileNoOptional local file to append one line per file (OK/SKIP/FAIL) to
overwriteNoReplace files that already exist on Yandex.Disk. When false, an existing file of the same size is skipped and one of a different size is reported as failed (default: false)
local_pathYesAbsolute path to a local file or folder
concurrencyNoFiles uploaded in parallel, 1-4 (default: 1)
remote_pathYesDestination folder on Yandex.Disk (e.g., '/Photo/2017'); created if missing
wait_secondsNoWait up to this many seconds for the job to finish before returning, 0-900 (default: 30)
bypass_extensionsNoExtensions uploaded via a temporary '.part' name (default: common video formats; [] disables)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag a destructive, open-world write, and the description goes well beyond them: it discloses the background-job model, the job_id return plus wait_seconds window, that the job dies with the server process, MD5 verification, same-size skipping, and the '.part' rename workaround with its throttling rationale. That is exactly the operational context an agent needs before committing to a large upload.

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 with the action and scope, then background-job behavior, then the video '.part' caveat — a sensible ordering with no filler sentences. It is a dense single block, though, and would scan faster as short clauses or bullets.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 10-parameter, mutation-heavy, long-running tool with no output schema, the description covers what is returned, how to poll it, what gets skipped or overwritten, and how the job's lifetime works. Nothing an agent needs to call it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description still adds meaning by explaining the overwrite consequences (same size skipped, different size reported failed), the wait_seconds return behavior, and the '.part' mechanism that sits behind bypass_extensions. Only include/ignore/log_file/concurrency semantics are left entirely to the schema.

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 opens with a specific verb and resource ('Upload a local file or folder ... into a Yandex.Disk folder') and scopes it further with 'recursively, keeping its structure'. That is enough to separate it from siblings like yandex_disk_copy, yandex_disk_get_upload_url and the download tools without opening any 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?

It explicitly routes follow-up to yandex_disk_upload_status and states the skip/overwrite conditions under which the tool is the right choice. It does not say when to prefer yandex_disk_get_upload_url or yandex_disk_compare, so the exclusion guidance is one step short of a 5.

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