Skip to main content
Glama
Memory MCP Server

Memory MCP Server

by Nareshtt

search_memory

Find stored memories by query, type, tags, or namespace to retrieve relevant user preferences, context, and decisions across AI sessions.

Instructions

Search memories by query, type, tags, or namespace

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

Input Schema

NameRequiredDescriptionDefault
tagsNoFilter by tags (matches any)
typeNoFilter by memory type
queryNoSearch query to match in memory content
namespaceNoFilter by namespace

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden and largely drops it. It says nothing about whether this is a safe read, how multiple filters combine (AND vs OR), what happens with zero filters (return all? error?), result ordering, or any pagination/limit behavior, all of which matter 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?

A single short sentence that is front-loaded with the verb and resource, with zero filler. It is efficient, though efficiency here comes at the cost of the guidance the definition lacks.

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

Completeness2/5

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

For a search tool with no annotations and no output schema, the definition leaves too much unspecified: filter combination semantics, no-parameter behavior, and result shape are all absent. The 100%-covered input schema compensates for parameter meaning but not for behavior.

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% and every parameter already documents itself (tags "matches any", query matches content, type, namespace). The description merely restates the parameter names in prose and adds no meaning beyond the schema, so the baseline 3 is appropriate.

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?

"Search memories by query, type, tags, or namespace" names a specific verb (Search) and resource (memories) and enumerates the four filter dimensions, so the agent knows exactly what the tool does. It does not, however, distinguish itself from the sibling list_memories or get_memory, leaving the boundary implicit.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no exclusions, and no mention of alternatives such as list_memories (browse everything) or get_memory (fetch one by id). The agent must infer from the name alone that this is the filtered-lookup option; usage is only implied.

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