Skip to main content
Glama
SimpleMem MCP Server

SimpleMem MCP Server

by Jiaaqiliu

ask

Answers questions from stored conversation memories using hybrid semantic, lexical, and symbolic retrieval, with query planning and reflection for complex queries.

Instructions

Ask a question to the SimpleMem system. Uses three-stage retrieval: semantic (vector), lexical (BM25), and symbolic (metadata). Includes planning-based query decomposition and reflection for complex questions. Returns a concise answer based on retrieved memories.

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": {
      "question": "<question>"
    },
    "name": "ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
questionYesQuestion to ask (e.g., "When and where will Alice meet Bob?")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose meaningful internals: three-stage retrieval, query decomposition, and reflection, plus that the output is a synthesized answer rather than raw memories. It omits operationally relevant traits an agent would want: that multi-stage retrieval is likely slower/costlier, and what happens when the memory store is empty or the answer is not found.

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?

Four sentences, front-loaded with the purpose and followed by the return behavior. The middle passage on BM25/symbolic retrieval and reflection is implementation detail that does not help tool selection and could be trimmed, but it is compact and does not obscure the call.

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?

For a one-parameter, annotation-free tool with no output schema, the description covers what it does and what it returns. It is incomplete on cost/latency, failure modes when nothing relevant is stored, and when to prefer a sibling retrieval tool.

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?

The single parameter has 100% schema description coverage including a concrete example, so the schema already does the explanatory work. The description adds no constraint on question phrasing, length, or scope, making the baseline 3 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?

States a specific verb and target ("Ask a question to the SimpleMem system") and clarifies the return shape ("a concise answer based on retrieved memories"), which implicitly separates it from memory-listing siblings like search_memories. It stops short of naming any sibling explicitly, so the distinction from search_memories must be inferred.

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 explicit when-to-use or when-not-to-use guidance and no alternative tool is named, despite search_memories being the obvious competing option. The clause "for complex questions" hints at a use case, but an agent must guess whether to call ask or search_memories for a given retrieval need.

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