Skip to main content
Glama

save_folder

Destructive

Create folders or update existing ones by renaming or moving them while enforcing category boundaries and queuing affected documents for reindexing.

Instructions

Create or update a folder. action=update can rename or move an existing folder; the API enforces category boundaries and queues affected documents for reindexing.

Input Schema

NameRequiredDescriptionDefault
idNoUUID returned by the corresponding list or read operation.
nameNoNon-empty human-readable name or title.
orderNoNew non-negative display order.
actionNo
parentIdNoOptional parent folder UUID; null selects the root.
categoryIdNoOptional category UUID; null clears the explicit category.
workspaceIdNoWorkspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.1.1
    • changedInput schema / properties / categoryId / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "description": "UUID returned by the corresponding list or read operation.",
      -        "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"
      -      }
      -    ],
      -    "description": "Optional category UUID; null clears the explicit category."
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "description": "UUID returned by the corresponding list or read operation.",
      -        "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"
      -      }
      -    ],
      -    "description": "Optional category UUID; null clears the explicit category."
      -  }
      -]New value: +[
      +  {
      +    "description": "UUID returned by the corresponding list or read operation.",
      +    "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"
      +  }
      +]
    • addedInput schema / properties / categoryId / description
      Added value: +"Optional category UUID; null clears the explicit category."
    • removedInput schema / properties / name / anyOf
      Removed value: -[
      -  {
      -    "description": "Non-empty human-readable name or title.",
      -    "maxLength": 255,
      -    "minLength": 1,
      -    "type": "string"
      -  },
      -  {
      -    "description": "Non-empty human-readable name or title.",
      -    "maxLength": 255,
      -    "minLength": 1,
      -    "type": "string"
      -  }
      -]
    • addedInput schema / properties / name / description
      Added value: +"Non-empty human-readable name or title."
    • addedInput schema / properties / name / maxLength
      Added value: +255
    • addedInput schema / properties / name / minLength
      Added value: +1
    • addedInput schema / properties / name / type
      Added value: +"string"
    • changedInput schema / properties / parentId / anyOf
      Previous value: -[
      -  {
      -    "anyOf": [
      -      {
      -        "description": "UUID returned by the corresponding list or read operation.",
      -        "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"
      -      }
      -    ],
      -    "description": "Optional parent folder UUID; null selects the root."
      -  },
      -  {
      -    "anyOf": [
      -      {
      -        "description": "UUID returned by the corresponding list or read operation.",
      -        "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"
      -      }
      -    ],
      -    "description": "Optional parent folder UUID; null selects the root."
      -  }
      -]New value: +[
      +  {
      +    "description": "UUID returned by the corresponding list or read operation.",
      +    "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"
      +  }
      +]
    • addedInput schema / properties / parentId / description
      Added value: +"Optional parent folder UUID; null selects the root."
  2. Changed16 schema fields changedv2.0.4
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "allOf": [
      -      {
      -        "not": {
      -          "anyOf": [
      -            {
      -              "required": [
      -                "id"
      -              ]
      -            },
      -            {
      -              "required": [
      -                "order"
      -              ]
      -            }
      -          ]
      -        }
      -      }
      -    ],
      -    "properties": {
      -      "action": {
      -        "const": "create",
      -        "description": "Select the create operation explicitly.",
      -        "type": "string"
      -      },
      -      "categoryId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional category UUID; null clears the explicit category."
      -      },
      -      "name": {
      -        "description": "Non-empty human-readable name or title.",
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "parentId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional parent folder UUID; null selects the root."
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "properties": {
      -      "action": {
      -        "const": "update",
      -        "description": "Select the update operation explicitly.",
      -        "type": "string"
      -      },
      -      "categoryId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional category UUID; null clears the explicit category."
      -      },
      -      "id": {
      -        "description": "UUID returned by the corresponding list or read operation.",
      -        "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"
      -      },
      -      "name": {
      -        "description": "Non-empty human-readable name or title.",
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "order": {
      -        "description": "New non-negative display order.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "parentId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional parent folder UUID; null selects the root."
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "allOf": [
      +      {
      +        "not": {
      +          "anyOf": [
      +            {
      +              "required": [
      +                "id"
      +              ]
      +            },
      +            {
      +              "required": [
      +                "order"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    ],
      +    "properties": {
      +      "action": {
      +        "const": "create",
      +        "description": "Select the create operation explicitly.",
      +        "type": "string"
      +      },
      +      "categoryId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional category UUID; null clears the explicit category."
      +      },
      +      "name": {
      +        "description": "Non-empty human-readable name or title.",
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "parentId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional parent folder UUID; null selects the root."
      +      },
      +      "workspaceId": {
      +        "$schema": "https://json-schema.org/draft/2020-12/schema",
      +        "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
      +        "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"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "update",
      +        "description": "Select the update operation explicitly.",
      +        "type": "string"
      +      },
      +      "categoryId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional category UUID; null clears the explicit category."
      +      },
      +      "id": {
      +        "description": "UUID returned by the corresponding list or read operation.",
      +        "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"
      +      },
      +      "name": {
      +        "description": "Non-empty human-readable name or title.",
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "order": {
      +        "description": "New non-negative display order.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "parentId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional parent folder UUID; null selects the root."
      +      },
      +      "workspaceId": {
      +        "$schema": "https://json-schema.org/draft/2020-12/schema",
      +        "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
      +        "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"
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties / workspaceId
      Added value: +{
      +  "$schema": "https://json-schema.org/draft/2020-12/schema",
      +  "description": "Workspace UUID from list_workspace_structure(kind=workspaces). Required for ambiguous creates and structure changes; omit to search all granted scopes.",
      +  "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"
      +}
    • removedOutput schema / $defs / __schema0 / properties / categoryId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema0 / properties / categoryId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / $defs / __schema0 / properties / documents / items / properties / categoryId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema0 / properties / documents / items / properties / categoryId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / $defs / __schema0 / properties / documents / items / properties / categoryName / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema0 / properties / documents / items / properties / categoryName / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / $defs / __schema0 / properties / documents / items / properties / folderId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema0 / properties / documents / items / properties / folderId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / $defs / __schema0 / properties / documents / items / properties / folderName / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema0 / properties / documents / items / properties / folderName / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / $defs / __schema0 / properties / documents / items / properties / tags / items / properties / color / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema0 / properties / documents / items / properties / tags / items / properties / color / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / $defs / __schema0 / properties / parentId / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / $defs / __schema0 / properties / parentId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Changed3 schema fields changedv1.0.3
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "create",
      -        "description": "Select the create operation explicitly.",
      -        "type": "string"
      -      },
      -      "categoryId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional category UUID; null clears the explicit category."
      -      },
      -      "name": {
      -        "description": "Non-empty human-readable name or title.",
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "parentId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional parent folder UUID; null selects the root."
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "action": {
      -        "const": "update",
      -        "description": "Select the update operation explicitly.",
      -        "type": "string"
      -      },
      -      "categoryId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional category UUID; null clears the explicit category."
      -      },
      -      "id": {
      -        "description": "UUID returned by the corresponding list or read operation.",
      -        "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"
      -      },
      -      "name": {
      -        "description": "Non-empty human-readable name or title.",
      -        "maxLength": 255,
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "order": {
      -        "description": "New non-negative display order.",
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "parentId": {
      -        "anyOf": [
      -          {
      -            "description": "UUID returned by the corresponding list or read operation.",
      -            "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"
      -          }
      -        ],
      -        "description": "Optional parent folder UUID; null selects the root."
      -      }
      -    },
      -    "required": [
      -      "action",
      -      "id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "allOf": [
      +      {
      +        "not": {
      +          "anyOf": [
      +            {
      +              "required": [
      +                "id"
      +              ]
      +            },
      +            {
      +              "required": [
      +                "order"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    ],
      +    "properties": {
      +      "action": {
      +        "const": "create",
      +        "description": "Select the create operation explicitly.",
      +        "type": "string"
      +      },
      +      "categoryId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional category UUID; null clears the explicit category."
      +      },
      +      "name": {
      +        "description": "Non-empty human-readable name or title.",
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "parentId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional parent folder UUID; null selects the root."
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "name"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "action": {
      +        "const": "update",
      +        "description": "Select the update operation explicitly.",
      +        "type": "string"
      +      },
      +      "categoryId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional category UUID; null clears the explicit category."
      +      },
      +      "id": {
      +        "description": "UUID returned by the corresponding list or read operation.",
      +        "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"
      +      },
      +      "name": {
      +        "description": "Non-empty human-readable name or title.",
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "order": {
      +        "description": "New non-negative display order.",
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "parentId": {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional parent folder UUID; null selects the root."
      +      }
      +    },
      +    "required": [
      +      "action",
      +      "id"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties
      Added value: +{
      +  "action": {
      +    "anyOf": [
      +      {
      +        "const": "create",
      +        "description": "Select the create operation explicitly.",
      +        "type": "string"
      +      },
      +      {
      +        "const": "update",
      +        "description": "Select the update operation explicitly.",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "categoryId": {
      +    "anyOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional category UUID; null clears the explicit category."
      +      },
      +      {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional category UUID; null clears the explicit category."
      +      }
      +    ]
      +  },
      +  "id": {
      +    "description": "UUID returned by the corresponding list or read operation.",
      +    "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"
      +  },
      +  "name": {
      +    "anyOf": [
      +      {
      +        "description": "Non-empty human-readable name or title.",
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      {
      +        "description": "Non-empty human-readable name or title.",
      +        "maxLength": 255,
      +        "minLength": 1,
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "order": {
      +    "description": "New non-negative display order.",
      +    "maximum": 9007199254740991,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "parentId": {
      +    "anyOf": [
      +      {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional parent folder UUID; null selects the root."
      +      },
      +      {
      +        "anyOf": [
      +          {
      +            "description": "UUID returned by the corresponding list or read operation.",
      +            "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"
      +          }
      +        ],
      +        "description": "Optional parent folder UUID; null selects the root."
      +      }
      +    ]
      +  }
      +}
  4. Addedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=false, but the description adds genuinely new behavior: the API enforces category boundaries and queues affected documents for reindexing. It does not disclose what specifically is destroyed or what permissions the category-boundary rule requires.

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?

Two tight sentences: the core purpose is front-loaded, then the update branch, then the side effects. No filler and nothing repeated from the schema.

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?

For a destructive, non-idempotent mutation with a rich oneOf schema and an output schema, the description covers purpose, the create/update split, and the reindexing side effect. The main remaining gap is permission/prerequisite context for the category-boundary enforcement and what a failed move does.

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 high (86%) and every property carries its own description, so the schema does the heavy lifting for parentId, categoryId, order, and workspaceId. The description only adds the category-boundary constraint, not per-parameter format or requiredness context.

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+resource ("Create or update a folder") and immediately clarifies that the update branch covers rename or move. The folder entity cleanly separates it from siblings like save_category, save_tag, save_document, and delete_folder, though no sibling is named explicitly.

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?

"action=update can rename or move an existing folder" gives clear context for choosing between the tool's two branches, which is the main routing decision an agent faces. It stops short of stating when not to use it or naming an alternative tool for cross-workspace or trash scenarios.

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