Skip to main content
Glama

Raid cost table: explosives and sulfur per building piece

get_raid_costs
Read-onlyIdempotent

[Calculators] Raid cost table: explosives and sulfur per building piece. The dataset behind the raid calculator. explosives lists every explosive the building durability data covers: shortname, name, icon_url, group (staples, other or siege), staple (true for rockets, C4, satchel charges, explosive 5.56 ammo and beancans - the page's default set), sulfur_per_unit and raw_cost_per_unit (the crafting recipe resolved down to raw resources such as sulfur, charcoal, metal fragments and low grade fuel, per single unit; both null for loot-only explosives like MLRS rockets), batch (units one craft makes: explosive ammo 2, mortar shells 2) and recipe_source (wiki = the wiki's own crafting data, fallback = Rust's standard recipe where that data has none yet, e.g. rockets). targets is every building piece with explosive data (slug, name, grade, health), each with costs - for every explosive that can damage it, required (how many destroy one piece), damage_per_unit and sulfur (null for loot-only) - and cheapest_staple, the single staple explosive that destroys it for the least sulfur. Damage from different explosives adds up, so a cheaper mix can be computed from damage_per_unit - or use /calculators/raid/compute, which runs the page's own mix search. Doors, hatches, high walls and other deployables are included as grade Deployable (the grade filter takes building grades). Cached for 24 hours. The full table is over 100 KB: pass gra

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": "get_raid_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
gradeNoRestrict `targets` to one building grade.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavior: 24-hour caching, payload size over 100 KB with a filtering remedy, null semantics for loot-only explosives (e.g. MLRS rockets), and the recipe_source fallback distinction. These are operational facts an agent cannot get from the annotations.

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?

Purpose is front-loaded in the first sentence and the rest is organized as bolded field-by-field return documentation with backticked names, which is scannable. It is dense and long for a one-parameter tool, and the final sentence trails off mid-word, but little of the text is filler given there is no output schema.

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?

With no output schema, the description carries the full burden of describing the response and does so thoroughly: both top-level collections, their fields, nullability, units, and the additive damage note that explains how to derive cheaper mixes. Caching and size caveats round it out; only the truncated tail is missing.

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, but the description adds real meaning: it explains that Deployable entries (doors, hatches, high walls) are present yet the grade filter only accepts building grades, which clarifies an otherwise confusing enum interaction. Minor unexplained oddity (the 'Boat' enum value) is not addressed.

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

Purpose4/5

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

States concretely what the tool returns: the raid cost dataset — explosives with sulfur/raw costs and targets (building pieces) with per-explosive costs. It distinguishes the raw-data nature of the call by pointing to '/calculators/raid/compute' for mix search, though it does not name a sibling tool such as calculate_raid_cost, so the separation is contextual rather than explicit.

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?

Tells the agent when to use it (want the underlying dataset) and when to go elsewhere ('use /calculators/raid/compute, which runs the page's own mix search'), and gives a payload-control hint ('pass gra...' i.e. the grade filter) for the 100 KB+ table. It stops short of explicitly comparing against the MCP sibling calculate_raid_cost, and the final sentence is truncated.

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