Skip to main content
Glama
pz-ai-director
by Aki-shin

set_weather

Adjust Project Zomboid weather in real time using presets or custom fog, wind, temperature, precipitation, and snow settings for dramatic scenes or normal gameplay.

Instructions

Control Project Zomboid's ClimateManager in real time!
Use `preset='dense_fog'` before an ambush, `preset='tropical_storm'` for a dramatic night drive,
`preset='clear'` to reward survivors with sunshine, or `preset='natural'` to hand control back to vanilla weather.

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

Input Schema

NameRequiredDescriptionDefault
fogNo
presetNostorm
is_snowNo
wind_kphNo
precipitationNo
temperature_cNo
duration_hoursNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden and largely does not: it does not say whether changes persist beyond duration_hours, whether the tool is server-authoritative or requires permissions, or what happens to existing weather when the duration expires. The only real behavioral disclosure is that 'natural' returns control to vanilla weather.

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?

Two sentences, front-loaded with what the tool controls and followed by compact preset examples; there is little waste. The framing is slightly marketing-flavored but each clause still maps to a selectable preset.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter mutation tool with no annotations, the description leaves the most important semantics unresolved: preset-versus-explicit-field precedence, and what duration_hours does on expiry. An output schema exists, so return values need not be explained, but the input behavior gaps are substantial.

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

Parameters2/5

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

Schema description coverage is 0% across 7 parameters, and the description only illustrates 4 of the 7 enum preset values (omitting 'storm', 'blizzard', 'custom'). It says nothing about fog, temperature_c, wind_kph, precipitation, is_snow, duration_hours, or — critically — how manual numeric fields interact with a chosen preset.

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 names a concrete verb and resource ('Control ... ClimateManager') and a specific game domain (weather), which separates it from generic siblings like trigger_world_effect or spawn_zombie_horde. It never states which sibling would be the alternative for overlapping effects, so it stops short of a 5.

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?

Preset choices are given situational framing ('dense_fog' before an ambush, 'tropical_storm' for a dramatic night drive, 'natural' to hand control back to vanilla), which implicitly guides selection. However, there is no guidance on when to use this tool instead of trigger_world_effect, nor any when-not-to-use or precondition statement.

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