Skip to main content
Glama

basic-memory

list_directory

Retrieve and filter directory contents with customizable depth and file name patterns. Enables organized access to stored Markdown files for efficient knowledge management in semantic graph systems.

Instructions

List directory contents with filtering and depth control.

Input Schema

NameRequiredDescriptionDefault
depthNo
dir_nameNo/
file_name_globNo
projectNo

Input Schema (JSON Schema)

{ "properties": { "depth": { "default": 1, "title": "Depth", "type": "integer" }, "dir_name": { "default": "/", "title": "Dir Name", "type": "string" }, "file_name_glob": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "File Name Glob" }, "project": { "anyOf": [ { "type": "string" }, { "type": "null" } ], "default": null, "title": "Project" } }, "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/basicmachines-co/basic-memory'

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