Skip to main content
Glama
obsidian-mcp-server

obsidian-mcp-server

by mpesavento

List Vault Contents

vault_list

List files and folders in an Obsidian vault directory, excluding .obsidian, .trash, and .git; supports recursive depth and glob pattern filtering.

Instructions

List files and folders in a vault directory. Excludes .obsidian, .trash, and .git directories.

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

Input Schema

NameRequiredDescriptionDefault
pathNoVault-relative directory path (empty string for vault root)
depthNoMaximum depth when recursive (1 = immediate children only, 2 = children and grandchildren, etc.)
patternNoGlob pattern to filter results (e.g. '*.md', '**/*task*')
recursiveNoList recursively

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one genuinely useful behavior beyond the schema: that .obsidian, .trash, and .git are excluded. It says nothing about ordering of results, symlink handling, behavior on a nonexistent path, or whether hidden dotfiles in general are skipped.

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?

Two tight sentences with the core action front-loaded and the exclusion caveat second. No filler, no redundancy with the title.

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 zero-required-parameter read tool with no output schema, the description omits the return shape entirely: whether entries include type (file vs folder), whether paths are relative, and how results are ordered. That is a meaningful gap for an agent that must consume the output.

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%, with each of the four parameters (path, depth, pattern, recursive) documented inline including defaults and examples. The description adds no additional meaning about how these interact, e.g. whether pattern applies at every depth or only to immediate children, so the baseline 3 applies.

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?

States a specific verb and resource: list files and folders in a vault directory, plus an explicit scope fact (what is excluded). It is distinguishable from write/read siblings, but it never contrasts with vault_recent, vault_search, or vault_grep, which an agent might pick for similar-looking needs.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no mention of alternatives. The description never says to prefer vault_search or vault_grep for content-based lookup, or when depth/recursive should be chosen over pattern filtering, leaving routing entirely to inference.

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