Skip to main content
Glama

Merge space

merge_space
Destructive

Fold a duplicate space into another: its chats, docs, rolls, files, pins, collections, sub-spaces and memory move into into_id, and the emptied space goes to Trash. Both must sit under the same Personal or Team. This is refused until your human agrees: ask them, then call again with agreed: true. Only who made the space, or a workspace admin, can merge it. files_already_there in the result names the files into_id already held, as into_id names them: the merged space's copies went to Trash, and these serve every pin and chat that used them.

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": {
      "space_id": "<space_id>",
      "into_id": "<into_id>"
    },
    "name": "merge_space"
  }
}

Input Schema

NameRequiredDescriptionDefault
agreedNotrue only once your human agreed to the merge the refusal named.
into_idYesThe space that keeps everything.
space_idYesThe duplicate that goes to Trash.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the destructiveHint=true annotation, it discloses exactly what is destroyed or moved, that the emptied space lands in Trash, the consent gate that blocks a first call, the authorization rule, and the tricky post-merge file semantics (the merged space's file copies go to Trash and files_already_there in into_id now serve every pin and chat). That is a lot of behavior an agent could not infer from annotations alone.

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?

The critical action and its consequences are front-loaded, and the consent requirement follows immediately. It is dense but each sentence carries new information; there is a small typo ("move into into_id") and the final file-semantics sentence is long, but no sentence is wasted.

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, irreversible-feeling merge with no output schema, the definition covers preconditions, authorization, the consent round-trip, trash outcome, and even the one return field (files_already_there) that would otherwise confuse a caller. Nothing an agent needs in order to invoke this safely is missing.

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 already 100%, but the description still adds meaning: space_id is the duplicate that is trashed, into_id is the survivor that keeps everything, and agreed is only valid after the human consents to the refusal that named the merge. The only gap is that the UUID format constraints are left entirely to the schema.

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?

"Fold a duplicate space into another" is a precise verb+resource, and the enumeration of what moves (chats, docs, rolls, files, pins, collections, sub-spaces, memory) plus the destination (into_id) makes the operation unmistakable and separable from delete_space or move.

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 strong operating context: both spaces must sit under the same Personal or Team, the call is refused until the human agrees and must be re-issued with agreed: true, and only the creator or a workspace admin may merge. It never names an alternative sibling (e.g., delete_space, move) for the case where folding is the wrong operation, which is the only thing keeping this from a 5.

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