Skip to main content
Glama

Search notes

search_notes
Read-onlyIdempotent

Find saved notes by keyword or tag to answer questions and check for duplicates before adding new entries.

Instructions

Search the user's saved notes by keyword, optionally filtered to a single tag. Use this before answering any question about what the user has written down, and before adding a note, to avoid creating a duplicate. Returns matching notes ordered by relevance, most relevant 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_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoRestrict results to notes carrying this exact tag.
limitNoMaximum number of notes to return.
queryYesKeywords to match against note titles, bodies, and tags.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only and idempotent semantics, and the description adds value beyond them by stating that results are ordered by relevance with most relevant first — important return-shape information given there is no output schema. It doesn't cover empty-result behavior or pagination, keeping it short of 5.

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?

Two sentences, no filler. Purpose is front-loaded, followed immediately by usage conditions and return ordering, in the order an agent needs them.

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 no output schema, the definition covers what to search, how to scope, and how results come back, which is enough to call it correctly. Only minor gaps remain around empty-result handling.

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 coverage is 100%, so the schema already documents query, tag, and limit with defaults and bounds. The description only restates that the tag filter is optional and single-valued, adding marginal meaning beyond the schema — the correct baseline of 3.

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 description opens with a specific verb+resource ("Search the user's saved notes") and scopes it ("by keyword, optionally filtered to a single tag"). It is clearly distinguishable from the add_note sibling, which it references explicitly rather than leaving the agent to infer.

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 concrete triggers: use before answering any question about what the user wrote, and before adding a note to avoid duplicates. The cross-tool workflow with add_note is spelled out. It lacks an explicit when-not or negative case (e.g., what to do when nothing is found), so not a full 5.

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