Skip to main content
Glama

Move document

move_document

Relocate a document to another collection or under a different parent; omit the parent ID to place it at the collection's top level.

Instructions

Move a document to another collection and/or under a different parent document. Omit parentDocumentId to move it to the top level of the collection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesDocument id
indexNoPosition among siblings
collectionIdNoTarget collection id
parentDocumentIdNoTarget parent document id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

B3.4/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states the top-level default when parentDocumentId is omitted, but says nothing about required permissions, what happens to child documents or sibling ordering, or whether the move is reversible.

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?

Two sentences, zero filler, with the primary action front-loaded and the defaulting rule immediately after. Every clause earns its place.

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?

For a 4-parameter mutation tool with no annotations and no output schema, the description is adequate on purpose and the parentDocumentId default but silent on permissions, side effects, and index behavior. Enough to call it, not enough to call it confidently.

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 earns above that by explaining the semantic effect of omitting parentDocumentId (move to collection top level). It does not add comparable meaning for collectionId or index, so it stops short of a 5.

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 names a specific verb and resource ('Move a document') and further narrows scope to relocating it across collections and/or parents. This clearly separates it from list/get/archive siblings, though it never explicitly contrasts with update_document, which is the nearest conceptual neighbor.

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?

Usage context is implied by the scope statement (relocate within a collection hierarchy), and one behavior is spelled out ('Omit parentDocumentId to move it to the top level'). However, there is no explicit guidance on when to reach for this tool versus update_document or archive_document, nor any prerequisites.

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