Skip to main content
Glama

Search notes

search_notes

Find relevant second-brain note snippets through semantic search; limit the query to a specific folder label when you need focused results.

Instructions

Semantically search second-brain notes. Returns matching snippets with [label/path]. folder limits the search to one notes folder (label); default searches all. See whoami for labels.

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_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax snippets (default 5)
queryYesWhat to find in your notes
folderNoLimit to one notes folder label (default: all)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does reveal the return shape ('matching snippets with [label/path]') and the default scope, but says nothing about result ordering, snippet length, cost/rate limits, or that it is strictly read-only beyond the implication of 'search'.

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?

Four short sentences, front-loaded with the core action, then return format, then the folder scoping rule and the label-discovery pointer. No filler or redundant restatement of the schema.

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

Completeness4/5

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

For a simple three-parameter search tool with no output schema, the description covers purpose, scoping, default behavior, and result shape. Only minor gaps remain, such as ordering of results and how much text a 'snippet' contains.

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 baseline is 3, but the description adds value by naming whoami as the way to resolve valid folder labels — information the schema cannot express because folder has no enum. The rest of the parameter meaning (limit default 5) is left to the schema.

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 and resource ('Semantically search second-brain notes'), which is clearly distinct from the sibling capture_note. It does not explicitly contrast itself with siblings like brief, but the retrieval purpose is unambiguous from the first sentence.

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

Usage Guidelines4/5

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

Explains the key scoping decision: folder limits to one folder label, default searches all. It also routes the agent to whoami to discover valid labels, which is real usage guidance. It stops short of saying when to prefer this tool over brief or other retrieval paths.

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