Skip to main content
Glama

Get ClickUp Folders

clickup_get_folders
Read-onlyIdempotent

Retrieves all folders in a specified ClickUp space, optionally including archived folders, and returns them in markdown or JSON for browsing space structure.

Instructions

Get all folders in a space.

Folders are optional groupings within spaces (Team → Space → Folder → List → Task). This tool retrieves all folders in a specific space.

Args:

  • space_id (string): The space ID

  • archived (boolean): Include archived folders (default: false)

  • response_format ('markdown' | 'json'): Output format (default: 'markdown')

Returns: For JSON format: { "folders": [ { "id": "string", "name": "string", "hidden": boolean, "task_count": "string", "lists": [...] } ] }

Examples:

  • Use when: "Show me folders in space 123456"

  • Use when: "List all folders in this space"

Error Handling:

  • Returns "Error: Resource not found" if space_id is invalid (404)

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

Input Schema

NameRequiredDescriptionDefault
archivedNoInclude archived folders
space_idYesSpace ID
response_formatNoOutput format: 'markdown' for human-readable or 'json' for machine-readablemarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.6

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered structurally. The description adds the archived-default behavior and a 404 error case, which is useful, but says nothing about pagination, result limits, or permission requirements for a listing call.

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-loaded with the core statement, then organized into hierarchy, Args, Returns, Examples and errors — easy to scan. There is mild redundancy between the opening line and "This tool retrieves all folders in a specific space," and the two examples say nearly the same thing.

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 no output schema, the explicit JSON return shape (id, name, hidden, task_count, lists) is genuinely valuable, and the invalid-space error is disclosed. Missing only pagination/volume behavior for spaces with many folders, which is a minor gap for a simple read tool.

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 description coverage is 100%, so the schema already documents space_id, archived and response_format, including the enum and defaults. The Args block largely restates those schema descriptions with no added syntax, format, or edge-case nuance, so baseline 3 applies.

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 and resource ("Get all folders in a space") and reinforces it with the hierarchy Team → Space → Folder → List → Task, which implicitly separates it from list-level siblings such as clickup_get_lists. It never names an actual alternative tool, so differentiation is contextual 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?

Two "Use when" examples give concrete invocation contexts ("Show me folders in space 123456"), which is clear usage guidance. There are no exclusions or named alternatives telling the agent when to prefer clickup_get_lists or clickup_get_spaces instead.

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