Skip to main content
Glama
Kotrotsos
by Kotrotsos

memory_search

Search stored memories using BM25 relevance ranking. Returns concise snippets; filter by namespace and tags for targeted results.

Instructions

Search memories using BM25 ranking. Returns snippets (first ~150 chars), not full content. Use memory_recall to fetch full content for specific results. Scope searches with namespace and tags for better relevance.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tagsNoFilter by tags (AND logic). Only memories with ALL specified tags are scored.
limitNoMax results to return. Default 10.
queryYesSearch query. Use specific terms for best results.
namespaceNoScope to a single namespace. Omit for global search across all namespaces.
Behavior5/5

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

With no annotations provided, the description carries the full burden. It discloses that only snippets (~150 chars) are returned, not full content, and mentions the BM25 ranking algorithm. This is valuable behavioral context that helps the agent set expectations.

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?

The description is three sentences long, front-loaded with the primary purpose, and every sentence adds value. It is concise and well-structured with no filler.

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?

Given the tool's simplicity and 100% schema coverage, the description covers the key return behavior (snippets, not full content) and provides a pointer to the complementary tool. There is no output schema, so this disclosure is sufficient for an agent to understand what to expect.

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 coverage is 100%, so the schema already explains every parameter (query, limit, namespace, tags). The description briefly mentions namespace and tags for scoping, but adds no new meaning beyond what the schema provides. Baseline 3 is appropriate.

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 opens with 'Search memories using BM25 ranking,' which clearly identifies the verb (Search) and resource (memories). It explicitly differentiates from the sibling tool memory_recall by noting this returns snippets, not full content.

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

Usage Guidelines5/5

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

It explicitly instructs to use memory_recall for full content, providing a clear alternative. It also advises scoping with namespace and tags for better relevance, giving practical guidance on when to use this tool effectively.

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

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/Kotrotsos/memento-core'

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