Skip to main content
Glama
rafalr100

Synology MCP Server

by rafalr100

list_files

List files and folders at a specified path on a Synology NAS with optional filtering, sorting, and pagination.

Instructions

List files and folders at a given path.

Args: path: Full path e.g. /home or /docker/app limit: Max items to return (default 100) offset: Pagination offset sort_by: name | size | user | group | mtime | atime | crtime | posix sort_direction: asc | desc pattern: Optional filename filter (supports wildcards, e.g. *.pdf)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
limitNo
offsetNo
patternNo
sort_byNoname
sort_directionNoasc

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses that it lists files and folders, supports pagination (limit, offset), sorting (sort_by, sort_direction), and wildcard pattern filtering. It does not mention side effects (likely none) or permissions, but overall is transparent.

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?

The description is concise: a one-sentence introduction followed by a bullet-style parameter list. Every line adds value with no redundancy. It is well-structured and front-loaded.

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 an output schema present, the description does not need to explain return values. It covers all parameters and common constraints (e.g., pattern wildcards). Minor gaps: it does not specify that listing is non-recursive (only direct children) or clarify how offset works relative to limit. Still fairly complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description adds critical meaning. It explains each parameter: path as full path, limit as max items, offset as pagination offset, sort_by with possible values (name, size, etc.), sort_direction as asc/desc, and pattern with wildcard support (e.g., *.pdf). This fully compensates for missing schema descriptions.

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 clearly states 'List files and folders at a given path,' specifying the action (list), resource (files and folders), and scope (path). This distinguishes it from siblings like search_files (content search) and get_file_info (single file details).

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?

The description explains parameters but provides no explicit guidance on when to use this tool versus alternatives like search_files or get_file_info. Usage is implied through parameters (e.g., pattern for filtering), but no when-not or context is given.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rafalr100/synology-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server