Skip to main content
Glama
Yandex.Disk MCP Server

Yandex.Disk MCP Server

yandex_disk_get_metadata

Read-only

Retrieve metadata for a Yandex.Disk file or folder, including paged folder contents and total counts; use limit and offset to browse large directories.

Instructions

Get metadata for a file or folder. For a folder, _embedded.items holds one page of its contents and _embedded.total the full count; use limit/offset to page through it

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_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesPath to the file or folder (e.g., '/Documents/file.txt')
limitNoFolder items per page (default: 20)
offsetNoOffset in the folder listing (default: 0)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds real value by disclosing the response shape of a folder listing (_embedded.items = one page, _embedded.total = full count), which is not in any structured field since there is no output schema. It does not cover error cases, permission requirements, or whether file-vs-folder requests return different shapes.

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?

Two sentences, zero filler, with the resource identification front-loaded and the folder-specific behavior immediately after. The paging instruction is the last thing read before the schema, which is the right placement.

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 takes on the job of explaining what a folder response looks like and how to paginate it. It is less complete about what file metadata actually contains and about error behavior for a nonexistent path, but for a simple read tool the gaps are minor.

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 100%, so all three parameters are already documented in the schema, and the description's limit/offset note largely restates that. It does add the useful constraint that limit/offset apply to the folder listing specifically (not to file metadata), but provides no format or bound details beyond what the schema states.

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 opens with a specific verb plus resource ("Get metadata for a file or folder") and immediately explains the folder-specific return shape, which partly separates it from list/info siblings. It stops short of naming which sibling to prefer when the goal is purely to enumerate contents, so the differentiation is implicit rather than stated.

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?

There is concrete guidance on how to page through a folder listing ("use limit/offset to page through it"), but that is parameter usage rather than when-to-use guidance. Nothing says when to pick this over yandex_disk_list_files or yandex_disk_info, or when a metadata call is the wrong tool.

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