Skip to main content
Glama
Yandex.Disk MCP Server

Yandex.Disk MCP Server

yandex_disk_get_upload_url

Read-only

Returns an upload URL for a given Yandex.Disk path and optional overwrite setting, enabling clients to upload a file to that location.

Instructions

Get URL for uploading a file to Yandex.Disk

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

Input Schema

NameRequiredDescriptionDefault
pathYesPath where to upload the file (e.g., '/Documents/file.txt')
overwriteNoWhether to overwrite if file exists (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. Beyond that the description adds almost nothing: it does not say whether the returned URL expires, what HTTP method or headers the caller must use, whether the URL must be used before another request is issued, or what happens to the file if it is never uploaded. For a hand-off tool whose whole value lies in the follow-up contract, that is a real gap.

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 no filler. It is efficient, though the brevity tips into under-specification rather than genuine concision.

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

Completeness2/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 is the only place an agent can learn the shape and lifetime of the returned URL, and it says nothing. Combined with no explanation of the two-step upload contract or how this differs from yandex_disk_upload, the definition leaves too much unstated for a tool whose correct use depends on what the caller does with the result.

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 both 'path' and the 'overwrite' default are already documented in the input schema. The description adds no path-format, permission, or overwrite-interaction detail beyond what the schema supplies. Baseline 3 applies.

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 and resource: 'Get URL for uploading a file to Yandex.Disk'. The intended artifact (an upload URL) is clear. It does not, however, contrast itself with the sibling yandex_disk_upload or yandex_disk_get_download_url, so the distinction between the direct-upload path and the presigned-URL path is left to inference.

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?

There is no when-to-use or when-not-to-use guidance. The description never says this is the first step of a two-step flow (get URL, then PUT the file), nor does it point an agent to yandex_disk_upload as the single-call alternative or to yandex_disk_get_download_url as its counterpart. An agent must guess from the name alone.

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