Skip to main content
Glama
obsidian-mcp

obsidian-mcp

by Soleil1043

list_notes

Lists Markdown notes and subfolders in a specified Obsidian vault directory, skipping hidden entries and non-Markdown files so you can browse vault structure.

Instructions

列出 Obsidian vault 指定目录下的笔记(.md)与子文件夹。跳过点开头的隐藏条目(如 .obsidian、.trash)与非 Markdown 文件。目录按名称排序且排在笔记前。

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

Input Schema

NameRequiredDescriptionDefault
folderNo要列出的目录(vault 内 POSIX 风格相对路径);省略或留空表示 vault 根目录

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full behavioral burden and does well: it discloses filtering rules (skips dot-prefixed hidden entries and non-Markdown files) and ordering behavior (directories sorted by name and listed before notes). It does not state explicitly that this is a non-mutating read, which is the only notable gap.

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?

Three short sentences, front-loaded with the core action, followed by filtering rules and then ordering. Every sentence contributes distinct, useful information with no redundancy.

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

Completeness4/5

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

For a one-parameter read tool with no output schema, the description conveys what is returned (notes and subfolders), what is excluded, and how results are ordered—enough for correct invocation. It could be marginally better by explicitly flagging the non-mutating nature, but nothing essential is missing.

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 coverage is 100%, so the single 'folder' parameter is already fully documented as a POSIX-style vault-relative path where empty means vault root. The description adds no syntax or edge-case detail beyond what the schema provides, making baseline 3 appropriate.

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 states a specific verb and resource: listing notes (.md) and subfolders under a given directory in an Obsidian vault. The scope is unambiguous and distinguishes it functionally from a search tool, though it never names a sibling like search_notes to explicitly route the agent.

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?

Usage is implied by the verb 'list' and the directory-scoping, so an agent can infer it is for enumerating a folder's contents. However, there is no explicit when-to-use versus when-to-use-search guidance and no stated prerequisites, leaving the agent to infer the boundary with search_notes.

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