Skip to main content
Glama
mcp-synology

mcp-synology

file_task

Destructive

Track or stop a file operation (delete, copy, move, restore) already handed off to the NAS: check progress with a handle, or list your running operations when no handle is available.

Instructions

Follow up on a delete, copy, move or restore handed off to the NAS. Those tools hand off long operations and return a handle such as delete:FileStation_…, because the NAS keeps working after the reply. With a handle: action="status" shows progress, or the final result if DSM still has it; action="stop" stops it, and the operation may then be partly done; a stop DSM is slow to confirm shows on later status calls. Without a handle: lists this user's running operations, which is useful in a new chat or after a restart. Handles only work for the same NAS user. Don't poll in a loop: check when the user asks, or before doing something that depends on the result.

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": "file_task"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNo`status` (default) or `stop`.status
handleNoThe handle from a delete/copy/move/restore reply. Omit it to list running operations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.9.1
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "title": "Result",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "title": "tool_file_taskOutput",
      -  "type": "object"
      -}New value: +null
  2. Addedv0.9.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, it explains that the NAS keeps working after the reply, that `stop` can leave the operation partly done, that a slow stop shows up on later status calls, and that handle ownership is scoped to the NAS user. These are exactly the behavioral traits an agent needs and none of them are recoverable from readOnlyHint=false / destructiveHint=true alone.

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?

Front-loaded with the purpose, then handle-present vs handle-absent behavior, then the polling caveat — a sensible order with little waste. Some sentences are dense and slightly run-on ("a stop DSM is slow to confirm shows on later status calls" reads awkwardly), but no content is filler.

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

Completeness5/5

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

For a 2-parameter tool with no output schema, the description covers what comes back (progress or final result), the failure/limitation modes (partial completion, slow confirmation, cross-user handles), and usage cadence. Nothing an agent needs to call this correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: `status` returns progress or the final result if DSM still has it, `stop` is destructive-but-partial, and omitting `handle` switches the tool into list mode. That last point is a mode switch the schema only hints at.

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 opens with a specific verb+object: follow up on a delete, copy, move, or restore that was handed off to the NAS. It also frames the role relative to the initiating tools (those return a handle such as `delete:FileStation_…`), so an agent can tell this follow-up tool apart from the copy/delete siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives conditional guidance for both branches: with a handle use `status`/`stop`, without one it lists the user's running operations. It also states when the list mode matters (new chat, after restart), an exclusion (handles only work for the same NAS user), and an anti-pattern (don't poll in a loop; check when the user asks or before a dependent action).

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