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

trigger_sound_or_alarm

Trigger helicopter, building alarm, gunshot, scream, thunder, or invisible attractor events to pull nearby existing zombies toward a location or player without spawning new ones.

Instructions

Trigger atmospheric sound and meta-events that organically move existing zombies in the area:
- 'helicopter': triggers Zomboid's overhead helicopter event!
- 'building_alarm': sets off a burglar alarm in the nearest building!
- 'gunshot' / 'scream': plays distant audio + attracts zombies within `radius`.
- 'invisible_attractor': pulls surrounding zombies toward (x, y) or player without spawning new ones.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
noticeNo
radiusNo
volumeNo
event_typeNogunshot
target_playerNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does well by disclosing each event's effect: helicopter event, burglar alarm, radius-based zombie attraction for gunshot/scream, and pulling zombies without spawning for invisible_attractor. It stops short of mentioning duration, cooldown, permissions, or side effects, leaving some behavioral gaps.

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

Conciseness5/5

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

The description is front-loaded with the tool's effect, then uses a compact bulleted list to explain each event type. Every sentence carries useful information and there is no redundant wording.

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

Completeness4/5

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

An output schema exists, so the description need not explain return values. For a seven-parameter tool with no required parameters and no annotations, the description covers the primary behavioral choices, but optional parameters such as volume, notice, and thunder remain under-specified.

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 coverage is 0%, so the description must compensate for undocumented parameters. It maps several event_type values and explains radius and x/y/target player for specific modes, but it omits 'thunder', volume, notice, default values, and how target_player interacts with explicit coordinates. This is partial compensation with clear gaps.

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 states a specific verb and resource: triggering atmospheric sound and meta-events to move existing zombies. It enumerates distinct event types and their core effects, making the tool's purpose immediately clear.

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?

It explains when to use the tool: to organically move existing zombies in the area, including the special case that invisible_attractor does not spawn new zombies. It does not explicitly name when to choose alternatives such as zombie-spawning tools or when not to use this tool, but the context is otherwise clear.

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