Skip to main content
Glama

list_directory

Get a detailed listing of files and directories in a specified path, including names, types, sizes, and modification times to understand directory structure and locate files.

Instructions

Get a detailed listing of all files and directories in a specified path. Results include names, types (file/directory), sizes, and modification times. Useful for understanding directory structure and finding files.

Input Schema

NameRequiredDescriptionDefault
pathYesThe path of the directory to list

Input Schema (JSON Schema)

{ "properties": { "path": { "description": "The path of the directory to list", "type": "string" } }, "required": [ "path" ], "type": "object" }

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/koopatroopa787/first_mcp'

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