Skip to main content
Glama

list_folders

Read-only

Explore the vault's folder hierarchy with configurable depth, revealing writability, protected reasons, note counts, and guidance files for informed note placement.

Instructions

Discover the vault's folder taxonomy + writable locations before placing a note: child folders under root (drill-down) to depth levels, each with its writability, protected reason, and recursive note count, plus direct root-local AGENTS.md/CLAUDE.md guidance when present. Read-only; the writable flag matches what commit_note accepts. Narrow root to drill deeper when truncated is true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootNoRepo-relative folder to drill down from ('' = vault root).
depthNoNumber of folder levels to descend.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rootYes
depthYes
foldersYes
truncatedYes
omittedYes
manual_reindex_recommendedYes
agent_instructionYes
Behavior5/5

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

The description explicitly states 'Read-only', matching the readOnlyHint annotation. It details what the tool returns (writability, protected reason, note count, guidance files) and how writable flag aligns with commit_note, providing full behavioral transparency beyond annotations.

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?

The description is three sentences, each adding value. It could be slightly tighter, but it is well-structured with the main purpose first, followed by details.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple input schema (2 optional parameters) and the existence of an output schema, the description covers what the tool retrieves (hierarchy, writability, counts, guidance) and its read-only nature, making it complete for an agent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, but the description adds meaning: root is repo-relative ('' = vault root), depth is levels to descend, and it explains how to use root when truncated is true, offering context beyond schema descriptions.

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 identifies the tool's purpose: discovering folder taxonomy and writable locations. It specifies details like child folders under root, depth levels, writability, protected reasons, and note counts, which distinguishes it from sibling tools like search or read_note.

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 advises using it 'before placing a note' and mentions narrowing root when truncated is true. It lacks explicit alternatives or when-not-to-use guidance, but the context is clear and actionable.

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/leonardsellem/hypermnesic'

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