Skip to main content
Glama
Obsidian MCP Server
by Kynlos

search_by_word_count

Find Obsidian notes within a specified word count range using minimum and maximum word limits.

Instructions

Find notes by word count 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": {
      "min_words": "<min_words>",
      "max_words": "<max_words>"
    },
    "name": "search_by_word_count"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_wordsYesMaximum word count
min_wordsYesMinimum word count

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.0.0

TDQS

C2.9/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 disclosure burden, and it says nothing beyond the filter itself. It does not state whether bounds are inclusive, whether frontmatter or code blocks count toward word count, how results are ordered, or whether there is a result limit. For a search tool with zero annotation coverage, this is a significant gap.

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?

The single sentence is front-loaded and contains no filler, which is appropriate for a simple two-parameter tool. Its brevity is efficient rather than padded, though it is arguably too terse to be fully useful.

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

Completeness2/5

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

The tool itself is simple (two required numeric parameters, no nested objects, no output schema), so the description need not explain return values. However, with no annotations and no output schema, the description should at minimum clarify boundary behavior and result characteristics, which it entirely omits.

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 both min_words and max_words documented in the schema, so the baseline is 3. The description only restates the concept of a range and adds no semantics about inclusive/exclusive boundaries or validation (e.g., min greater than max).

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 a specific verb ('Find'), a specific resource ('notes'), and the discriminating filter ('word count range'), which separates it from siblings like search_by_date or search_by_link_type. It stops short of explicitly contrasting with the closest sibling (word_frequency), but the purpose is unambiguous.

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 guidance on when to choose this tool over alternatives such as search_notes, search_regex, or word_frequency, and no stated prerequisites or exclusions. The agent must infer selection criteria purely from the tool name and one sentence.

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