searchNotes

Search notes Semantic vector search across the authenticated user's notes. Returns notes ranked by cosine similarity to the query.

Server Memnote @randomfact/memnote-mcp-server
Category Read
Risk class Low
Parameters 31 required

What searchNotes does on Memnote

AI agents call searchNotes to retrieve information from Memnote without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
q string Yes Natural language search query
limit integer Max results (1–20, default 10)
includeDeleted boolean Include soft-deleted notes (default false)

Parameters from the server's own tool schema.

Why searchNotes needs a policy

The tool searches and retrieves notes based on vector similarity but does not create, modify, delete, execute external code, or move money. It is a read-only query operation with minimal blast radius—worst case, it returns information the authenticated user already has access to.

From the tool's definition Tool description explicitly states it performs 'Semantic vector search across the authenticated user's notes' and 'Returns notes ranked by cosine similarity to the query.' This is a retrieval operation with no modification or deletion of data.

Questions about searchNotes

What does the searchNotes tool do? +

Search notes Semantic vector search across the authenticated user's notes. Returns notes ranked by cosine similarity to the query. It is categorised as a Read tool in the Memnote MCP Server, which means it retrieves data without modifying state.

What parameters does searchNotes accept? +

searchNotes accepts 3 parameters: q, limit, includeDeleted. Required: q. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on searchNotes? +

Register the Memnote MCP server in PolicyLayer and add a rule for searchNotes: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Memnote. Nothing to install.

What risk level is searchNotes? +

searchNotes is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit searchNotes? +

Yes. Add a rate_limit block to the searchNotes rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block searchNotes completely? +

Set action: deny in the PolicyLayer policy for searchNotes. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides searchNotes? +

searchNotes is provided by the Memnote MCP server (@randomfact/memnote-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.