Skip to main content
Glama

Geology

geology

Survey the embark's subsurface: surface z-level, soil/stone layers, aquifer type, discovered caverns, magma sea, and surface water. Optionally reveal hidden caverns and magma sea.

Instructions

A one-call geological survey of the embark, REVEALED-INFO ONLY by default. Returns surface_z_max — the highest open-to-sky ground z-level found ANYWHERE on the embark (NOT map_overview()'s surface_z_at_core, which is the surface directly above the fort centre only; on a sloped map the two legitimately differ by many z-levels); the layer stack the fort has exposed (each band z_top..z_bottom with a kind — soil/sedimentary/metamorphic/igneous — and the in-game material names, e.g. "limestone", that game_data/wiki_lookup resolve); the aquifer (presence, light vs. heavy type, and z-range, enough to fuse with wiki_lookup("Aquifer")); the caverns actually DISCOVERED (each with z-range and whether it holds water); whether the magma sea has been reached; and surface water (brook, river, murky-pool count, and permanent_freeze — whether the biome's base temperature keeps surface water frozen year-round, glacier/tundra, the well-gating fact; not a seasonal winter claim). Undiscovered caverns and an unreached magma sea are OMITTED (fog of war stays honest). Set reveal_hidden=true to BYPASS FOG OF WAR and also surface every undiscovered cavern (caverns_hidden) and the magma sea z-range (magma_hidden) — a debug/spoiler switch, default false. Reports what is there, not where to dig. Returns {"error":"no fort loaded"} if no fort is active.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
reveal_hiddenNoBypass fog of war: also report undiscovered caverns and the magma-sea z-range regardless of discovery. Default false (undiscovered depths omitted).
Behavior5/5

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

With no annotations provided, the description fully carries the transparency burden. It discloses default fog-of-war behavior, omission of undiscovered caverns and magma sea, the debug/spoiler nature of reveal_hidden, the error response when no fort is loaded, and clarifies that it reports what exists rather than digging directions. This is exceptionally transparent.

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 dense and long, but every clause adds unique value, such as the distinction between surface_z_max and surface_z_at_core, the meaning of permanent_freeze, and the format of layer stacks. It is front-loaded with a summary sentence and then systematically details outputs. The length is justified but could be made more scannable with bullet points.

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 must explain return values entirely. It does so comprehensively, covering each output category, their formats, exclusions, error handling, and the effect of reveal_hidden. This makes the tool fully understandable without external documentation.

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 schema already has 100% parameter coverage, so the baseline is 3. The description adds meaningful context by explaining the reveal_hidden parameter's bypass behavior, naming the returned fields (caverns_hidden, magma_hidden), and labeling it as a debug/spoiler switch. This goes beyond the schema's description, earning a 4.

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 states it performs a geological survey of the embark and enumerates specific return values (surface_z_max, layer stack, aquifer, caverns, magma sea, surface water). It also distinguishes itself from map_overview by explicitly contrasting surface_z_max with surface_z_at_core, making the purpose unambiguous.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use this tool versus alternatives, notably contrasting with map_overview and explaining how results can be fused with wiki_lookup and game_data. It also clarifies the default behavior and when the reveal_hidden parameter should be used, offering clear context for tool selection.

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