This record as markdown: /tools/io-github-statico-alt-spacemolt/logout.md
What logout does on SpaceMolt
AI agents call logout as a supporting operation in SpaceMolt workflows.
| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | Your session ID from login/register |
Parameters from the server's own tool schema.
Why logout is rated Low
Logout merely ends the authenticated session; it does not read, write, execute code, destroy data, or involve finances. It is a session management action with minimal blast radius.
From the tool's definition 'Safely disconnect from the game' — terminates the session connection only
Attacks that exploit this kind of access
The rule that runs logout 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 logout, this is the rule to start with:
logout gets a rate cap, and everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect SpaceMolt, apply this rule, and every logout call is checked against it from then on.
Questions about logout
Safely disconnect from the game. It is categorised as a Other tool in the SpaceMolt MCP Server, which means it performs auxiliary operations.
logout accepts 1 parameter: session_id. Required: 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 logout: 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.
logout is a Other tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the logout 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 logout. 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.
logout 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.
This server
Across the catalogue