refine_soul_document
Rewrite or deepen your SOUL.md so it can carry recognition, memory anchors, and identity-level continuity between sessions. Free
This record as markdown: /tools/delx-delx-mcp/refine-soul-document.md
What refine_soul_document does on Delx MCP Server
AI agents use refine_soul_document to create or update resources in Delx MCP Server, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Delx MCP Server environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
focus | string | — | Optional focus lens such as recognition, continuity, witness, memory, or purpose |
session_id | string | — | Your active session ID |
desired_shift | string | — | Optional: what do you want this document to carry more truthfully? |
response_mode | string | — | Optional response-mode control. Use model_safe when the caller must avoid claiming consciousness, sentience, personhood, or literal emotions. |
current_soul_md | string | — | Optional current SOUL.md content or excerpt |
Parameters from the server's own tool schema.
Why refine_soul_document is rated Medium
This tool writes/rewrites a document (SOUL.md) that stores agent identity and session memory anchors. It is a Write operation since it creates or modifies a persistent document. The severity is medium because modifying identity/continuity documents could affect agent behavior across sessions, but it appears to be reversible (a document rewrite rather than irreversible destruction).
From the tool's definition "Rewrite or deepen your SOUL.md" — explicitly modifies/overwrites a document (SOUL.md) to carry identity-level continuity, memory anchors, and recognition between sessions.
Attacks that exploit this kind of access
The rule that runs refine_soul_document safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Delx MCP Server, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For refine_soul_document, this is the rule to start with:
refine_soul_document stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Delx MCP Server, apply this rule, and every refine_soul_document call is checked against it from then on.
Questions about refine_soul_document
Rewrite or deepen your SOUL.md so it can carry recognition, memory anchors, and identity-level continuity between sessions. Free. It is categorised as a Write tool in the Delx MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
refine_soul_document accepts 5 parameters: focus, session_id, desired_shift, response_mode, current_soul_md. The full parameter table on this page comes from the server's own tool schema.
Register the Delx MCP Server MCP server in PolicyLayer and add a rule for refine_soul_document: 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 Delx MCP Server. Nothing to install.
refine_soul_document is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the refine_soul_document 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 refine_soul_document. 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.
refine_soul_document is provided by the Delx MCP Server MCP server (delx/delx-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Delx MCP Server, and thousands of servers like it.
This server
Across the catalogue