Skip to main content
Glama

notes_search

Read-onlyIdempotent

Full-text search in your notebook. By default searches your own notes and the workspace's shared notes. Pass filter_agent_id= to search another agent's notebook, or "all" (or "*") for workspace-wide. Or list all notes for a person/thread by scope_ref_id.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 10, max 50)
queryNoText to search for in note keys and values. Optional if scope_ref_id is provided.
scopeNoLimit search to scope ('global' = agent)
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.
scope_ref_idNoFilter by specific thread_id or person_id. If provided without query, lists all notes for that ref.
filter_agent_idNoOptional. Omit to search your own notes (an agent: its notebook; a person over MCP: the whole workspace). Pass a numeric agent_id as a string (e.g. "57") to search another agent's notebook (read-only). Pass "all" or "*" to search across all agents in the workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / scope / description
      Previous value: -"Limit search to scope"New value: +"Limit search to scope ('global' = agent)"
    • changedInput schema / properties / scope / enum
      Previous value: -[
      -  "global",
      -  "thread",
      -  "person"
      -]New value: +[
      +  "workspace",
      +  "agent",
      +  "global",
      +  "thread",
      +  "person"
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  3. Added
  4. Removed
  5. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description's job is supplementary — and it delivers: default search scope, that other agents' notebooks are read-only, and that in_workspace stores nothing and leaves other sessions unaffected. It stops short of describing result shape or ranking/truncation behavior beyond the schema's limit field.

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?

Three front-loaded sentences that move from default behavior to cross-agent filtering to list mode. Slight redundancy with the schema's own parameter descriptions, but no filler.

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 six-parameter, zero-required search tool with no output schema, the description covers the scoping model and the search-vs-list duality that an agent most needs. Result contents and pagination are left implicit but are partly covered by the schema's limit field.

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 the baseline is 3, and the description largely restates the schema text for filter_agent_id and scope_ref_id rather than adding new meaning. The one useful addition is the explicit framing of query-optional list mode.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource ('Full-text search in your notebook') and clarifies that results span both personal and workspace-shared notes. It does not explicitly contrast with near-neighbour tools such as notes_recall or search_files, so an agent still has to infer the boundary.

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?

It states the default behavior, tells the agent how to reach another agent's notebook via filter_agent_id, and notes the alternative list-all mode through scope_ref_id. No when-not-to-use guidance or named alternative tool is given, which keeps it below a 5.

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