Skip to main content
Glama

Sulfur, charcoal and raw materials for any number of explosives

calculate_sulfur
Read-onlyIdempotent

[Calculators] Sulfur, charcoal and raw materials for any number of explosives. The sulfur calculator page (https://rust.wiki/calculators/sulfur): each explosive's crafting recipe resolved down to raw materials (gunpowder and explosives broken into sulfur and charcoal - the raid calculator's own numbers). resources is the shopping list (sulfur first), to_farm the sulfur ore (smelts 1:1) and wood to burn for the charcoal, and with sulfur the budget table: how many rockets, C4, satchels... that sulfur makes. Every explosive's sulfur_each is in the budget table and in /calculators/raid.

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

Input Schema

NameRequiredDescriptionDefault
sulfurNoOptional: the sulfur you have - how many of each standard explosive it makes.
explosivesNoComma-separated `shortname:count` explosives (names work too), e.g. rockets, C4, satchels, explosive ammo, beancans.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, non-destructive closed-world calculation, so the safety burden is lifted. The description adds real behavioral context beyond that: the output structure (`resources`, `to_farm`, `budget`), the 1:1 ore-to-sulfur smelting assumption, and the sourcing page for the numbers.

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

Conciseness5/5

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

Two dense but purposeful sentences: the first describes the material breakdown, the second maps the output keys and the optional-parameter behavior. Field names are front-loaded in backticks, and there is no filler.

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

Completeness4/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 does its job by enumerating the return fields and explaining what each contains, plus the smelting assumption behind `to_farm`. It is slightly cryptic about the exact shape of `resources` and `budget` entries, but sufficient for a two-parameter read-only calculator.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented, including the `shortname:count` format and the sulfur maximum. The description reinforces that `sulfur` is optional and switches the response to a budget table, but adds little syntax or meaning the schema does not already carry.

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?

The description states a specific verb and resource: resolving explosive crafting recipes down to raw sulfur and charcoal, plus a budget calculation when sulfur is supplied. It is clearly not a generic cost calculator, though it only gestures at the raid calculator ('the raid calculator's own numbers') without stating how it differs from the sibling calculate_raid_cost.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: supplying `sulfur` yields a budget table, omitting it yields raw-material shopping lists. There is no explicit 'use this instead of calculate_raid_cost when...' guidance, so an agent must infer the boundary from the sibling name alone.

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