Skip to main content
Glama

Price a Rust base: build/upgrade cost, upkeep, decay, HP and the cheapest raid path

evaluate_base_design
Read-onlyIdempotent

[Calculators] Price a Rust base: build/upgrade cost, upkeep, decay, HP and the cheapest raid path. The base designer's numbers for one design (https://rust.wiki/base-designer): cost (twig placement, upgrade, deployables = door/deployable recipes, total), upkeep (per_day/per_week by resource, rate_pct = the bracketed tax rate over blocks, group_multiplier), hp, decay (if the TC runs dry: first_piece_hours, tc_open_hours = when a free way in to the TC opens, all_gone_hours), and raid: the cheapest path from outside to the TC (raid.tc), to each loot room (raid.loot) and the whole raid (raid.full, TC first then each loot room). Each path has sulfur (or seconds/tools in eco mode), explosives, raw resources and its layers in order (piece index, name, the explosives for that layer, side soft/hard for eco raids, splash onto nearby pieces). Layers marked unverified are foundation steps, priced like a wall of the same grade as the game files say (pending an in-game check). page opens the same base in the 3D designer. Pieces the design gets wrong come back in warnings. Use for 'how much to build / upkeep / raid my base': pass size=2x2 (+ floors, grade, door) for a plain base, template= for an example, or design= (JSON or a rust.wiki/base-designer link the user shares). raid.tc is the cheapest way to the tool cupboard, layer by layer. Give the user page: it opens the base in the 3D designer.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "evaluate_base_design"
  }
}

Input Schema

NameRequiredDescriptionDefault
ecoNoTool for `mode=eco`.jackhammer
doorNoWith `size`: the front door's item shortname.door.hinged.metal
modeNo`mix` (cheapest mix of explosives per piece, the raid calculator's default), `single` (one explosive per piece) or `eco` (melee, priced in seconds of work - soft sides matter).mix
sizeNoInstead of `design`: a plain rectangular base of W x D square foundations, walls all round, one front door, the TC and two large boxes inside - e.g. 2x2.
decayNoRun the no-upkeep decay simulation.
gradeNoWith `size`: the grade of every piece.stone
designNoA design as JSON: {"v":1,"p":[pieces]}, each piece {"t": type, "g": grade, "x": m, "z": m, "l": level, "r": degrees[, "y": m for wall/ceiling deployables]} - see /base-designer/pieces for the types (every placeable deployable included) and the coordinate rules. A rust.wiki/base-designer#d=... share link (or just its d= code) works too.
floorsNoWith `size`: storeys (stairs are added).
playersNoPlayers authorised on the TC (5 or more pay group upkeep).
templateNoOne of the example bases instead of `design`.
timelineNoInclude the decay timeline (hours, piece index) per destroyed piece.
explosivesNo`staples` (rockets, C4, satchels, explosive ammo, beancans), `all`, or a comma list of explosive shortnames.staples

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / design / description
      Previous value: -"A design as JSON: {\"v\":1,\"p\":[pieces]}, each piece {\"t\": type, \"g\": grade, \"x\": m, \"z\": m, \"l\": level, \"r\": degrees} - see /base-designer/pieces for the types and the coordinate rules. A rust.wiki/base-designer#d=... share link (or just its d= code) works too."New value: +"A design as JSON: {\"v\":1,\"p\":[pieces]}, each piece {\"t\": type, \"g\": grade, \"x\": m, \"z\": m, \"l\": level, \"r\": degrees[, \"y\": m for wall/ceiling deployables]} - see /base-designer/pieces for the types (every placeable deployable included) and the coordinate rules. A rust.wiki/base-designer#d=... share link (or just its d= code) works too."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already establish readOnly/idempotent/non-destructive, and the description adds real behavioral context beyond them: decay semantics are spelled out (first_piece_hours, tc_open_hours as 'when a free way in to the TC opens', all_gone_hours), and it warns that pieces the design gets wrong surface in `warnings` and that `unverified` layers are foundation steps priced like a wall pending an in-game check. That caveat is genuinely useful for interpreting results. It does not discuss limits on design size beyond schema, error behavior, or cost of large simulations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with a one-line purpose followed by output-group breakdown, usage trigger, and closing advice, which is the right ordering for scanning. It is dense with backticked field names but nearly every clause carries information. The final sentence repeats the `page` guidance already stated mid-paragraph, a small redundancy.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates thoroughly by documenting the return shape field-by-field (cost.total, upkeep.rate_pct/group_multiplier, decay hour thresholds, raid.tc/loot/full with per-layer detail). For a 12-parameter tool with three input modes, this is enough for an agent to invoke it correctly and explain results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description goes beyond it: it clarifies the mutually exclusive input paths (size vs template vs design), what `mode=mix/single/eco` means in terms of pricing strategy, that `players` of 5+ pay group upkeep, and how raid paths decompose into sulfur/explosives/raw/layers with soft-vs-hard `side` for eco raids. Some params (decay, timeline, explosives) are only lightly touched in prose but are fully described in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource set — 'Price a Rust base: build/upgrade cost, upkeep, decay, HP and the cheapest raid path' — and enumerates the exact output groups (cost, upkeep, hp, decay, raid) so the agent knows precisely what comes back. It is distinguishable from narrower siblings like calculate_upkeep or calculate_raid_cost because it bundles all of them for one design.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives concrete when-to-use guidance with the trigger phrase 'how much to build / upkeep / raid my base' and explains the three input paths: size=2x2 for a plain base, template= for an example, design= for a shared JSON or rust.wiki link. It also instructs the agent to hand the user `page`. It stops short of naming alternative sibling tools or the conditions under which a caller should prefer calculate_base_cost over this.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources