Skip to main content
Glama
obsidian-vault-mcp

obsidian-vault-mcp

by TOMO0904

search_notes

Search an entire Obsidian vault by query, returning catalog matches first and then note paths with snippets, so you can locate relevant notes without opening them individually.

Instructions

Search the whole vault: catalog hits first, then note paths/contents.

Returns JSON with "catalog_hits" (index matches) and "note_hits" (note path + snippet). This is the broad read the vault AGENTS.md guards with the catalog-first rule.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.1/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, and it does disclose a real behavioral trait: results are ordered catalog hits first, then note hits. It does not say whether this is read-only in effect, how large the vault scan is, or any latency/pagination characteristics of a 'whole vault' search.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the verb and scope, and the return-shape sentence is compact. However, the final sentence about AGENTS.md and the 'catalog-first rule' is opaque to any agent that cannot open that file, spending words without conveying actionable meaning.

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?

An output schema exists, so the return description is a bonus rather than a necessity, and ordering behavior is well covered. The gap is on the input side: for a 2-parameter search tool with no annotations and no schema descriptions, query semantics and limit behavior are left entirely unaddressed.

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 description coverage is 0%, so the description must compensate for both parameters and does not. `query` syntax (keywords, exact phrase, path globs) is undefined and `limit` (default 20) is never mentioned, leaving an agent to guess at query form and result volume.

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 ('Search the whole vault') and clarifies scope: catalog index matches plus note paths/contents. It implies a broad search versus the narrower sibling `search_catalog`, but never names an alternative, so differentiation is only inferential.

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?

Implies this is the broad/general search and hints at an ordering discipline via 'the catalog-first rule', but the rule itself is deferred to an unreadable external document (vault AGENTS.md) rather than stated. No explicit when-not or named alternative is given.

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