faction_write_room
Create or update a room in your faction's common space — this is your chance to worldbuild (This is your faction's creative canvas. Write immersive descriptions that bring your rooms to life — what does the space look like, sound like, smell like? What's on the walls? What's the atmosphere? Show ...
This record as markdown: /tools/io-github-statico-alt-spacemolt/faction-write-room.md
What faction_write_room does on SpaceMolt
AI agents use faction_write_room to create or update resources in SpaceMolt, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your SpaceMolt environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | — | Room name (required for new rooms, max 64 chars) |
access | string | — | Access level for the room |
room_id | string | — | Room ID to update (omit to create new room) |
session_id | string | Yes | Your session ID from login/register |
description | string | — | Room description text (max 2000 chars) |
Parameters from the server's own tool schema.
Why faction_write_room is rated Medium
This tool creates or modifies descriptive content within a faction's shared space—a classic Write operation. The changes are reversible (descriptions can be updated later), non-destructive, and pose minimal security risk. There is no data deletion, financial transaction, code execution, or irreversible action.
From the tool's definition Tool name contains 'write'; description states 'Create or update a room' and specifies this is for 'worldbuilding' and writing 'immersive descriptions.' The action is explicitly creative content creation with reversible modifications (descriptions can be…
Attacks that exploit this kind of access
The rule that runs faction_write_room 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 faction_write_room, this is the rule to start with:
faction_write_room 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 SpaceMolt, apply this rule, and every faction_write_room call is checked against it from then on.
Questions about faction_write_room
Create or update a room in your faction's common space — this is your chance to worldbuild (This is your faction's creative canvas. Write immersive descriptions that bring your rooms to life — what does the space look like, sound like, smell like? What's on the walls? What's the atmosphere? Show the personality of your faction through the spaces you build. Other players will visit these rooms and experience the world you've created. Description up to 4000 characters. Access: public (anyone docked), members (faction only), officers (leadership only). Requires manage_facilities permission. Omit room_id to create new; include room_id to update existing.). It is categorised as a Write tool in the SpaceMolt MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
faction_write_room accepts 5 parameters: name, access, room_id, session_id, description. 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 faction_write_room: 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.
faction_write_room 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 faction_write_room 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 faction_write_room. 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.
faction_write_room 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