Skip to main content
Glama

Move artifacts or a folder into workspace

workspace_adopt
DestructiveIdempotent

Move eligible standalone artifacts of yours (artifactIds, optionally into destinationFolderId) or a personal folder with its files (folder: its id or slug) into a workspace. Everyone in the workspace then sees them, with every version they keep. The move is atomic and does not copy content. A folder whose slug the workspace already holds (a folder in its trash included) is refused FOLDER_EXISTS (STATE_CONFLICT, details.field folder): rename one of them first (folder_update newSlug).

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": {
      "id": "<id>"
    },
    "name": "workspace_adopt"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe workspace: its id or its slug.
whyNoRequired for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters.
folderNoA personal folder to move in with its files: its id, or its slug. Not with artifactIds.
artifactIdsNoStandalone artifacts of yours to move in (id, alias in any form, or page URL; at most 500, each once). Not with folder.
destinationFolderIdNoWith artifactIds: the workspace folder to file them in (its id, or its slug in this workspace); null or omitted files them at the root.

Output Schema

NameRequiredDescriptionDefault
folderIdYes
artifactIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / destinationFolderId / anyOf
      Previous value: -[
      -  {
      -    "format": "uuid",
      -    "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "The folder: its id (any kind), or its slug: in workspaceId when given, else in team, else one of your personal folders.",
      +    "maxLength": 200,
      +    "minLength": 1,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / destinationFolderId / description
      Previous value: -"With artifactIds: the workspace folder to file them in (its id); null or omitted files them at the root."New value: +"With artifactIds: the workspace folder to file them in (its id, or its slug in this workspace); null or omitted files them at the root."
    • changedInput schema / properties / why / description
      Previous value: -"Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters."New value: +"Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters."
  2. Changed3 schema fields changed
    • addedInput schema / properties / id
      Added value: +{
      +  "description": "The workspace: its id or its slug.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / properties / workspaceId
      Removed value: -{
      -  "description": "The workspace: its id or its slug.",
      -  "maxLength": 64,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "workspaceId"
      -]New value: +[
      +  "id"
      +]
  3. Changed1 schema field changed
    • removedInput schema / properties / audience
      Removed value: -{
      -  "description": "internal (the default for internal members) or shared (the only choice for external editors).",
      -  "enum": [
      -    "internal",
      -    "shared"
      -  ],
      -  "type": "string"
      -}
  4. Changed5 schema fields changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"The workspace id (UUID)."New value: +"The workspace: its id or its slug."
    • removedInput schema / properties / workspaceId / format
      Removed value: -"uuid"
    • addedInput schema / properties / workspaceId / maxLength
      Added value: +64
    • addedInput schema / properties / workspaceId / minLength
      Added value: +1
    • removedInput schema / properties / workspaceId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  5. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations (destructiveHint=true, idempotentHint=true) by disclosing that the move is atomic, that no content is copied, and that workspace members immediately see the artifacts with every retained version. It also names the concrete failure mode with error code, status, and field (FOLDER_EXISTS / STATE_CONFLICT / details.field folder), including the trash-collision edge case.

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?

Three dense sentences, front-loaded with the capability before the conflict caveat, and no filler. The final sentence is long but each clause (collision cause, error signal, remedy) carries operational weight. Slightly heavier than needed for a reader who only needs the happy path.

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, atomic, multi-mode move operation, the definition covers scope, atomicity, visibility consequences, mutual exclusivity, and the known conflict path. With an output schema present and annotations declaring the safety profile, nothing an agent needs to invoke it correctly is absent.

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

Parameters3/5

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

Schema coverage is 100%, so id, why, folder, artifactIds, and destinationFolderId are already fully documented in the schema, including mutual exclusivity and the null-means-root default. The description adds only the undefined qualifier 'eligible', which gestures at a constraint without explaining it. Baseline 3 is appropriate when the schema carries the semantics.

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 (move) and two distinct resources (standalone artifacts, or a personal folder with its files) plus the target (a workspace). The two mutually exclusive modes are spelled out, so an agent knows exactly what the tool does. It does not differentiate itself from the sibling artifact_move, which is a nearby capability an agent might confuse it with.

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 clear selection logic: use artifactIds for loose artifacts, folder for a whole personal folder, and the schema-backed 'Not with' constraints make the modes exclusive. It also prescribes the recovery path when a slug collision occurs (rename via folder_update newSlug). Missing is any statement of when to prefer this over artifact_move or how eligibility ('eligible standalone artifacts') is determined.

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.