Skip to main content
Glama
mcasdfgf

MCP Roo Memory

vector_search

Search across all indexed layers to find relevant knowledge by meaning. Returns nodes sorted by relevance score for context expansion.

Instructions

Semantic vector search across all indexed layers (Entity + Chunk + Fact). Use to FIND RELEVANT KNOWLEDGE by meaning. Returns nodes sorted by relevance score. Then use graph_get_node or desktop_focus to expand the context. This is the PRIMARY entry point for the regression search pattern: 1. vector_search (meaning) -> 2. graph_get_node (context) -> 3. read files (specifics).

CROSS-PROJECT: without workspace_id, searches ALL workspaces. Add workspace_id to narrow to one project.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesNatural language search query
workspace_idNoOptional. Omit to search ALL projects (cross-project). Set to narrow to one project.
top_kNo
time_fromNoISO 8601 start time filter (optional)
time_toNoISO 8601 end time filter (optional)
Behavior4/5

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

No annotations are provided, so the description carries full burden. It discloses that results are nodes sorted by relevance score and mentions cross-project behavior. It does not cover rate limits or authentication, but for a read-only search tool, the behavioral disclosure is adequate.

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 concise and well-structured: first sentence states purpose, second provides result handling, third gives a clear usage pattern, and fourth explains cross-project behavior. Every sentence adds value with no redundancy.

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

Completeness5/5

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

Given the tool's complexity (semantic search across multiple indexed layers without output schema), the description provides sufficient context: purpose, usage pattern, parameter behavior, and follow-up tools. It is complete for effective agent selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 80% (4 of 5 parameters described in schema). The description adds value by explaining the workspace_id parameter's cross-project behavior and implies the top_k default. It adds modest meaning beyond the schema, justifying a score above baseline 3.

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 clearly states the tool does semantic vector search across indexed layers (Entity + Chunk + Fact) to find relevant knowledge by meaning. It distinguishes from siblings by emphasizing it is the primary entry point for regression search, contrasting with tools like graph_get_node or desktop_focus.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use: for finding relevant knowledge by meaning, and outlines a regression search pattern (1. vector_search -> 2. graph_get_node -> 3. read files). It also clarifies cross-project behavior with workspace_id, helping the agent decide when to narrow scope.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mcasdfgf/mcp-roo-memory'

If you have feedback or need assistance with the MCP directory API, please join our Discord server