Skip to main content
Glama
admin0330

KnowledgeBase MCP

by admin0330

kb_move_file

Moves a file into a category directory and optionally renames it, updating the search index in place so no reindex is needed.

Instructions

Move (and optionally rename) a file into a category directory.

The search index is updated in place — no reindex needed afterwards.

:param src_rel: Current path, e.g. _Inbox/report.pdf. :param dest_dir_rel: Target directory, e.g. 01_Documents. :param new_name: Optional new filename; keeps the original when empty.

Input Schema

NameRequiredDescriptionDefault
src_relYes
new_nameNo
dest_dir_relYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It usefully discloses that "the search index is updated in place — no reindex needed afterwards," but it omits important mutation behavior such as overwrite/collision handling, source deletion semantics, required permissions, and failure modes.

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 purpose is front-loaded in the first sentence, followed by a relevant index-update note and compact parameter explanations. Every line adds useful information with no filler.

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?

An output schema exists, so return-value explanation is unnecessary. However, for a mutation tool with no annotations and a sibling kb_rename_file, the description lacks selection guidance and collision/overwrite behavior, leaving meaningful gaps for safe invocation.

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 0%, so the description must compensate, and it does explain all three parameters. It gives path examples for src_rel and dest_dir_rel and clarifies that new_name is optional and preserves the original filename when empty.

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-plus-resource: "Move (and optionally rename) a file into a category directory." That is clear enough to identify the operation, but it does not explicitly distinguish the tool from the sibling kb_rename_file despite overlapping rename functionality.

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?

The description implies that this tool is for moving files into category directories, but it gives no explicit when-to-use guidance, prerequisites, or exclusions. It never says when to use kb_move_file versus kb_rename_file, kb_create_directory, or other siblings.

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