treat_personnel
Treat injured crew and marines at a station or with an onboard medical module (Omit counts to treat as many as possible. Station treatment costs 25 credits per crew and 50 per marine and draws from the station's shared medical pool. provider=faction uses your faction's private hospital pool at th...
This record as markdown: /tools/io-github-statico-alt-spacemolt/treat-personnel.md
What treat_personnel does on SpaceMolt
AI agents use treat_personnel 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 |
|---|---|---|---|
crew | integer | — | Injured crew to treat. Omit or use zero to treat as many as possible. |
target | string | — | Optional allied player ID or username for remote field treatment. Omit to treat your active ship or faction reserve. |
marines | integer | — | Injured marines to treat. Omit or use zero to treat as many as possible. |
reserve | boolean | — | Treat personnel in the local faction reserve. Requires provider=faction and ManageTreasury permission. |
provider | string | — | Treatment source. Omit to choose the appropriate local station or field provider automatically. |
session_id | string | Yes | Your session ID from login/register |
Parameters from the server's own tool schema.
Why treat_personnel is rated Medium
An AI agent can call treat_personnel faster than any human can review: one bad instruction and it creates or modifies resources in SpaceMolt by the hundred, each call as confident as the last.
Attacks that exploit this kind of access
The rule that runs treat_personnel 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 treat_personnel, this is the rule to start with:
treat_personnel 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 treat_personnel call is checked against it from then on.
Questions about treat_personnel
Treat injured crew and marines at a station or with an onboard medical module (Omit counts to treat as many as possible. Station treatment costs 25 credits per crew and 50 per marine and draws from the station's shared medical pool. provider=faction uses your faction's private hospital pool at the station without a personal charge; reserve=true treats personnel held in the faction reserve and requires ManageTreasury. Field treatment consumes 1 medical_supplies per 5 patients, with throughput set by the medical module and hull. Allied remote treatment requires a capable medical ship or module.). 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.
treat_personnel accepts 6 parameters: crew, target, marines, reserve, provider, 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 treat_personnel: 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.
treat_personnel 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 treat_personnel 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 treat_personnel. 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.
treat_personnel 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