Skip to main content
Glama
Obsidian MCP Server
by davidatoms

obsidian_search_content

Search all Obsidian notes by title, heading, or content to find relevant matches with scored snippets; filter results by folder or tag.

Instructions

Full-text search across all notes. Searches in note titles, headings, and content. Returns relevance-scored results with snippets showing match context. Can be filtered by folder or tag.

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

Input Schema

NameRequiredDescriptionDefault
tagNoLimit search to notes with specific tag
limitNo
queryYesSearch query string
folderNoLimit search to specific folder
formatNomarkdown
caseSensitiveNoCase-sensitive search

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/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. It usefully discloses that results are relevance-scored with match snippets and can be filtered by folder or tag, but it does not clarify permissions, pagination behavior, or the default result limit.

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

Conciseness4/5

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

The description is four short, front-loaded sentences with no wasted wording. It could be slightly more efficient by combining the search-scope and return-format statements, but it remains clear and easy to scan.

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 six-parameter search tool with no annotations and no output schema, the description covers the core behavior and return shape reasonably well. It stops short of explaining the limit, format, and caseSensitive parameters, leaving gaps that an agent may need to infer from the schema.

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 67%, so most parameters are already documented structurally. The description adds useful semantics for the query (searches titles, headings, and content) and the folder/tag filters, but says nothing about limit, format, or caseSensitive beyond what the schema provides.

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 gives a specific verb and resource ('Full-text search across all notes') and narrows the scope to titles, headings, and content. It implicitly distinguishes itself from metadata-oriented siblings like obsidian_search_frontmatter and obsidian_search_tags, but does not name or explicitly contrast them.

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 'Full-text search across all notes' and the folder/tag filtering statement. However, there is no explicit when-to-use guidance, no exclusions, and no direction to use the tag or frontmatter search siblings for metadata-only queries.

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