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

trigger_world_effect

Trigger smoke, fire, explosion, or lightning effects at map squares, or toggle the Kentucky power grid, to create hazards and environmental events during Project Zomboid campaigns.

Instructions

Trigger world effects:
- 'smoke': signal smoke flare on square
- 'fire' / 'explosion' / 'lightning': hazard at square
- 'power_on' / 'power_off': toggle global Kentucky power grid!

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
effectNosmoke
offset_xNo
offset_yNo
target_playerNo

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?

With no annotations, the description carries the full disclosure burden and largely fails it: 'hazard at square' does not say whether players or structures are damaged, and 'toggle global Kentucky power grid' implies a server-wide state change with no note on scope, reversibility, or blast radius. Nothing is said about side effects, permissions, or what state changes persist.

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?

Small and front-loaded: a lead line plus three tight bullets with no filler. However, the grouping of distinct effects into single bullets ('fire'/'explosion'/'lightning') loses per-effect distinctions and the trailing exclamation adds no information.

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 six-parameter, zero-annotation mutation tool, this is thin: an agent cannot tell how offset_x/offset_y combine with x/y, what target_player does, or whether omitting coordinates is legal given zero required parameters. The output schema exists, so return values needn't be explained, but the input-side omissions are significant.

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 0% across six parameters, so the description should compensate. It only sheds light on the `effect` enum (and incompletely, since power_on/power_off apparently ignore position while the spatial effects do not), leaving x, y, offset_x, offset_y (both defaulting to 6), and target_player entirely uninterpretable from prose.

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 uses a specific verb ('Trigger') and resource ('world effects') and enumerates the selectable effect values, which distinguishes it from siblings such as trigger_sound_or_alarm. It stops short of explaining what the tool acts on spatially, since x/y/offset/target_player are never mentioned.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus trigger_sound_or_alarm or set_weather, and no stated conditions such as required permissions or whether coordinates are mandatory. The per-effect bullets hint at what each effect does, but that is value semantics rather than routing guidance.

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