Skip to main content
Glama

memory_search

Search stored memory items using semantic similarity or keyword matching. Filter results by user and scope for data isolation.

Instructions

Search across memory items using semantic similarity or keyword matching. Filter by user_id and scope for isolation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kNo
as_ofNo
queryYes
scopeNo
user_idNo
variantNo
databaseNo
adaptive_kNo
search_modeNohybrid
type_filterNo
agent_filterNo
recency_biasNo
conversation_idNo
include_bench_dataNo
include_scratchpadNo
Behavior2/5

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

No annotations are provided, so the description carries full burden. It discloses semantic/keyword matching and isolation filters, but fails to mention read-only nature, side effects, pagination, result ordering, or defaults for many parameters.

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?

Description is a single sentence, concise and front-loaded, but could be slightly more structured to list key parameters or behaviors without becoming verbose.

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

Completeness1/5

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

Given 15 parameters and no output schema or annotations, the description is grossly inadequate. It omits search modes, ranking, return format, and any nuance around the many configurable options.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema coverage, description only explains two parameters (user_id, scope) out of 15. The meaning of query, k, as_of, search_mode, and others is left entirely to the schema, which has no descriptions.

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?

Description clearly states it searches memory items using semantic similarity or keyword matching, which is a specific verb+resource. It doesn't explicitly differentiate from sibling tools like memory_get, but the purpose is clear.

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?

Description mentions filtering by user_id and scope for isolation, implying usage for isolated searches, but no explicit when-to-use or alternatives are provided.

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/skynetcmd/m3-memory'

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