Skip to main content
Glama

searchNotes

Read-onlyIdempotent

Find notes by text and/or tag, newest first, returning summaries and previews rather than full bodies; use the match total to page through results.

Instructions

Find notes by text and/or tag, newest first. Returns summaries with a short preview — not the full body; read one with readNote. total is the number of matches before the limit, so a smaller notes list means there is more to page through.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "searchNotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOnly notes carrying this tag, matched exactly and case-insensitively.
textNoCase-insensitive text to look for in the title or body. Omit to match every note.
limitNoHow many summaries to return, 1-100.
offsetNoHow many matches to skip, for paging. Defaults to 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is handled. The description adds real value by disclosing the return shape (summaries with short previews, not full bodies) and that `total` is a pre-limit count indicating more results to page through. It stops short of describing sort stability or performance characteristics, keeping this at a solid but not exceptional level.

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?

Two compact sentences with the primary purpose front-loaded and the return-shape caveat immediately after. Every clause carries information, though the paging remark is slightly dense in phrasing.

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?

With no output schema, the description steps in to describe what comes back (summaries with previews) and how to detect more results via `total`. Combined with full schema coverage and read-only annotations, nothing an agent needs to call this correctly is missing.

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%, so each parameter is fully documented in the schema; baseline is 3. The description does clarify the relationship between `total` and `limit` for paging, which adds meaning beyond the schema fields.

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 and resource ("Find notes") plus matching dimensions (text and/or tag) and ordering ("newest first"). It also distinguishes itself from the sibling readNote by declaring the result is summaries, not full bodies.

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?

Explicitly routes the agent to readNote when the full body is needed, and the note about `total` versus the `notes` list gives paging guidance. It does not cover when to prefer tag-only versus text-only filtering, but the core alternative is named.

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