Skip to main content
Glama
rcgeorge
by rcgeorge

search_dataview

Query an Obsidian vault using Dataview DQL to retrieve notes, tables, and metadata. Requires the Dataview plugin.

Instructions

Run a Dataview DQL query against the vault. Requires the Dataview plugin to be installed in Obsidian. Example: 'TABLE file.mtime AS "Modified" FROM "Notes" SORT file.mtime DESC'

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dqlYesDataview Query Language (DQL) query string

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It only adds the plugin dependency and does not disclose whether the operation is read-only, what happens if the plugin is missing, or any side effects or execution limits.

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?

Three tight sentences with no waste. The core purpose is front-loaded, followed by the prerequisite and a useful example.

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 one-parameter query tool with no annotations and no output schema, the description covers the plugin prerequisite and parameter example. It still omits return behavior, error handling, and routing guidance versus sibling search 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 coverage is 100%, so the baseline is 3. The description adds a concrete DQL example, which meaningfully helps an agent construct the dql parameter beyond the schema's minimal text.

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 states a specific verb and resource: run a Dataview DQL query against the vault. It clearly identifies the specialized query language, but does not explicitly distinguish itself from sibling tools like search_vault or search_jsonlogic.

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?

It gives a prerequisite (Dataview plugin must be installed) and implies usage when a Dataview DQL query is needed, but never states when to choose this over search_vault or search_jsonlogic.

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