Skip to main content
Glama
Day One MCP Server

Day One MCP Server

search_entries

Search Day One journal entries by keyword substring, with optional journal filtering and result limits, to locate matching content sorted newest first.

Instructions

Search journal entries using simple keyword matching.

This performs a basic substring search - it finds entries containing the query text anywhere in the content. Case-insensitive.

Examples: - "run" matches "running", "return", "run" - "morning coffee" matches entries whose text contains that substring

Limitations: - No boolean operators (AND, OR, NOT) - No relevance ranking - results sorted by date (newest first) - No fuzzy/typo tolerance - Prefer fts_search for anything beyond a simple substring lookup

Args: query: Text to search for (simple substring match) limit: Maximum number of entries to return (1-50, default 20) journal: Optional journal name to filter by full_text: If True, returns complete entry text. If False, truncates to ~500 chars (default False)

Returns: Formatted list of matching entries, sorted by date (newest first)

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
journalNo
full_textNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does most of it well: it discloses case-insensitive substring semantics, the sort order (newest first), the absence of ranking, and the ~500 character truncation when full_text is false. Gaps remain around what happens with zero matches, whether there is pagination beyond limit, and whether the search spans all journals by default.

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?

Structure is well front-loaded: what it does, then limitations, then params and returns. The two examples are mildly redundant given the plain-language substring explanation, and the one-line "Case-insensitive." is a slightly choppy fragment, but nothing is seriously wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

All four parameters are explained, the matching semantics are spelled out, the alternative tool is named, and an output schema exists so return values need not be detailed further. For a search tool of this complexity, an agent has everything required to call it correctly.

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 description coverage is 0%, so the description must compensate, and it documents all four parameters: query as a substring match, limit with an explicit range (1-50) and default (20), full_text with its truncation behavior, and journal as an optional filter. The journal parameter is the weak point — it never says whether the name must match exactly, is case-insensitive, or accepts partial names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource ("Search journal entries") and immediately narrows the mechanism to "simple keyword matching." The closing line "Prefer fts_search for anything beyond a simple substring lookup" actively separates it from the sibling fts_search, so an agent can pick between them without opening either schema.

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

Usage Guidelines5/5

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

Usage conditions are explicit and include both when-not (no boolean operators, no ranking, no fuzzy matching) and the named alternative (fts_search) with the condition that selects it. This is exactly the routing information an agent needs before choosing a search tool.

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