Skip to main content
Glama

search_by_date

Read-onlyIdempotent

Locate notes by date range using file created/modified dates or a custom date property, then narrow results by vault or folder.

Instructions

Notes created or modified in a date range (by file dates, or by a date property such as "date" / "created").

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_by_date"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoYYYY-MM-DD (inclusive)
fromNoYYYY-MM-DD (inclusive) or -7d
fieldNo"modified" (default), "created", or a property name
limitNoMax results (default 200)
vaultNoVault name, id or folder path (see list_vaults). Default: OBSIDIAN_VAULT or the vault open in Obsidian.
folderNoLimit to this folder (vault-relative)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is fully covered. The description adds only the dual matching mode (file dates vs. a date property), which largely restates the schema's 'field' parameter, and says nothing about result ordering, matching semantics on boundaries, or what a returned item looks like.

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?

A single tight sentence with no filler, front-loaded on the matching criterion. It reads as a fragment rather than a complete statement of action, which slightly weakens the opening.

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?

With six all-optional parameters, full schema coverage, and a complete annotation set, the definition is callable as-is. However, for a search tool with no output schema, the description omits any sense of return shape or ordering, leaving a modest gap.

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%, so every parameter (from/to, field, limit, vault, folder) is already documented in the schema, including formats and defaults. The description adds no syntax, boundary, or interaction detail beyond that, so the baseline 3 applies.

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 names the resource (notes) and the discriminating criterion (created or modified within a date range), with the parenthetical distinguishing file-date matching from date-property matching. It is specific enough to separate this from generic text search, though it never names a sibling or states the verb 'search' explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no routing toward alternatives such as search_by_property or search_text. The only hint is the parenthetical about date properties, which implies a use case but leaves the agent to infer when this tool beats its siblings.

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