Skip to main content
Glama

List folders

clm_list_folders
Read-onlyIdempotent

List a page of visible folders with visibility, limited access and continuation. Inaccessible folders, their ancestors and member lists are omitted. Use clm_get_folder for one folder’s details.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clm_list_folders"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoInteger 1..100; omit for default
continuationNoPrior page cursor
parentFolderIdNoChildren of parent; omit for visible root

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • changedInput schema / properties / continuation / description
      Previous value: -"Continuation reference from the previous page"New value: +"Prior page cursor"
    • changedInput schema / properties / limit / description
      Previous value: -"Page size (max 100)"New value: +"Integer 1..100; omit for default"
    • removedInput schema / properties / parentFolderId / anyOf
      Removed value: -[
      -  {
      -    "format": "uuid",
      -    "pattern": "^([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)$",
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • changedInput schema / properties / parentFolderId / description
      Previous value: -"Only return folders nested under this parent; omit to list the visible root"New value: +"Children of parent; omit for visible root"
    • addedInput schema / properties / parentFolderId / format
      Added value: +"uuid"
    • addedInput schema / properties / parentFolderId / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / (root)
      Previous value: -{
      -  "$schema": "http://json-schema.org/draft-07/schema#",
      -  "additionalProperties": false,
      -  "properties": {
      -    "continuation": {
      -      "anyOf": [
      -        {
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ]
      -    },
      -    "folders": {
      -      "description": "Visible folders in the current page",
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "id": {
      -            "allOf": [
      -              {
      -                "pattern": "^([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)$",
      -                "type": "string"
      -              },
      -              {
      -                "pattern": "^([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)$",
      -                "type": "string"
      -              }
      -            ],
      -            "description": "Folder UUID",
      -            "type": "string"
      -          },
      -          "name": {
      -            "description": "Folder name",
      -            "minLength": 1,
      -            "type": "string"
      -          },
      -          "parentFolderId": {
      -            "anyOf": [
      -              {
      -                "allOf": [
      -                  {
      -                    "pattern": "^([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)$",
      -                    "type": "string"
      -                  },
      -                  {
      -                    "pattern": "^([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)$",
      -                    "type": "string"
      -                  }
      -                ],
      -                "type": "string"
      -              },
      -              {
      -                "type": "null"
      -              }
      -            ]
      -          },
      -          "path": {
      -            "description": "Visible ancestor path, leaf last",
      -            "items": {
      -              "additionalProperties": false,
      -              "properties": {
      -                "id": {
      -                  "allOf": [
      -                    {
      -                      "pattern": "^([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)$",
      -                      "type": "string"
      -                    },
      -                    {
      -                      "pattern": "^([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)$",
      -                      "type": "string"
      -                    }
      -                  ],
      -                  "description": "Folder UUID",
      -                  "type": "string"
      -                },
      -                "name": {
      -                  "description": "Folder name",
      -                  "minLength": 1,
      -                  "type": "string"
      -                },
      -                "parentFolderId": {
      -                  "anyOf": [
      -                    {
      -                      "allOf": [
      -                        {
      -                          "pattern": "^([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)$",
      -                          "type": "string"
      -                        },
      -                        {
      -                          "pattern": "^([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)$",
      -                          "type": "string"
      -                        }
      -                      ],
      -                      "type": "string"
      -                    },
      -                    {
      -                      "type": "null"
      -                    }
      -                  ]
      -                }
      -              },
      -              "required": [
      -                "id",
      -                "name",
      -                "parentFolderId"
      -              ],
      -              "type": "object"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "id",
      -          "name",
      -          "parentFolderId",
      -          "path"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    },
      -    "hasMore": {
      -      "description": "Whether another page exists",
      -      "type": "boolean"
      -    },
      -    "limit": {
      -      "description": "Requested page size",
      -      "maximum": 9007199254740991,
      -      "minimum": 1,
      -      "type": "integer"
      -    },
      -    "returned": {
      -      "description": "Number of folders in this page",
      -      "maximum": 9007199254740991,
      -      "minimum": 0,
      -      "type": "integer"
      -    }
      -  },
      -  "required": [
      -    "folders",
      -    "limit",
      -    "returned",
      -    "hasMore",
      -    "continuation"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is covered. The description adds genuinely new behavioral context that annotations cannot convey: results are visibility-scoped, and inaccessible folders, their ancestors, and member lists are silently omitted. It stops short of describing ordering or what an empty page means, so it is strong but not exhaustive.

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?

Three short sentences: scope first, behavioral caveat second, sibling disambiguation last. Every clause carries information and there is no filler.

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?

For a three-parameter, read-only list tool with no output schema, this covers purpose, exclusion semantics, and the alternative. The main residual gap is return-shape and pagination behavior (e.g., how termination is signalled), which is only hinted at by the word "continuation".

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 limit, continuation, and parentFolderId are already well documented in the schema, making 3 the baseline. The description's mention of continuation and visibility adds only light framing rather than syntax, defaults, or edge-case semantics for parentFolderId.

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?

States a specific verb and resource ("List a page of visible folders") plus the returned facets (visibility, limited access, continuation) and the scoping rule that inaccessible folders are omitted. It also names the sibling it is not, so an agent can distinguish it from clm_get_folder without opening either schema.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use this for listing pages of folders, use clm_get_folder for a single folder's details. The visibility scoping constraint further frames when this tool is the right choice, leaving nothing to inference.

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.