Skip to main content
Glama

files_move

Move or rename a knowledge-base file within its owning project or global knowledge directory, or change it between dictionary and note trees while preserving its subfolder path.

Instructions

Move/rename a KB file (project-repo files are refused). Destination 'new_path' must be absolute and resolve INSIDE the file's owning project or global knowledge directory. Cross-project moves are rejected. Alternative: pass kind='dictionary'|'note' (with no new_path) to move a KB file into the mirrored path in the other class tree, subfolder path is preserved. Operates locally with no auth or limits.

Input Schema

NameRequiredDescriptionDefault
kindNoMove the file to the mirrored path in the other class tree. Subfolder path is preserved: knowledge/dictionary/slt/ids.md ↔ knowledge/notes/slt/ids.md. Ignored if `new_path` is also provided.
file_idYesFile ID
new_pathNoAbsolute destination path

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv6.1.2

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses authentication ('no auth or limits'), the local operation scope, and the path-resolution constraints. It does not state overwrite behavior or what happens to an existing file at the destination, leaving one behavioral gap for a mutation tool.

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-loads the core purpose, then layers constraints and the alternative mode in a compact four-sentence block. Dense but every sentence adds actionable information; only the parenthetical examples could be trimmed.

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?

No output schema or annotations exist, and the description covers constraints, both calling modes, and auth/limit behavior sufficiently for correct invocation. Only destination-collision/error semantics are unaddressed.

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 description coverage is 100% so baseline is 3, but the description adds meaning beyond the schema by specifying that new_path 'must be absolute and resolve INSIDE the file's owning project or global knowledge directory' and clarifying the kind-mode semantics (subfolder path preserved).

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?

States a specific verb+resource ('Move/rename a KB file') and immediately scopes it with the constraint that project-repo files are refused. An agent can distinguish this from files_create/files_update/files_delete without opening any schema.

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?

Gives explicit when-not conditions (project-repo files refused, cross-project moves rejected) and an explicit alternative calling mode (pass kind='dictionary'|'note' with no new_path to move into the mirrored class tree). The when-to-use and when-not are both spelled out.

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