Skip to main content
Glama
bezata

kObsidian MCP

Search Notes

notes.search
Read-onlyIdempotent

Full-text search across all Obsidian vault notes. Supports plain text and prefix filters for tags (tag:foo) and folders (path:Journal/). Customize context length per match. Read-only.

Instructions

Full-text search across every note in the vault. The query supports plain text and lightweight prefix filters: tag:foo restricts to notes carrying #foo, and path:Journal/ restricts to notes under a folder. contextLength controls how many characters of surrounding context are returned per match (default 80). Read-only. For pure tag or date filtering, tags.search and notes.list are faster.

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
queryYesFree-text search query. Supports lightweight `tag:foo` and `path:Journal/` filters in the query string.
contextLengthNoCharacters of context to return around each match. Defaults to 80.
vaultPathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYesNumber of items in `items`.
itemsYesList of result items; per-item shape depends on the tool.
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive. Description adds contextual detail: vaultPath override logic and the effect of contextLength on returned context. 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?

Four sentences, each serving a distinct purpose: purpose, query syntax, parameter default, vault override. No unnecessary words. Front-loaded with the primary action.

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 tool's complexity (full-text search with filters, vault targeting) and the presence of an output schema and annotations, the description covers all critical aspects: what it searches, how to filter, default behavior, vault selection, and relationship to sibling tools.

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

Parameters4/5

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

Schema covers 67% of parameters with descriptions. Description adds concrete examples for query filters (tag:, path:) and explains vaultPath's overriding behavior. The contextLength default is stated, complementing the schema's integer type specification.

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 the tool does full-text search across all notes. It distinguishes from siblings by mentioning faster alternatives for specific cases and the optional vaultPath argument. The first sentence alone conveys the core purpose.

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

Usage Guidelines5/5

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

Explicitly provides when-not-to-use: 'For pure tag or date filtering, tags.search and notes.list are faster.' Also clarifies vault targeting behavior with vaultPath versus session-active vault.

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