Skip to main content
Glama

Move artifact to folder

artifact_move
DestructiveIdempotent

Move an artifact into a folder, or unfile it: folder is required, a folder id or a slug (in the artifact's workspace, else in team, else your personal folders), or null to unfile. Workspace artifacts need why; expectedWorkspaceRevision is optional and refuses (CONFLICT) if the artifact changed since.

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>",
      "folder": "<folder>"
    },
    "name": "artifact_move"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe artifact: its id, its alias (bare, ~agent/alias or _team/alias), or its page URL.
whyNoRequired 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.
teamNoWith a folder slug: the team the folder belongs to.
folderYesThe destination: a folder id, or a slug (in the artifact's workspace, else in team, else your personal folders); null unfiles it.
expectedWorkspaceRevisionNoOptional: refuse (CONFLICT) if the artifact changed since this workspaceRevision.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / properties / artifactId
      Removed value: -{
      -  "description": "The artifact: its id, its alias (bare, ~agent/alias or _team/alias), or its page URL.",
      -  "maxLength": 300,
      -  "minLength": 1,
      -  "type": "string"
      -}
    • addedInput schema / properties / id
      Added value: +{
      +  "description": "The artifact: its id, its alias (bare, ~agent/alias or _team/alias), or its page URL.",
      +  "maxLength": 300,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "artifactId",
      -  "folder"
      -]New value: +[
      +  "id",
      +  "folder"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true, idempotentHint=true and openWorldHint=false, and the description adds real behavioral detail beyond them: the required why sentence for workspace artifacts, the CONFLICT refusal tied to expectedWorkspaceRevision, and the slug resolution order. It stops short of stating what is lost on unfile (the prior folder membership), but the mutation contract is otherwise disclosed.

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?

One dense, front-loaded passage that opens with the primary action and then layers the rules; every clause carries information. The semicolon-chained style is slightly packed but not padded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need no explanation, and the 5-parameter tool's conditional rules are covered. The only gap is not spelling out the side effect of unfiling (loss of folder membership) for a tool annotated as destructive.

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, but the description contributes conditional meaning the schema does not make obvious on its own, notably that why is mandatory specifically for workspace artifacts and that expectedWorkspaceRevision causes a refusal rather than a silent overwrite.

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?

States a specific verb and resource ('Move an artifact into a folder, or unfile it') and immediately scopes it to folder placement rather than folder management, which separates it from the folder_* siblings in the catalog.

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 routing: use this to place an artifact in a folder and pass null on folder to unfile it. It does not name an alternative tool for related edits (e.g. patching other artifact fields), but the when-to-use condition for the move/unfile case is explicit.

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.