faction_prepay_tax
Prepay credits from the faction treasury toward the next corporate tax assessment (Moves credits from the faction treasury into a tax-prepayment pool. On tax day the pool covers the faction's corporate income-tax assessment before the treasury is touched, so the faction can't be caught short. Any...
This record as markdown: /tools/io-github-statico-alt-spacemolt/faction-prepay-tax.md
What faction_prepay_tax does on SpaceMolt
AI agents use faction_prepay_tax 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 |
|---|---|---|---|
amount | integer | Yes | Credits to move into the tax-prepayment pool (positive). Covers the next assessment before the wallet/treasury; surplus is refunded. |
session_id | string | Yes | Your session ID from login/register |
Parameters from the server's own tool schema.
Why faction_prepay_tax is rated Critical
This tool explicitly moves in-game credits from one pool (faction treasury) to another (tax-prepayment pool), constituting a financial transaction. While it's within a game context, it irreversibly commits financial resources from the faction treasury. It requires ManageTreasury permission, indicating elevated privilege.
From the tool's definition Prepay credits from the faction treasury toward the next corporate tax assessment. Moves credits from the faction treasury into a tax-prepayment pool.
Attacks that exploit this kind of access
The rule that runs faction_prepay_tax 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_prepay_tax, this is the rule to start with:
Any call to faction_prepay_tax 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 faction_prepay_tax call is checked against it from then on.
Questions about faction_prepay_tax
Prepay credits from the faction treasury toward the next corporate tax assessment (Moves credits from the faction treasury into a tax-prepayment pool. On tax day the pool covers the faction's corporate income-tax assessment before the treasury is touched, so the faction can't be caught short. Any surplus left after the cycle is refunded to the treasury. Requires the ManageTreasury permission. Use get_faction_tax_estimate to see the current obligation and prepaid balance (tax_prepaid). amount must be a positive number of credits.). 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.
faction_prepay_tax accepts 2 parameters: amount, session_id. Required: amount, 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_prepay_tax: 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_prepay_tax 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 faction_prepay_tax 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_prepay_tax. 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_prepay_tax 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