Skip to main content
Glama
Obsidian MCP Server
by davidatoms

obsidian_search_frontmatter

Search Obsidian notes by frontmatter fields to find entries with a specific field or value, such as status, date, or custom metadata.

Instructions

Query notes by frontmatter fields. Can search for notes with a specific field present or with a specific field value. Useful for finding notes by status, date, or custom metadata.

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": {
      "field": "<field>"
    },
    "name": "obsidian_search_frontmatter"
  }
}

Input Schema

NameRequiredDescriptionDefault
fieldYesFrontmatter field name
limitNo
valueNoField value to match (omit to find notes with field present)
formatNomarkdown

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. "Query" implies a read-only operation, but it says nothing about result size, the effect of the default limit of 50, ordering, or what the markdown vs. json format yields.

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?

Three short sentences, front-loaded with the core action and followed by the two query modes. No filler, though the final "useful for" sentence is the weakest and could have carried more substantive guidance.

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 four-parameter tool with no annotations and no output schema, the description covers the primary query semantics but leaves the agent guessing about the limit behavior and the output format choice. Adequate as a minimum-viable definition, not complete.

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 coverage is 50%: field and value are described in the schema, while limit and format are not. The description restates the present-vs-value distinction already in the schema and adds only loose examples (status, date) without explaining limit or the format enum's effect.

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 ("Query notes by frontmatter fields") and then clarifies the two query modes: field-present vs. field-value match. That distinguishes it in substance from content or tag search siblings, though no sibling is named explicitly.

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?

Offers example use cases ("finding notes by status, date, or custom metadata") which implies when this tool fits, but gives no exclusions, prerequisites, or explicit pointer to obsidian_search_content or obsidian_search_tags for other query types.

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