Skip to main content
Glama
mcp-local-reference

mcp-local-reference

reparent_collection

Move a collection under a different parent, including the library root, while blocking cycles that would place a collection inside itself or a descendant.

Instructions

Move a collection under a different parent.

    Pass new_parent_key=None to move to the library root.
    Refuses cycles (re-parenting a collection under itself or one
    of its descendants).
    

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": {
      "collection_key": "<collection_key>",
      "new_parent_key": "<new_parent_key>"
    },
    "name": "reparent_collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
collection_keyYes
new_parent_keyYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses the cycle-refusal rule and the root-move sentinel, but omits critical mutation semantics: the schema shows dry_run defaulting to true, meaning the call does not actually move anything unless the agent overrides it, and the description never says so. It also does not say whether descendant collections move with the parent, nor what permissions are required.

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?

Front-loaded with the core action, then two short indented clauses for the root sentinel and the cycle guard. Every sentence earns its place and nothing is padded.

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?

The output schema excuses it from explaining return values, and has_nested_objects is false, so the shape is simple. Still, for a destructive-in-effect hierarchy mutation with zero annotations, the missing dry_run explanation and the unknown subtree-move behavior leave an agent able to call it incorrectly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 3 parameters, so the description must compensate. It does explain new_parent_key's null semantics, but says nothing about collection_key or about dry_run, whose default of true silently turns a move into a no-op — exactly the kind of parameter meaning an agent needs before calling.

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?

States a specific verb and resource ('Move a collection under a different parent'), which inherently separates it from rename_collection, delete_collection, and create_collection. It never names a sibling or states a routing condition explicitly, which is the only thing keeping it below a 5.

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 is implied by the operation itself and one concrete case is spelled out ('Pass new_parent_key=None to move to the library root'), which is genuinely useful. There is no explicit when-not guidance beyond the cycle-refusal rule, and no mention of prerequisites or of how this relates to create_collection / add_items_to_collection flows.

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