Skip to main content
Glama
bezata

kObsidian MCP

List Notes By Folder

dataview.listByFolder
Read-onlyIdempotent

List all notes in a specified Obsidian vault folder using Dataview queries, with optional filtering, sorting, and limit clauses.

Instructions

Convenience wrapper that runs LIST FROM "folder" (optionally with WHERE, SORT, and LIMIT clauses). Useful when you want every note under a vault folder. Requires the Dataview and Local REST API plugins.

Operates on the session-active vault (see vault.current — selectable via vault.select) unless an explicit vaultPath argument is passed, which always wins.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
folderYesVault-relative folder to filter by.
whereClauseNoOptional DQL `WHERE` clause body (without the `WHERE` keyword).
sortByNoOptional DQL `SORT` clause body (without the `SORT` keyword). Example: `file.ctime desc`.
limitNoOptional `LIMIT` n clause.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already mark it as read-only and idempotent. The description adds useful context: required plugins (Dataview and Local REST API) and the vault path resolution logic (session-active vault vs explicit vaultPath). No contradictions.

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?

The description is two concise sentences plus a brief note on vault path. It is front-loaded with the core purpose and contains no unnecessary words.

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 presence of an output schema and thorough annotations, the description adequately covers purpose, usage, dependencies, and vault scope. It is complete for a convenience wrapper tool.

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% with clear descriptions for all parameters. The description restates optional clauses but does not add significant new meaning beyond the schema. Baseline of 3 is appropriate.

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 states it is a convenience wrapper that runs `LIST FROM "folder"` with optional DQL clauses, and specifies it is useful for listing all notes under a vault folder. This distinguishes it from siblings like `dataview.listByTag` or `dataview.query`.

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?

The description implies usage for folder-based note listings but does not explicitly mention when not to use or compare to alternatives like `dataview.query` for more complex queries. The term 'convenience wrapper' hints at limited scope but lacks explicit guidance.

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/bezata/kObsidian'

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