Skip to main content
Glama

Move Artifact To Another Workspace

workspace-move_artifact
DestructiveIdempotent

Re-file an EXISTING artifact under a different workspace of the same team (never across teams). The content stays put: the same git repository, sessionId, URL, history and live deployment. What changes is where it is listed and who reaches it — the destination's access decides that from here on, handing the artifact to the people who reach that workspace and taking it from the rest. Say what a move will change before making one a human did not ask for.

You need write on the artifact AND write in the destination. Moving an artifact where it already is succeeds and leaves everything as it was.

Returns: { success: true, sessionId, workspaceId, workspaceName, nextSteps }.

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": {
      "sessionId": "<sessionId>",
      "workspaceId": "<workspaceId>"
    },
    "name": "workspace-move_artifact"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionIdYesThe artifact to move, from workspace-list_artifacts or artifact-create.
workspaceIdYesWhere to move it — an id from workspace-list_workspaces, in the same team. Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds real substance: the repository, sessionId, URL, history and live deployment are preserved, while listing and access rights shift to the destination workspace's audience. It also spells out the permission prerequisites and confirms the idempotent no-op, all of which goes meaningfully beyond the structured hints.

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 definition is front-loaded with the core action and constraint, then layers what is preserved versus what changes, permissions, edge case, and return shape. Dense but each block carries information; the advisory sentence about telling a human what a move changes is slightly editorial but still serves the calling decision.

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 two-parameter destructive mutation with no output schema, the description covers everything needed: same-team restriction, dual write permissions, what is preserved, what access effects follow, idempotent no-op behavior, and an inline summary of the returned fields. Nothing an agent needs to call it safely is missing.

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 description coverage is 100% and both parameters already carry their own descriptions and sourcing hints (workspace-list_artifacts, workspace-list_workspaces). The description adds only the constraint that the destination must be in the same team, which is scope context rather than parameter semantics, so the baseline of 3 applies.

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?

The first sentence names a specific verb and resource ('Re-file an EXISTING artifact under a different workspace') and pins the scope with an explicit exclusion ('never across teams'). It also implicitly separates the tool from artifact-duplicate by stating 'The content stays put', so an agent can distinguish it from copy-style siblings without opening a schema.

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?

Usage context is clear: use it to re-file an existing artifact within the same team, requiring `write` on both the artifact and the destination. The no-op case ('Moving an artifact where it already is succeeds') and the caution to confirm before unrequested moves give concrete when-to guidance. It stops short of naming an alternative sibling such as artifact-duplicate for copy semantics, which keeps it 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.