Skip to main content
Glama

Create Folder

hudu_create_folder

Create a new folder in Hudu to group knowledge-base articles. Optionally nest it under a parent folder or assign it to a company.

Instructions

Create a new folder in Hudu. A folder groups knowledge-base articles. Folders nest through parent_folder_id, and a folder carrying a company_id belongs to that company rather than to the global knowledge base.

Returns the created record, including the id Hudu assigned. Hudu answers 422 with the offending field named when validation fails.

Operation class: Create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iconNoIcon shown on the folder. Hudu uses Font Awesome class names elsewhere in the API, e.g. "fas fa-folder"; the folder endpoint does not document the accepted values, so copy one from an existing folder via hudu_list_folders rather than inventing it.
nameYesName of the folder as it appears in the knowledge base.
company_idNoNumeric id of the company whose knowledge base owns this folder. Omit for a folder in the global knowledge base, visible across every company.
descriptionNoShort explanation of what belongs in this folder, shown alongside its name.
parent_folder_idNoNumeric id of the folder to nest this one inside. Omit for a top-level folder.
Behavior4/5

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

Annotations indicate a non-read-only, non-idempotent create operation, and the description adds valuable behavior beyond those flags: it discloses the return value (the created record with assigned id) and the 422 validation error format with the offending field named. No contradiction with annotations is present.

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?

The description is three sentences, front-loaded with the core purpose, then the unique scoping/nesting behavior, and finally return/error handling. Every sentence earns its place, with no redundant filler or repetition of the title.

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?

Given there is no output schema, the description appropriately explains what the tool returns (created record with id) and error behavior (422 with field name). It also covers the global vs company context and nesting, which are critical for correct invocation. Minor missing context like auth requirements is not essential given annotations and the simplicity of a create operation.

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?

The input schema already covers all 5 parameters with detailed descriptions, so baseline is 3. The main description reiterates parent_folder_id and company_id semantics, but this adds little beyond what the schema provides. No additional param syntax or format info is introduced that isn't already in the schema.

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

Purpose5/5

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

The description clearly states 'Create a new folder in Hudu' and defines what a folder is ('groups knowledge-base articles'). It also distinguishes the tool from siblings by specifying the global vs company scope and nesting behavior via parent_folder_id, which is a concrete and unique scope.

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?

The description explains when to use folders and how they relate to companies and global knowledge base, which helps decide whether to include company_id. It also references hudu_list_folders for copying icon values, but it does not explicitly state 'use this instead of hudu_update_folder' or provide exclusions for when not to use it.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ZenixSolutions/hudu-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server