Skip to main content
Glama

Healing, comfort and heat sources, food/water drain, radiation, fall damage - from the code

get_survival_mechanics
Read-onlyIdempotent

[Game reference] Healing, comfort and heat sources, food/water drain, radiation, fall damage - from the code. Everything on https://rust.wiki/survival-mechanics. k: the constants read from the decompiled game code (heal conditions heal_*, drains, temperature, wetness, bleeding, radiation rad_*, fall damage fall_*, gravity). limits: the player's metabolism ranges. heal: HP/s by calories and comfort for a 100 HP player. drain: calories and water per minute by activity. comfort: every comfort source (comfort 0-1, full_within and zero_at metres, radius, kind deployable / map-placed / monument, count in the files). heat: every heat, cold and shade source (temperature, full_within, radius; shade rows cool by shade_cools in daylight). falls: damage at common heights (awake player, estimated gravity - see calculate_fall_damage). Use section= to keep it short (healing, comfort, heat, food, fall). Link https://rust.wiki/survival-mechanics.

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_survival_mechanics"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNoOnly one part: healing, comfort, heat, food, fall or constants.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readonly, idempotent, non-destructive, non-open-world behavior, so the safety profile is covered. The description adds meaningful context beyond that: the values are static constants read from decompiled game code (not live or player-specific), the canonical source URL, and what each returned block represents.

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

Conciseness3/5

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

It is front-loaded and every block describes a distinct return field, but the prose is a dense run-on of backticked identifiers and parenthetical field lists, and the wiki URL appears twice. Trimming the duplicated link and tightening the field enumerations would improve scanability without losing information.

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, so the description carries the full burden of explaining return values, and it does so field by field (k, limits, heal, drain, comfort, heat, falls) including units and ranges such as comfort 0-1 and metres. For a single-optional-parameter static reference tool, an agent has enough to call it and interpret the result.

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% and the pattern already enumerates the six valid values, so the baseline is 3. The description goes further by mapping each section name to its content (healing = HP/s; comfort = sources with radii; heat = temperature sources/shade; food = drains; fall = damage table), which tells an agent what a given section actually yields.

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?

The first sentence names a specific resource (survival mechanics reference data) and enumerates exactly what the resource contains: healing, comfort, heat sources, food/water drain, radiation, fall damage. It also distinguishes itself from the compute-oriented sibling by noting the fall values are estimates and pointing to calculate_fall_damage for real damage calculation.

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?

The only explicit guidance is 'Use section= to keep it short', which is a payload-size tip rather than a when-to-use rule. The reference 'see calculate_fall_damage' implies a raw-constants vs. computed-result split, but the description never states when to pick this tool over that sibling or when full (unsectioned) output is preferable.

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