Skip to main content
Glama

folder_tree

Read-onlyIdempotent

Render an Obsidian vault or folder as an indented tree, with depth limits and file filters to keep large structures concise and navigable.

Instructions

Show the vault (or a folder) as an indented tree, like the file explorer. Use depth/notes_only to keep it short.

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": "folder_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNoDefault 3
filesNoShow files too (default true)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)
max_entriesNoMax results (default 400)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare the safe read-only, idempotent profile. The description adds the output representation (indented tree) but omits behavior like result capping (schema default max_entries 400) or what happens on truncation, and it references a 'notes_only' option that does not exist.

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?

Two short sentences, front-loaded with the purpose and followed by a practical tip. The wasted/incorrect 'notes_only' reference keeps it from being completely clean.

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

Completeness3/5

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

For a simple read-only tool with full schema coverage and clear annotations, the description covers purpose and output shape. It misses useful context such as the 400-entry default cap and vault-resolution default, and its parameter reference is wrong.

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

Parameters2/5

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

Schema coverage is 100%, so a baseline of 3 would apply, but the description's only parameter mention ('notes_only') is not a real input; the actual flag is 'files' (default true). This misleading guidance detracts from the schema rather than clarifying it.

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?

The description names a specific verb and resource ('Show the vault (or a folder)') and a concrete output form ('indented tree, like the file explorer'). It does not explicitly differentiate itself from sibling listing/search tools like find_files, so it falls short of a 5.

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

Usage Guidelines3/5

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

It offers a tuning tip ('Use depth/notes_only to keep it short'), which is implied when-to-use guidance for large vaults. However, it never states when to prefer this tool over alternatives or when not to use it.

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

Deploy Server

Other Tools