Skip to main content
Glama

Search your notes

kb_search_notes
Read-onlyIdempotent

Search the text of notes in your personal knowledge base. The last word is prefix-matched. Optionally restrict to a tag. Nothing leaves the server. With an empty query it lists recent notes.

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

Input Schema

NameRequiredDescriptionDefault
tagNoRestrict to notes carrying this tag.
limitNo
queryYesWords to search for. Empty lists recent notes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the bar is lower; the description still adds real behavior — last-word prefix matching and the empty-query fallback to recent notes. 'Nothing leaves the server' largely restates openWorldHint=false, and it does not say what the results look like (snippets vs. full notes).

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?

Five short sentences, front-loaded with what is searched before the qualifying details; nothing is buried. 'Nothing leaves the server' is a slight restatement of the closed-world annotation rather than new information.

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 three-parameter read tool with annotations and no output schema, the description covers matching semantics, scoping and the empty-query mode. The remaining gap is the undocumented limit parameter and no indication of what results contain.

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?

Adds meaning beyond the 67% schema coverage: it explains that only the last word is prefix-matched and that an empty query switches to listing recent notes — semantics the schema does not capture. However, the limit parameter (1-100) remains undocumented in both schema and description.

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?

States a specific verb (search) and a precise resource (the text of notes in your personal knowledge base), and its 'empty query lists recent notes' clause implicitly separates it from the plain listing sibling kb_list_notes. An agent can tell what this does without opening the schema.

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?

Gives clear usage context: search a query, optionally narrow with a tag, or pass an empty query to browse recent notes. It never names an alternative tool (e.g. kb_list_notes) or states when not to use search, so it stops short of full routing guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources