Skip to main content
Glama
Obsidian MCP Server
by Kynlos

search_by_date

Find notes created or modified between start and end dates to locate recent activity or historical entries in an Obsidian vault.

Instructions

Find notes created or modified within a date range

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": {
      "start_date": "<start_date>",
      "end_date": "<end_date>"
    },
    "name": "search_by_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_dateYesEnd date (YYYY-MM-DD)
date_typeNoSearch by 'created' or 'modified' date
start_dateYesStart date (YYYY-MM-DD)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden and falls short: it does not say whether the range bounds are inclusive, whether date_type defaults to 'created' or 'modified' when omitted, whether results are sorted or paginated/limited, or whether the search spans the whole vault. For a search tool with zero annotation coverage, these omissions are material.

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?

A single front-loaded sentence with no filler; the scope constraint is stated first and nothing is redundant.

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 simple three-parameter tool with full schema coverage, this is minimally adequate. However, with no annotations and no output schema, the definition should still resolve boundary semantics and the default for date_type, which it does not.

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 description coverage is 100% with per-parameter descriptions and an enum for date_type, so the baseline is 3. The description restates the created/modified distinction already covered by the schema and adds no format guidance (e.g., date boundary inclusivity) or default behavior for the optional date_type.

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 ('Find') and resource ('notes') plus the filtering dimension (created or modified within a date range). It is clear on its own, but never references the many sibling search tools (search_notes, search_by_link_type, search_by_word_count), so an agent gets no help telling this apart from 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 only implied by the phrase 'within a date range' – an agent can infer this is the date-scoped search, but there is no explicit statement of when to prefer it over search_notes or the other by-attribute searches, and no exclusions or prerequisites.

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

Deploy Server

Other Tools