Skip to main content
Glama

Move documents to a folder

tp_move_documents
DestructiveIdempotent

Moves documents into a folder, or out of all folders with folder: null. Use it when the user asks to file, move or organise documents in a folder, or to take them out of one. ids are document ids from tp_list_documents; folder is a folder id or path and must already exist. When the folder is shared, or inside a shared folder, its readers can read the moved documents, so confirm: true is required; without it nothing moves and the response says who would gain access. Moving documents out of a shared folder needs no confirmation.

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": {
      "ids": "<ids>",
      "folder": "<folder>"
    },
    "name": "tp_move_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYesIds of the documents to move, from tp_list_documents.
folderYesDestination folder: an id, or a path from the top. null or "" takes the documents out of all folders.
confirmNoRequired when the destination folder is shared or inside a shared folder. Set true after the user has agreed that its readers can read these documents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing the actual access-control consequence: readers of a shared destination folder gain read access to the moved documents. It describes the safety gate precisely (without `confirm: true` nothing moves, and the response reports who would gain access) and carves out the exception where confirmation is unnecessary, which is exactly the kind of side-effect disclosure the destructiveHint alone cannot convey.

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 core action and the null-folder escape hatch are front-loaded, then the when-to-use sentence, then the consent rule. Every sentence carries either routing, validation, or side-effect information, with no filler or repetition of the schema.

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 destructive, open-world mutation with no output schema, the definition supplies the missing pieces: required preconditions on the destination folder, the consent workflow, what the blocked response contains, and the access-change consequence. An agent has everything needed to call it correctly and to explain the outcome to a user.

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, and the description adds real meaning on top: `ids` must come from tp_list_documents, and `folder` must already exist rather than being created on the fly. It also frames `confirm` as a user-consent action rather than a plain boolean, though it does not restate the `folder` path-from-top semantics the schema already covers.

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 and resource plus both directions of the operation: moving documents into a folder, or out of all folders via `folder: null`. The null-folder case is a distinct behavior that an agent could not infer from the name, and it separates this tool from siblings that only create or rename folders.

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?

Explicit trigger language ('when the user asks to file, move or organise documents in a folder, or to take them out of one') tells the agent exactly which requests belong here. It also gives a conditional rule for the confirmation gate and notes the no-confirmation case for removals, but it never names an alternative tool or states when not to use this one.

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.