Skip to main content
Glama
Yandex.Disk MCP Server

Yandex.Disk MCP Server

yandex_disk_compare

Destructive

Recursively compares a local folder with a Yandex.Disk folder by relative path and size, optionally by MD5, and reports differences; save the full JSON report locally.

Instructions

Recursively compare a local folder with a folder on Yandex.Disk. Files are matched by relative path (Unicode-normalized) and size, optionally by MD5. Returns totals, differences grouped by top-level folder and capped lists of differing files; the full report can be saved to a local JSON file (output_file, overwritten if it exists)

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

Input Schema

NameRequiredDescriptionDefault
ignoreNoFile/folder name globs skipped on both sides (default: ['.DS_Store', '._*'])
check_md5NoAlso compare MD5 of files with equal size. Reads every such local file, slow for large folders (default: false)
max_itemsNoMax entries per list in the response (default: 100)
local_pathYesAbsolute path to the local folder (e.g., '/Volumes/USB/Photos')
output_fileNoOptional local path to write the full, untruncated JSON report; an existing file is overwritten
remote_pathYesFolder on Yandex.Disk (e.g., '/Backups/Photos')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and the description earns that by explaining the output_file is a local path whose existing file is overwritten, and that check_md5 reads every same-size local file and is slow. It could add more about the remote side being read-only and report direction (extra vs missing), but it goes meaningfully beyond the 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?

Front-loaded with the verb and operand, then comparison rules, then return shape, then the side-effect caveat — each clause carries distinct information with no filler.

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?

With no output schema, the description correctly spells out the return shape (totals, differences grouped by top-level folder, capped lists, optional full JSON report). Only the direction semantics of a difference (local-only vs remote-only) are unstated, which is a minor gap for a comparison tool.

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 coverage is 100%, so the schema already documents all six parameters. The description reinforces a few semantics (capped lists from max_items, MD5 fallback comparison, overwrite behavior) but adds no syntax or format detail beyond what the schema text provides, so baseline 3 applies.

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?

States a specific verb and both resources ('Recursively compare a local folder with a folder on Yandex.Disk') plus the matching rules (relative path, Unicode-normalized, size, optional MD5). No sibling in the list does comparison, so an agent can route to it unambiguously.

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 implied by the operation (verifying a backup or sync against a remote folder), but there is no explicit statement of when to prefer it over list_files/get_metadata, nor any when-not-to-use condition. Adequate but left to inference.

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