Skip to main content
Glama

search_memory_vector

Read-only

Retrieve relevant stored memories by vector similarity for a query, with optional result count and memory-kind filters.

Instructions

Search memory by vector similarity (requires sentence-transformers + turbovec).

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_memory_vector"
  }
}

Input Schema

NameRequiredDescriptionDefault
kNo
kindNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.14.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful runtime context by disclosing the optional dependencies the tool needs, but says nothing about failure behavior when those dependencies are absent or about result ordering/scoring.

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 sentence with the search mechanism stated first and the dependency caveat parenthesized. Nothing is redundant, though the extreme brevity means little of substance is delivered.

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?

An output schema exists, so return values need not be described. However, for a 3-parameter tool with zero schema documentation, the description does not explain the k or kind parameters or how vector search differs from the sibling search tool, leaving real gaps before invocation.

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%, and the description gives no meaning for any of the three parameters. Notably, 'k' (default 5) and 'kind' (nullable string filter) are entirely unexplained, so an agent cannot tell what kind expects or that k controls result count.

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?

The description states a specific verb and resource plus the retrieval mechanism: 'Search memory by vector similarity'. That mechanism phrase implicitly separates it from the plain search_memory sibling, but the alternative is never named, so the agent must infer the distinction.

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 search_memory as the alternative for non-vector retrieval. The only contextual hint is the dependency note '(requires sentence-transformers + turbovec)', which signals a prerequisite but not selection criteria.

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