Skip to main content
Glama

Create folder

create_folder

Create a folder to organize sites. space is the drive: personal (default) or shared (Pro workspaces only). Pass parent_id (from list_folders) to nest it; omit for a top-level folder. A nested folder must share its parent’s drive. A shared folder starts restricted: addressable at its slug but visible only to the creator and members they invite. Pass open_to_team: true to open it to everyone in the workspace, including members who join later. The marketing and blog folders and any folder inside them are always open to the workspace, and open_to_team: false is refused there. Returns the new folder, with the slug derived from its name; in the SnapHost marketing workspace the landing-page folder must end up slugged marketing, so check the returned slug.

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

Input Schema

NameRequiredDescriptionDefault
nameYesThe folder name
spaceNo`personal` (default) or `shared` for the workspace’s shared drive
parent_idNoParent folder id from list_folders to nest under; omit for top level
open_to_teamNoShared drive only: true opens the folder to everyone in the workspace, current and future members; omitted, it starts restricted (invite-only)
workspace_idNoOptional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / open_to_team / description
      Previous value: -"Shared drive only: false starts the folder restricted (invite-only) instead of open to everyone in the workspace"New value: +"Shared drive only: true opens the folder to everyone in the workspace, current and future members; omitted, it starts restricted (invite-only)"
  2. Changed1 schema field changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Optional: the workspace (the personal space or a Pro workspace) to act in, from list_workspaces. Omit to act in the token owner's own account."New value: +"Optional: the workspace to act in, from list_workspaces (the connection reaches the person's personal space and every workspace they are a member of). Required on a write when the connection reaches more than one workspace. Omit to act in the personal space (for an older single-workspace connection, the one workspace it was authorized for)."
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare it is a non-destructive, non-idempotent write; the description goes much further by explaining that shared folders start invite-only, what open_to_team true versus false does including future members, that marketing/blog folders are always open and reject open_to_team: false, and that nested folders must share the parent's drive. It also discloses the return payload and that the slug is derived from the name.

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?

Dense and front-loaded: purpose first, then drive selection, nesting, and visibility rules in logical order. The closing sentence about the SnapHost marketing workspace and a required 'marketing' slug is instance-specific and slightly out of place for a general definition, costing a point on tightness.

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 creation semantics, constraints, visibility defaults, and the returned value even though no output schema exists, which is what an agent needs for this mutation. The only roughness is the embedded workspace-specific slug directive, which reads as operational trivia rather than general behavior.

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 3 would be the baseline, but the description adds real meaning: 'shared' is limited to Pro workspaces, parent_id must come from list_folders, and nesting imposes a drive-consistency constraint not stated in the schema. workspace_id is left entirely to the schema, which documents it fully.

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?

Opens with a specific verb and resource plus intent ('Create a folder to organize sites'), which immediately separates it from siblings like delete_folder, move_folder, or rename_folder. It does not explicitly contrast with any creation sibling, but the operation itself is unambiguous.

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 strong conditional guidance: pass parent_id to nest, omit for top-level, space selects personal vs shared, and open_to_team toggles restricted vs open. It also references list_folders as the source of parent_id. It stops short of stating when to choose this over other creation paths (e.g., create_bundle_upload), so it is clear context rather than full when/when-not routing.

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.