Skip to main content
Glama

kb_move

Move or rename a document (a git commit with your reason; it can always be traced back). Use it to reorganise folders or to archive outdated pages into archive/. Fails if the destination exists. The destination follows the same rule as kb_write: all folders except repos/, and no rule files at the repository root. TEAM.md can only have its content edited, not moved.

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": {
      "from": "<from>",
      "to": "<to>",
      "message": "<message>"
    },
    "name": "kb_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesNew path
fromYesCurrent path
messageYesWhy it is being moved (required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the operation is recorded as a git commit with the supplied reason and is traceable, that it fails when the destination already exists (consistent with idempotentHint=false and destructiveHint=false), and that destination paths are constrained to all folders except repos/ with no rule files at the repository root. The TEAM.md exception is an unusual edge case that an agent could not infer from any structured field.

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 action and mechanism in the first sentence, then use cases, then failure and path constraints. Dense but nearly every clause carries new information; the parenthetical about traceability and the kb_write cross-reference make it slightly heavier than it needs to be, but nothing is filler.

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?

Covers the failure mode, path restrictions, and the TEAM.md special case for a 3-parameter mutation tool with no output schema. The only gap is that it says nothing about what a successful move returns (new path, commit reference), which matters somewhat given no output schema is supplied to describe it.

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 genuine meaning: it explains that 'message' is the recorded reason for the move, and it constrains the 'to' parameter with rules inherited from kb_write plus the repos/ and rule-file exclusions. That is more than the schema's bare 'New path' / 'Current path' labels provide.

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 pair and resource ('Move or rename a document') and immediately clarifies the underlying mechanism (a git commit with a reason). It is clearly separable from kb_write (whose path rules it references) and from kb_delete, since the commit/traceability note signals a reversible, recorded operation rather than removal.

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

Usage Guidelines4/5

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

Gives concrete use cases – reorganising folders and archiving outdated pages into archive/ – which is real when-to-use guidance. It also implies the alternative for TEAM.md (edit content instead of moving), but never states explicit exclusions such as 'use kb_write to create or overwrite at a new path'.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources