memory_search
A read tool on the Agent-Memory-OS MCP server.
This record as markdown: /tools/agent-memory-os/memory-search.md
What memory_search does on Agent-Memory-OS
AI agents call memory_search to retrieve information from Agent-Memory-OS without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
Why memory_search is rated Low
The tool name 'memory_search' strongly implies data retrieval or querying without modification. While the description is uninformative, the context of a memory system and the pattern of sibling tool names support classification as Read.
From the tool's definition Tool name is 'memory_search' with an empty description. Based on the naming convention and the sibling tools on this server (memory_add, memory_consolidate, memory_recall_feedback, etc.), 'search' indicates a query/retrieval operation with no side effects.
Attacks that exploit this kind of access
The rule that runs memory_search safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Agent-Memory-OS, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For memory_search, this is the rule to start with:
memory_search is read-only, so it stays allowed. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Agent-Memory-OS, apply this rule, and every memory_search call is checked against it from then on.
Questions about memory_search
memory_search is a read tool on the Agent-Memory-OS MCP server. It is categorised as a Read tool in the Agent-Memory-OS MCP Server, which means it retrieves data without modifying state.
Register the Agent-Memory-OS MCP server in PolicyLayer and add a rule for memory_search: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Agent-Memory-OS. Nothing to install.
memory_search is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the memory_search rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for memory_search. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
memory_search is provided by the Agent-Memory-OS MCP server (yamantaka520/Agent-Memory-OS). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Agent-Memory-OS, and thousands of servers like it.
This server
Across the catalogue