Trigger an immediate (re-)index of a file, directory, or all sources.
AI agents invoke index_now to trigger actions in MemoryMesh. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call — builds kicked off, notifications sent, workflows started.
This tool executes a side-effecting operation (indexing) that modifies the internal state of the MemoryMesh system by processing files and updating indices. While not destructive (indices can be regenerated) or financial, it is an active operation that triggers external processing.
From the tool's definition Tool description states 'Trigger an immediate (re-)index of a file, directory, or all sources.' The verb 'trigger' combined with 'immediate (re-)index' indicates execution of an indexing operation whose effects depend on the file/directory argument provided.
Attacks that exploit this kind of access
Trigger an immediate (re-)index of a file, directory, or all sources. It is categorised as a Execute tool in the MemoryMesh MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.
Register the MemoryMesh MCP server in PolicyLayer and add a rule for index_now: 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 MemoryMesh. Nothing to install.
index_now is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.
Yes. Add a rate_limit block to the index_now 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 index_now. 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.
index_now is provided by the MemoryMesh MCP server (kilhubprojects/memory-mesh). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
index_now is one line of MemoryMesh's registry record.
The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.
Teams ship this data inside their own products. See what a licence covers →