Skip to main content
Glama
ragflow-kb-mcp
by feci

ragflow_move_files

Move files or folders to a destination folder in RAGFlow knowledge bases, or rename a single item, enabling organized document management.

Instructions

Move files or folders to another folder, rename one item, or both.

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": {
      "file_ids": "<file_ids>"
    },
    "name": "ragflow_move_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idsYesFiles or folders to move or rename
new_nameNoNew name for a single item; the file extension cannot change
dest_folder_idNoDestination folder; omit to rename in place

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds that a rename applies to a single item, which is useful scoping beyond the annotations, but it says nothing about failure modes (name collisions, cross-dataset moves, missing destination) or whether an overwrite can occur.

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?

A single front-loaded sentence with no filler; the three modes are packed into one clause without repetition of schema content.

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 annotations covering safety, an output schema handling return values, and full parameter documentation, the description supplies the essential operation modes and is close to complete. The remaining gap is that it doesn't mention permission or destination validity requirements for a mutation tool.

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%, and the schema already explains file_ids, new_name (single item, extension fixed), and dest_folder_id (omit to rename in place). The description only restates that mapping at a high level, adding no syntax or constraint detail beyond the schema, so 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?

The description states a specific verb (move/rename) and resource (files or folders) and enumerates the three operating modes: move, rename, or both. It is unambiguous on its own, though it does not name a sibling for contrast (none of the listed siblings duplicates this capability, so the omission is minor).

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?

"Move files or folders to another folder, rename one item, or both" implies when each mode applies, but it does not state prerequisites (e.g., ownership/permission, same-dataset constraints) or when to prefer it over the file-management siblings like ragflow_update_document or ragflow_create_folder. Usage is inferable but not spelled out.

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

Deploy Server

Other Tools