Skip to main content
Glama
MCP Memory Server

MCP Memory Server

search_memories

Retrieves stored project memories by query, type, and tags to provide relevant context across AI chat sessions.

Instructions

Search memories by query, type, and tags

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_memories"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNo
limitNo
queryYes
typesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

C2.4/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden and delivers almost none of it. It does not say whether results are ranked by relevance, whether matching is substring or semantic, how results are paginated, or what fields come back; the only signal is the implied read-only nature of "search".

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 front-loaded clause with no filler, which is the right shape for a simple search tool. The terseness tips into under-specification rather than verbosity, but nothing is wasted.

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?

With four parameters, zero schema description coverage, no annotations, and no output schema, the definition leaves too much unresolved: the meaning of types and limit, matching semantics, and result shape are all undisclosed. For a search tool with an enum-bearing filter, this is materially incomplete.

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?

Schema description coverage is 0%, so the description must compensate, and it only echoes parameter names (query, tags, and "type" vs the actual "types" array). It says nothing about the entity/concept/session enum values or about the limit parameter's effect, leaving two thirds of the parameters unexplained beyond their names.

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

Purpose3/5

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

"Search memories by query, type, and tags" gives a clear verb+resource, so the basic action is unambiguous. However, it names no alternatives and gives no hint about what distinguishes it from siblings like list_memories or get_memory, so an agent must infer its scope from the name alone.

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 or when-not-to-use guidance and no mention of alternatives such as list_memories for unfiltered enumeration. The only implied cue is that a query is required, which is already visible in the schema's required list.

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