Skip to main content
Glama

Create folder

folder_create

Create a personal, team (team), or workspace (workspaceId) folder, with an optional description of what it holds (one line first: lists show the first line). A workspace folder needs why; team and workspaceId go alone. New folders need no expected revision. A description counts toward storage: one that does not fit is refused STORAGE_LIMIT_REACHED. A workspace folder created with no description returns a hint saying so.

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": {
      "slug": "<slug>"
    },
    "name": "folder_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
whyNoRequired for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters.
slugYesThe new folder's slug: 1-64 lowercase letters, digits or hyphens, no leading or trailing hyphen.
teamNoCreate it as this team's folder (slug or id).
descriptionNoWhat the folder holds, so others can pick it without opening it: one line first (lists show the first line), at most 64000 characters.
workspaceIdNoCreate it in this workspace, by its id or its slug (a workspace folder needs why).

Output Schema

NameRequiredDescriptionDefault
folderYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / why / description
      Previous value: -"Required for workspace items: one sentence on what the person is trying to accomplish, in their terms, not a description of this edit. Every workspace write takes one; sessions and summaries record themselves from it. At most 300 characters."New value: +"Required for workspace items: one sentence on the goal this change serves, not a description of this edit. Every edit to workspace files, rows, folders and settings takes one (task operations need none); sessions and summaries record themselves from it. At most 300 characters."
  2. Changed4 schema fields changed
    • addedInput schema / properties / description
      Added value: +{
      +  "description": "What the folder holds, so others can pick it without opening it: one line first (lists show the first line), at most 64000 characters.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / folder / properties / description
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "What the folder holds, null when none. folder_show has it whole; lists and write receipts carry its first line, at most 280 characters."
      +}
    • addedOutput schema / properties / folder / properties / descriptionCut
      Added value: +{
      +  "description": "true when description is only part of it (a later line or the end of a long first line was left out); folder_show reads it whole.",
      +  "type": "boolean"
      +}
    • changedOutput schema / properties / folder / required
      Previous value: -[
      -  "id",
      -  "slug",
      -  "owner_id",
      -  "team_id",
      -  "artifact_count",
      -  "history",
      -  "created_at",
      -  "updated_at"
      -]New value: +[
      +  "id",
      +  "slug",
      +  "description",
      +  "descriptionCut",
      +  "owner_id",
      +  "team_id",
      +  "artifact_count",
      +  "history",
      +  "created_at",
      +  "updated_at"
      +]
  3. Changed2 schema fields changed
    • removedInput schema / properties / audience
      Removed value: -{
      -  "description": "A workspace folder's audience: internal (the default for internal members) or shared (the only choice for external editors).",
      -  "enum": [
      -    "internal",
      -    "shared"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / folder / properties / audience
      Removed value: -{
      -  "enum": [
      -    "internal",
      -    "shared"
      -  ],
      -  "type": "string"
      -}
  4. Changed2 schema fields changed
    • addedOutput schema / properties / folder / properties / history
      Added value: +{
      +  "anyOf": [
      +    {
      +      "anyOf": [
      +        {
      +          "enum": [
      +            "off",
      +            "all"
      +          ],
      +          "type": "string"
      +        },
      +        {
      +          "maximum": 100,
      +          "minimum": 1,
      +          "type": "integer"
      +        }
      +      ]
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • changedOutput schema / properties / folder / required
      Previous value: -[
      -  "id",
      -  "slug",
      -  "owner_id",
      -  "team_id",
      -  "artifact_count",
      -  "created_at",
      -  "updated_at"
      -]New value: +[
      +  "id",
      +  "slug",
      +  "owner_id",
      +  "team_id",
      +  "artifact_count",
      +  "history",
      +  "created_at",
      +  "updated_at"
      +]
  5. Changed5 schema fields changed
    • changedInput schema / properties / workspaceId / description
      Previous value: -"Create it in this workspace (a workspace folder needs why)."New value: +"Create it in this workspace, by its id or its slug (a workspace folder needs why)."
    • removedInput schema / properties / workspaceId / format
      Removed value: -"uuid"
    • addedInput schema / properties / workspaceId / maxLength
      Added value: +64
    • addedInput schema / properties / workspaceId / minLength
      Added value: +1
    • removedInput schema / properties / workspaceId / pattern
      Removed value: -"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
  6. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-destructive, non-idempotent, and closed-world, so the safety bar is lower. The description adds genuine context beyond that: the STORAGE_LIMIT_REACHED failure when a description exceeds storage, the empty-description hint for workspace folders, and that no expected revision is needed on create. It does not cover slug-collision behavior or what the created object contains, so it stops short of a 4.

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?

Front-loads the variant enumeration, then layers constraints and failure modes in a compact sequence; nearly every sentence earns its place. Some phrasing is overly terse ('team and workspaceId go alone') and the storage-limit and hint sentences could be merged for readability.

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?

With an output schema covering return values and annotations covering the safety profile, the description supplies the remaining operational essentials: conditional parameter rules, the storage failure mode, and the empty-description hint. It leaves unaddressed what happens on duplicate slugs, which is the main remaining gap for a create operation.

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 baseline is 3, but the description adds relationships the schema does not encode: why is conditional on workspace rather than global, team and workspaceId are mutually exclusive, and the first line of description is what lists surface. It does not explain the slug's immutability or uniqueness constraints beyond the schema.

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 (Create) and resource (folder) and enumerates the three variants: personal, team (team), and workspace (workspaceId). It maps each variant to its parameter rather than just restating the title, though it does not name any sibling tool to contrast with.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives conditional guidance: a workspace folder requires why, while team and workspaceId go alone, which tells an agent how to combine parameters. It lacks an explicit 'use folder_update/folder_delete instead' routing sentence, so alternatives are only implied by omission.

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.