Skip to main content
Glama
arman-tech

spatial-memory-mcp

by arman-tech

hybrid_recall

Search memories by combining vector and full-text keyword search, with adjustable balance (alpha), project scope, and similarity threshold.

Instructions

Search memories using combined vector and keyword (full-text) search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
alphaNoBalance: 1.0=pure vector, 0.0=pure keyword, 0.5=balanced
limitNoMaximum number of results
queryYesSearch query text
projectNoProject scope for this operation. Omit to auto-detect from environment. Use "*" to search across all projects.
_agent_idNoOptional agent identifier for request tracing and per-agent rate limiting.
namespaceNoFilter to specific namespace
min_similarityNoMinimum similarity threshold

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.11.4

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It communicates that the operation is a non-mutating search and reveals the hybrid retrieval behavior, which is useful. It does not describe result merging, ordering, or safety guarantees beyond the 'search' wording, so transparency is adequate but not deep.

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 one focused sentence with no filler. It front-loads the core purpose ('Search memories') and immediately states the distinguishing hybrid behavior.

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?

Given the rich parameter schema, the description is sufficient for basic invocation, but there is no explicit usage guidance, no mention of return shape, and no output schema to compensate. For a search tool this is acceptable, but not fully complete.

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%, so the parameters are already well documented. The description's 'vector and keyword' framing adds helpful context for the alpha parameter, but it does not add significant meaning for limit, project, namespace, or min_similarity beyond what the schema already provides.

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 names a specific operation ('Search memories') and a distinguishing mechanism ('combined vector and keyword (full-text) search'). This clearly separates hybrid_recall from sibling recall and other memory tools, so an agent can infer what makes this tool different.

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?

The description implies when to use hybrid_recall — when both semantic vector matching and keyword/full-text matching are desired — but it does not explicitly name alternatives or state when not to use it. The guidance is present by implication rather than direct routing.

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