Skip to main content
Glama
sync2nas-mcp

sync2nas-mcp

by mirkcale

list-remote-files

Lists files and folders at a specified NAS path, with optional recursive traversal of subdirectories. Use it to inspect remote SMB/CIFS storage before syncing or filtering files.

Instructions

列出NAS上的文件和文件夹

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list-remote-files"
  }
}

Input Schema

NameRequiredDescriptionDefault
recursiveNo是否递归列出子目录
remotePathNo要列出的远程路径

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about read-only nature, error behavior for a nonexistent path, sorting, or pagination. Only the bare listing action is stated.

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 short sentence with no wasted wording, front-loading the action and resource. It is terse but structurally clean; the only weakness is that terseness borders on under-specification.

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

Completeness3/5

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

For a simple two-parameter read tool with full schema coverage, one sentence is minimally adequate. However, with no output schema and no annotations, the description could reasonably state the return shape or the behavior when remotePath is omitted.

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%, with both 'recursive' and 'remotePath' documented in the schema, so the baseline of 3 applies. The description adds no extra meaning about default path or recursion depth beyond the schema.

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 gives a specific verb ('列出' / list) and resource (files and folders on the NAS), which is enough to distinguish it from siblings like download-file, upload-file, or sync-files. It does not explicitly name those alternatives, so it stays at 4 rather than 5.

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 guidance on when to use this versus alternatives such as sync-files or compare-files, and no mention of prerequisites like a valid connection or what happens when remotePath is omitted. Usage context is only implied by the verb.

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