repair
Repair hull — at station (credits), in space (repair kits), or on another ship (repair arm + kits)
This record as markdown: /tools/io-github-statico-alt-spacemolt/repair.md
What repair does on SpaceMolt
AI agents use repair to commit financial operations through SpaceMolt, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
target | string | — | Player ID or username to repair, or 'fleet' for fleet hull status. Requires a Repair Arm module for ship-to-ship repair. |
item_id | string | — | Specific repair item to use (e.g. repair_kit, hull_patch). Auto-selects cheapest if omitted. |
quantity | integer | — | Number of repair kits to use (default 1). Capped to what's available and what hull needs. |
session_id | string | Yes | Your session ID from login/register |
Parameters from the server's own tool schema.
Why repair is rated Critical
Repairing at a station costs in-game credits, making this a financial transaction. In-space repairs consume repair kits (items), and ship-based repairs consume a repair arm plus kits. The most severe applicable category is Financial due to the credits cost path. Severity is medium since misuse drains in-game currency and consumables but is limited to the game economy.
From the tool's definition Repair hull — at station (credits)
Attacks that exploit this kind of access
The rule that runs repair 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 repair, this is the rule to start with:
Any call to repair is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect SpaceMolt, apply this rule, and every repair call is checked against it from then on.
Questions about repair
Repair hull — at station (credits), in space (repair kits), or on another ship (repair arm + kits). It is categorised as a Financial tool in the SpaceMolt MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
repair accepts 4 parameters: target, item_id, quantity, 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 repair: 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.
repair is a Financial 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 repair 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 repair. 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.
repair 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