Skip to main content
Glama

list_workspace_structure

Read-onlyIdempotent

Discover permitted workspaces, root folders, categories, and tags, then return workspace and parent IDs needed to scope subsequent DocsMint operations.

Instructions

Discover permitted spaces with kind=workspaces, including empty spaces; use returned workspaceId for scoped operations. List folders, categories, or tags; set kind=folders for root folders or children of parentId. Unselected reads cover all granted scopes when supported by the host.

Input Schema

NameRequiredDescriptionDefault
kindNo
parentIdNoUUID returned by the corresponding list or read operation.
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. Changed18 schema fields changedv2.0.4
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "kind": {
      -        "const": "folders",
      -        "description": "Select the folders operation explicitly.",
      -        "type": "string"
      -      },
      -      "parentId": {
      -        "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"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "allOf": [
      -      {
      -        "not": {
      -          "anyOf": [
      -            {
      -              "required": [
      -                "parentId"
      -              ]
      -            }
      -          ]
      -        }
      -      }
      -    ],
      -    "properties": {
      -      "kind": {
      -        "const": "categories",
      -        "description": "Select the categories operation explicitly.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "allOf": [
      -      {
      -        "not": {
      -          "anyOf": [
      -            {
      -              "required": [
      -                "parentId"
      -              ]
      -            }
      -          ]
      -        }
      -      }
      -    ],
      -    "properties": {
      -      "kind": {
      -        "const": "tags",
      -        "description": "Select the tags operation explicitly.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "allOf": [
      +      {
      +        "not": {
      +          "anyOf": [
      +            {
      +              "required": [
      +                "parentId"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    ],
      +    "properties": {
      +      "kind": {
      +        "const": "workspaces",
      +        "description": "Discover every workspace granted to this connection, including empty ones.",
      +        "type": "string"
      +      },
      +      "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": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "properties": {
      +      "kind": {
      +        "const": "folders",
      +        "description": "Select the folders operation explicitly.",
      +        "type": "string"
      +      },
      +      "parentId": {
      +        "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"
      +      },
      +      "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": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "allOf": [
      +      {
      +        "not": {
      +          "anyOf": [
      +            {
      +              "required": [
      +                "parentId"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    ],
      +    "properties": {
      +      "kind": {
      +        "const": "categories",
      +        "description": "Select the categories operation explicitly.",
      +        "type": "string"
      +      },
      +      "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": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "allOf": [
      +      {
      +        "not": {
      +          "anyOf": [
      +            {
      +              "required": [
      +                "parentId"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    ],
      +    "properties": {
      +      "kind": {
      +        "const": "tags",
      +        "description": "Select the tags operation explicitly.",
      +        "type": "string"
      +      },
      +      "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": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  }
      +]
    • changedInput schema / properties / kind / anyOf
      Previous value: -[
      -  {
      -    "const": "folders",
      -    "description": "Select the folders operation explicitly.",
      -    "type": "string"
      -  },
      -  {
      -    "const": "categories",
      -    "description": "Select the categories operation explicitly.",
      -    "type": "string"
      -  },
      -  {
      -    "const": "tags",
      -    "description": "Select the tags operation explicitly.",
      -    "type": "string"
      -  }
      -]New value: +[
      +  {
      +    "const": "workspaces",
      +    "description": "Discover every workspace granted to this connection, including empty ones.",
      +    "type": "string"
      +  },
      +  {
      +    "const": "folders",
      +    "description": "Select the folders operation explicitly.",
      +    "type": "string"
      +  },
      +  {
      +    "const": "categories",
      +    "description": "Select the categories operation explicitly.",
      +    "type": "string"
      +  },
      +  {
      +    "const": "tags",
      +    "description": "Select the tags operation explicitly.",
      +    "type": "string"
      +  }
      +]
    • 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"
      +]
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "operation": {
      -        "const": "folders",
      -        "type": "string"
      -      },
      -      "result": {
      -        "items": {
      -          "$ref": "#/$defs/__schema0"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "result"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "operation": {
      -        "const": "categories",
      -        "type": "string"
      -      },
      -      "result": {
      -        "items": {
      -          "anyOf": [
      -            {
      -              "additionalProperties": {},
      -              "properties": {
      -                "apiMode": {
      -                  "enum": [
      -                    "unavailable",
      -                    "global",
      -                    "category"
      -                  ],
      -                  "type": "string"
      -                },
      -                "apiPermissionEdit": {
      -                  "type": "boolean"
      -                },
      -                "apiPermissionRead": {
      -                  "type": "boolean"
      -                },
      -                "apiPermissionWrite": {
      -                  "type": "boolean"
      -                },
      -                "createdAt": {
      -                  "type": "string"
      -                },
      -                "documentCount": {
      -                  "type": "number"
      -                },
      -                "folderCount": {
      -                  "type": "number"
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                },
      -                "order": {
      -                  "type": "number"
      -                },
      -                "updatedAt": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "name",
      -                "order",
      -                "createdAt",
      -                "updatedAt",
      -                "apiMode",
      -                "apiPermissionRead",
      -                "apiPermissionEdit",
      -                "apiPermissionWrite"
      -              ],
      -              "type": "object"
      -            },
      -            {
      -              "additionalProperties": {},
      -              "properties": {
      -                "createdAt": {
      -                  "type": "string"
      -                },
      -                "documentCount": {
      -                  "type": "number"
      -                },
      -                "folderCount": {
      -                  "type": "number"
      -                },
      -                "id": {
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "type": "string"
      -                },
      -                "order": {
      -                  "type": "number"
      -                },
      -                "updatedAt": {
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "name",
      -                "order",
      -                "createdAt",
      -                "updatedAt"
      -              ],
      -              "type": "object"
      -            }
      -          ]
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "result"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "operation": {
      -        "const": "tags",
      -        "type": "string"
      -      },
      -      "result": {
      -        "items": {
      -          "additionalProperties": {},
      -          "properties": {
      -            "color": {
      -              "anyOf": [
      -                {
      -                  "type": "string"
      -                },
      -                {
      -                  "type": "null"
      -                }
      -              ]
      -            },
      -            "createdAt": {
      -              "type": "string"
      -            },
      -            "documentCount": {
      -              "type": "number"
      -            },
      -            "id": {
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "id",
      -            "name",
      -            "color"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "operation",
      -      "result"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "operation": {
      +        "const": "workspaces",
      +        "type": "string"
      +      },
      +      "result": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "categoryIds": {
      +              "items": {
      +                "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": "array"
      +            },
      +            "entireWorkspace": {
      +              "type": "boolean"
      +            },
      +            "id": {
      +              "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": {
      +              "type": "string"
      +            },
      +            "slug": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "slug",
      +            "entireWorkspace",
      +            "categoryIds"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "result"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "operation": {
      +        "const": "folders",
      +        "type": "string"
      +      },
      +      "result": {
      +        "items": {
      +          "$ref": "#/$defs/__schema0"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "result"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "operation": {
      +        "const": "categories",
      +        "type": "string"
      +      },
      +      "result": {
      +        "items": {
      +          "anyOf": [
      +            {
      +              "additionalProperties": {},
      +              "properties": {
      +                "apiMode": {
      +                  "enum": [
      +                    "unavailable",
      +                    "global",
      +                    "category"
      +                  ],
      +                  "type": "string"
      +                },
      +                "apiPermissionEdit": {
      +                  "type": "boolean"
      +                },
      +                "apiPermissionRead": {
      +                  "type": "boolean"
      +                },
      +                "apiPermissionWrite": {
      +                  "type": "boolean"
      +                },
      +                "createdAt": {
      +                  "type": "string"
      +                },
      +                "documentCount": {
      +                  "type": "number"
      +                },
      +                "folderCount": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "order": {
      +                  "type": "number"
      +                },
      +                "updatedAt": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "order",
      +                "createdAt",
      +                "updatedAt",
      +                "apiMode",
      +                "apiPermissionRead",
      +                "apiPermissionEdit",
      +                "apiPermissionWrite"
      +              ],
      +              "type": "object"
      +            },
      +            {
      +              "additionalProperties": {},
      +              "properties": {
      +                "createdAt": {
      +                  "type": "string"
      +                },
      +                "documentCount": {
      +                  "type": "number"
      +                },
      +                "folderCount": {
      +                  "type": "number"
      +                },
      +                "id": {
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "order": {
      +                  "type": "number"
      +                },
      +                "updatedAt": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "order",
      +                "createdAt",
      +                "updatedAt"
      +              ],
      +              "type": "object"
      +            }
      +          ]
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "result"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "operation": {
      +        "const": "tags",
      +        "type": "string"
      +      },
      +      "result": {
      +        "items": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "color": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "createdAt": {
      +              "type": "string"
      +            },
      +            "documentCount": {
      +              "type": "number"
      +            },
      +            "id": {
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "id",
      +            "name",
      +            "color"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "result"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "operation": {
      +        "type": "string"
      +      },
      +      "scopedResults": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "categoryId": {
      +              "anyOf": [
      +                {
      +                  "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"
      +                }
      +              ]
      +            },
      +            "data": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "operation": {
      +                      "const": "workspaces",
      +                      "type": "string"
      +                    },
      +                    "result": {
      +                      "items": {
      +                        "additionalProperties": false,
      +                        "properties": {
      +                          "categoryIds": {
      +                            "items": {
      +                              "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": "array"
      +                          },
      +                          "entireWorkspace": {
      +                            "type": "boolean"
      +                          },
      +                          "id": {
      +                            "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": {
      +                            "type": "string"
      +                          },
      +                          "slug": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "id",
      +                          "name",
      +                          "slug",
      +                          "entireWorkspace",
      +                          "categoryIds"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "operation",
      +                    "result"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "operation": {
      +                      "const": "folders",
      +                      "type": "string"
      +                    },
      +                    "result": {
      +                      "items": {
      +                        "$ref": "#/$defs/__schema0"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "operation",
      +                    "result"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "operation": {
      +                      "const": "categories",
      +                      "type": "string"
      +                    },
      +                    "result": {
      +                      "items": {
      +                        "anyOf": [
      +                          {
      +                            "additionalProperties": {},
      +                            "properties": {
      +                              "apiMode": {
      +                                "enum": [
      +                                  "unavailable",
      +                                  "global",
      +                                  "category"
      +                                ],
      +                                "type": "string"
      +                              },
      +                              "apiPermissionEdit": {
      +                                "type": "boolean"
      +                              },
      +                              "apiPermissionRead": {
      +                                "type": "boolean"
      +                              },
      +                              "apiPermissionWrite": {
      +                                "type": "boolean"
      +                              },
      +                              "createdAt": {
      +                                "type": "string"
      +                              },
      +                              "documentCount": {
      +                                "type": "number"
      +                              },
      +                              "folderCount": {
      +                                "type": "number"
      +                              },
      +                              "id": {
      +                                "type": "string"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              },
      +                              "order": {
      +                                "type": "number"
      +                              },
      +                              "updatedAt": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "name",
      +                              "order",
      +                              "createdAt",
      +                              "updatedAt",
      +                              "apiMode",
      +                              "apiPermissionRead",
      +                              "apiPermissionEdit",
      +                              "apiPermissionWrite"
      +                            ],
      +                            "type": "object"
      +                          },
      +                          {
      +                            "additionalProperties": {},
      +                            "properties": {
      +                              "createdAt": {
      +                                "type": "string"
      +                              },
      +                              "documentCount": {
      +                                "type": "number"
      +                              },
      +                              "folderCount": {
      +                                "type": "number"
      +                              },
      +                              "id": {
      +                                "type": "string"
      +                              },
      +                              "name": {
      +                                "type": "string"
      +                              },
      +                              "order": {
      +                                "type": "number"
      +                              },
      +                              "updatedAt": {
      +                                "type": "string"
      +                              }
      +                            },
      +                            "required": [
      +                              "id",
      +                              "name",
      +                              "order",
      +                              "createdAt",
      +                              "updatedAt"
      +                            ],
      +                            "type": "object"
      +                          }
      +                        ]
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "operation",
      +                    "result"
      +                  ],
      +                  "type": "object"
      +                },
      +                {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "operation": {
      +                      "const": "tags",
      +                      "type": "string"
      +                    },
      +                    "result": {
      +                      "items": {
      +                        "additionalProperties": {},
      +                        "properties": {
      +                          "color": {
      +                            "type": [
      +                              "string",
      +                              "null"
      +                            ]
      +                          },
      +                          "createdAt": {
      +                            "type": "string"
      +                          },
      +                          "documentCount": {
      +                            "type": "number"
      +                          },
      +                          "id": {
      +                            "type": "string"
      +                          },
      +                          "name": {
      +                            "type": "string"
      +                          }
      +                        },
      +                        "required": [
      +                          "id",
      +                          "name",
      +                          "color"
      +                        ],
      +                        "type": "object"
      +                      },
      +                      "type": "array"
      +                    }
      +                  },
      +                  "required": [
      +                    "operation",
      +                    "result"
      +                  ],
      +                  "type": "object"
      +                }
      +              ]
      +            },
      +            "workspace": {
      +              "additionalProperties": false,
      +              "properties": {
      +                "id": {
      +                  "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": {
      +                  "type": "string"
      +                },
      +                "slug": {
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "id",
      +                "name",
      +                "slug"
      +              ],
      +              "type": "object"
      +            }
      +          },
      +          "required": [
      +            "workspace",
      +            "categoryId",
      +            "data"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "operation",
      +      "scopedResults"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed3 schema fields changedv1.0.3
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / oneOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "folders",
      -        "description": "Select the folders operation explicitly.",
      -        "type": "string"
      -      },
      -      "parentId": {
      -        "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"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "categories",
      -        "description": "Select the categories operation explicitly.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "kind": {
      -        "const": "tags",
      -        "description": "Select the tags operation explicitly.",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "kind"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "kind": {
      +        "const": "folders",
      +        "description": "Select the folders operation explicitly.",
      +        "type": "string"
      +      },
      +      "parentId": {
      +        "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"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "allOf": [
      +      {
      +        "not": {
      +          "anyOf": [
      +            {
      +              "required": [
      +                "parentId"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    ],
      +    "properties": {
      +      "kind": {
      +        "const": "categories",
      +        "description": "Select the categories operation explicitly.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "allOf": [
      +      {
      +        "not": {
      +          "anyOf": [
      +            {
      +              "required": [
      +                "parentId"
      +              ]
      +            }
      +          ]
      +        }
      +      }
      +    ],
      +    "properties": {
      +      "kind": {
      +        "const": "tags",
      +        "description": "Select the tags operation explicitly.",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "kind"
      +    ],
      +    "type": "object"
      +  }
      +]
    • addedInput schema / properties
      Added value: +{
      +  "kind": {
      +    "anyOf": [
      +      {
      +        "const": "folders",
      +        "description": "Select the folders operation explicitly.",
      +        "type": "string"
      +      },
      +      {
      +        "const": "categories",
      +        "description": "Select the categories operation explicitly.",
      +        "type": "string"
      +      },
      +      {
      +        "const": "tags",
      +        "description": "Select the tags operation explicitly.",
      +        "type": "string"
      +      }
      +    ]
      +  },
      +  "parentId": {
      +    "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"
      +  }
      +}
  3. Addedv0.1.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds genuine behavior beyond that: empty spaces are included in workspace discovery, and unscoped reads cover all granted scopes only 'when supported by the host'. The latter is vague about what happens if the host does not support it.

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 primary discovery mode before branching to the other kinds. No filler, though the closing sentence about host support is cryptic enough that it costs a little clarity for its length.

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?

Covers all four kind variants and the parentId/workspaceId interplay, which is the substance an agent needs to call it. With an output schema present, return values need no explanation. Minor gaps remain around ordering/pagination and categories/tags scoping rules.

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 67% with fairly detailed kind/workspaceId descriptions. The description adds meaning the schema lacks, notably that parentId selects children of a parent folder and that workspaceId is reused from a preceding kind=workspaces call. The categories/tags scoping behavior relative to workspaceId is not spelled out.

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 specific verbs and resources: 'Discover permitted spaces with kind=workspaces' and 'List folders, categories, or tags'. This is important because the tool name only mentions 'workspace_structure' while the tool actually also enumerates categories and tags. It doesn't name any sibling (e.g. save_folder/delete_tag) as a contrast, so the differentiation is implied rather than explicit.

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?

Clear guidance on which kind to pick: kind=workspaces to discover spaces and obtain a workspaceId for later scoped calls, kind=folders for root folders or children of parentId. It also explains that omitting workspaceId broadens reads to all granted scopes. It stops short of naming alternatives or stating when not to use the tool.

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