Skip to main content
Glama

search_memories

Search stored memories using advanced text matching to retrieve relevant data by querying titles, content, and metadata. Supports filters by category, relevance threshold, and result limits.

Instructions

Intelligently search through your stored memories using advanced text matching algorithms to quickly find relevant information. Features multi-field search across titles, content, and metadata with customizable relevance scoring - perfect for retrieving past decisions, preferences, or contextual information when you need it most.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoFilter results to memories in this specific category
limitNoMaximum number of results to return (default: 10)
queryYesThe search query text to find matching memories
thresholdNoMinimum relevance threshold 0-1 (default: 0.3)
workingDirectoryYesThe full absolute path to the working directory where data is stored. MUST be an absolute path, never relative. Windows: "C:\Users\username\project" or "D:\projects\my-app". Unix/Linux/macOS: "/home/username/project" or "/Users/username/project". Do NOT use: ".", "..", "~", "./folder", "../folder" or any relative paths. Ensure the path exists and is accessible before calling this tool. NOTE: When server is started with --claude flag, this parameter is ignored and a global user directory is used instead.
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It adds useful context about 'advanced text matching algorithms,' 'customizable relevance scoring,' and 'quickly find relevant information,' which hints at performance and functionality. However, it doesn't disclose critical behavioral traits like whether this is a read-only operation, potential rate limits, authentication needs, or error conditions, leaving gaps for a search tool.

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?

The description is appropriately sized and front-loaded, starting with the core purpose and key features. Both sentences earn their place by adding value: the first defines the tool, and the second elaborates on use cases. It could be slightly more concise by integrating the use case into the first sentence, but overall it's efficient with zero waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool's moderate complexity (search with 5 parameters), no annotations, and no output schema, the description is incomplete. It covers purpose and some behavioral context but lacks details on return values (e.g., result format, pagination), error handling, or performance constraints. For a search tool without structured output documentation, this leaves significant gaps for an AI agent.

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 schema already documents all 5 parameters thoroughly. The description adds marginal value by implying the 'query' parameter uses text matching and 'threshold' relates to relevance scoring, but doesn't provide additional syntax, format details, or meaning beyond what the schema provides. Baseline 3 is appropriate when the schema does the heavy lifting.

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 clearly states the tool's purpose with specific verbs ('search through your stored memories') and resources ('memories'), distinguishing it from siblings like 'get_memory' (single retrieval) and 'list_memories' (unfiltered listing). It specifies advanced text matching and multi-field search across titles, content, and metadata, making the purpose highly specific and differentiated.

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?

The description provides clear context for when to use this tool ('perfect for retrieving past decisions, preferences, or contextual information when you need it most'), but doesn't explicitly state when not to use it or name alternatives. It implies usage for filtered searching versus 'list_memories' for unfiltered listing, but lacks explicit exclusions or named sibling comparisons.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pimzino/agentic-tools-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server