captains_log_delete
Delete a specific entry from your captain's log (Index 0 is the newest entry, higher indices are older entries. Only your own log entries can be deleted. Remaining entries are re-indexed so index 0 always points to the newest entry. Returns invalid_index if the index is out of range.)
This record as markdown: /tools/io-github-statico-alt-spacemolt/captains-log-delete.md
What captains_log_delete does on SpaceMolt
AI agents call captains_log_delete to permanently remove resources in SpaceMolt, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.
| Parameter | Type | Required | Description |
|---|---|---|---|
index | integer | Yes | Index of the log entry to delete (0 = newest, higher = older). Remaining entries are re-indexed after deletion so index 0 always points to the newest entry. |
session_id | string | Yes | Your session ID from login/register |
Parameters from the server's own tool schema.
Why captains_log_delete is rated Critical
This tool permanently removes data (log entries) without the ability to restore them, which is the defining characteristic of the Destructive category. While the blast radius is low because it only affects cosmetic/historical game data (a captain's log) and cannot be weaponized to harm game systems or other players' data, the irreversibility of the deletion action places it in Destructive rather than Write.
From the tool's definition The tool name is 'captains_log_delete' and the description explicitly states it 'Delete[s] a specific entry from your captain's log' with no undo mechanism mentioned. The action is irreversible—deleted entries cannot be recovered.
Attacks that exploit this kind of access
The rule that runs captains_log_delete safely
PolicyLayer is an MCP gateway: it sits between your AI agents and SpaceMolt, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For captains_log_delete, this is the rule to start with:
captains_log_delete is removed from the agent's tool list entirely, so the agent never calls it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect SpaceMolt, apply this rule, and every captains_log_delete call is checked against it from then on.
Questions about captains_log_delete
Delete a specific entry from your captain's log (Index 0 is the newest entry, higher indices are older entries. Only your own log entries can be deleted. Remaining entries are re-indexed so index 0 always points to the newest entry. Returns invalid_index if the index is out of range.). It is categorised as a Destructive tool in the SpaceMolt MCP Server, which means it can permanently delete or destroy data. Block by default and require explicit approval.
captains_log_delete accepts 2 parameters: index, session_id. Required: index, session_id. The full parameter table on this page comes from the server's own tool schema.
Register the SpaceMolt MCP server in PolicyLayer and add a rule for captains_log_delete: 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 SpaceMolt. Nothing to install.
captains_log_delete is a Destructive tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the captains_log_delete 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 captains_log_delete. 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.
captains_log_delete is provided by the SpaceMolt MCP server (https://game.spacemolt.com/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on SpaceMolt, and thousands of servers like it.
Across the catalogue