Skip to main content
Glama

create_folder

Create a new sidebar folder in an AFFiNE workspace, either at the top level or inside a specified parent folder, by providing a folder name and optional workspace.

Instructions

New sidebar folder, at the top or inside another folder

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
nameYes
parentNoParent folder id or name
workspaceNoWorkspace id or name, leave out for the default workspace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is known from structured data. The description contributes only the placement behavior (top-level vs nested); it says nothing about name uniqueness, name collisions, whether workspace defaults apply, or what is returned after creation.

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?

A single short phrase with zero padding and the placement detail front-loaded. It is efficient, though its telegraphic, verbless form makes it read more like a label than a definition.

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

Completeness2/5

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

For a creation tool with three parameters, the description omits what the new folder contains, how workspace scoping works, what happens on duplicate names, and what the response is (no output schema exists to compensate). It leaves real gaps for an agent to guess at.

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 67%, with parent and workspace already described in the schema while name is obvious. The description adds the useful implication that omitting a parent places the folder at the top level, which the schema does not state explicitly, but it says nothing about the workspace parameter's effect.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The fragment "New sidebar folder" implies a create operation on a folder resource, and the resource name separates it from siblings like create_board and create_doc. However, there is no explicit verb and no statement of what a sidebar folder is or how it relates to boards/docs, so the purpose is only vaguely conveyed.

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

Usage Guidelines2/5

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

The phrase "at the top or inside another folder" hints at two placement modes but never states when to use this tool, what prerequisites exist, or how to choose between it and the create_* siblings. An agent gets no routing guidance.

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