Skip to main content
Glama

Environment

environment

Get a snapshot of the fort's ambient conditions: season, weather, surface temperature and freezing state, biome alignment, and cavern open/sealed status.

Instructions

The fort's ambient conditions right now: current season and dominant weather (none/rain/snow), the surface temperature with whether exposed water is currently frozen (the freezing point is 10000 DF units; composes with geology()'s freeze-in-winter fact), the alignment of the biomes visible at embark (evil / good / reanimating booleans), and — for each cavern the fort has ALREADY breached — whether it is open to fort pathing or sealed off. Fog-of-war honest: reports NOTHING about undiscovered cavern layers (a fort that has breached none returns an empty caverns list). Small fixed-size payload. Per-tile savagery is unavailable in this DFHack build, so no savage flag is reported. Returns {"error":"no fort loaded"} if no fort is active.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description carries the full burden and does so thoroughly: it discloses fog-of-war behavior (reports nothing about undiscovered cavern layers), error handling (returns error if no fort loaded), and build limitations (no savage flag). It also notes the payload is small and fixed-size, adding performance context.

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?

The description is a single dense paragraph that front-loads the main payload and uses clarifying asides. Every sentence adds value, but the length could be slightly reduced by breaking into bullet points or trimming redundant phrasing like 'Small fixed-size payload.' Still, it remains well within acceptable bounds.

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?

Given no output schema, the description must explain the return values and edge cases, which it does comprehensively: season, weather, temperature, freezing condition, biome alignment, cavern list, empty list behavior, and error response. It also addresses limitations like unavailable per-tile savagery, making the tool's behavior fully predictable.

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?

The tool has zero parameters, so the schema provides no parameter semantics. The baseline for 0 params is 4, and the description compensates by explaining what the tool returns rather than parameter details, which is appropriate given the output-focused nature of the tool.

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 description clearly identifies the tool as a read-only environmental status reporter, enumerating specific outputs (season, weather, temperature, freezing, biome alignments, cavern states). It distinguishes itself from siblings like geology and tile_region by focusing on ambient conditions and explicitly referencing geology's complementary fact.

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?

The description provides clear context for when to use the tool (to check ambient conditions, frozen water, biome alignment, cavern accessibility) and even suggests composition with geology(). However, it does not explicitly state when not to use it or name alternative tools for cases like per-tile savagery, which is mentioned as unavailable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alexanderolvera/dfhack-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server