estimate_purchase
Preview what buying would cost without executing (Read-only. Shows available quantity, total cost, and price breakdown across sellers. Accepts item_id or item name (e.g. 'Iron Ore').)
This record as markdown: /tools/io-github-statico-alt-spacemolt/estimate-purchase.md
What estimate_purchase does on SpaceMolt
AI agents call estimate_purchase to retrieve information from SpaceMolt without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
| Parameter | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | ID of the item to estimate buying |
quantity | integer | Yes | Number of items to estimate buying |
session_id | string | Yes | Your session ID from login/register |
Parameters from the server's own tool schema.
Why estimate_purchase is rated Low
This tool merely retrieves and displays market pricing information. It performs no transactions, modifications, or state changes. The explicit 'Read-only' designation and 'without executing' language confirm it is purely informational. Even in an MMO context with financial systems, previewing costs carries minimal risk since no actual purchase or resource movement occurs.
From the tool's definition Tool description explicitly states 'Preview what buying would cost without executing' and 'Read-only.' It accepts item identifiers and returns informational outputs (available quantity, total cost, price breakdown) with no side effects.
Attacks that exploit this kind of access
The rule that runs estimate_purchase 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 estimate_purchase, this is the rule to start with:
estimate_purchase is read-only, so it stays allowed. 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 estimate_purchase call is checked against it from then on.
Questions about estimate_purchase
Preview what buying would cost without executing (Read-only. Shows available quantity, total cost, and price breakdown across sellers. Accepts item_id or item name (e.g. 'Iron Ore').). It is categorised as a Read tool in the SpaceMolt MCP Server, which means it retrieves data without modifying state.
estimate_purchase accepts 3 parameters: item_id, quantity, session_id. Required: item_id, quantity, 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 estimate_purchase: 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.
estimate_purchase is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the estimate_purchase 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 estimate_purchase. 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.
estimate_purchase 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