Skip to main content
Glama

Search notes

notes_search
Read-onlyIdempotent

Find Apple Notes whose title or text contains every query word, ignoring case and accents; Recently Deleted is excluded unless include_deleted is true.

Instructions

Find notes whose title or text contains every word of the query (case and accent insensitive). Returns id, title, folder, dates and a snippet around the first word. Recently Deleted is left out unless include_deleted is true. Large results come in parts (see paging and cursor).

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax notes (default 25, up to 200).
queryYes
cursorNoLeave out at first. When a result has paging.has_more, repeat the call with the same arguments plus cursor set to paging.cursor to get the next part.
folderNoFolder id, path like "iCloud/Work/Projects", or a folder name that is unique. Emoji in folder names may be left out ("Reading" finds "📚 Reading") when that is unique.
offsetNoSkip this many (paging).
include_deletedNoAlso search Recently Deleted (default false).

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 declare read-only, idempotent, non-destructive, closed-world behavior, so the description only needs to add context — and it does: the return fields, the snippet around the first match, the default exclusion of Recently Deleted, and partitioned results via paging/cursor. Ordering of results and zero-hit behavior are the remaining gaps.

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?

Three tight sentences, front-loaded with what it finds and how matching works, followed by return shape and the two behavioral caveats. No filler, and the paging note is a useful pointer rather than repetition.

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?

With no output schema, the description correctly lists the returned fields and snippet, and it covers paging well enough to drive multi-call retrieval. Given six parameters at high schema coverage, the definition is nearly self-sufficient; only result ordering and empty-result behavior are unstated.

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 83%, so most parameters are already documented. The description still adds real meaning: the AND-of-words matching rule for query (which has no schema description at all), what include_deleted actually does, and that cursor is only used on follow-up calls when paging.has_more is set.

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 (Find) and resource (notes) plus the exact matching semantics: title or text must contain every word, case- and accent-insensitive. That verb+match description separates it from browsing tools such as notes_list or notes_read without needing to open any schema.

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

Usage Guidelines3/5

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

Usage is implied by the matching model — use it when you have query words rather than a note id or folder — but no alternative is named and no when-not case is stated. An agent must infer that notes_list or notes_read handle the non-query paths.

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