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

spawn_zombie_horde

Spawns a zombie horde or themed squad in Project Zomboid at a set distance and direction, with options for count, outfit, crawlers, fire, and luring to a target player.

Instructions

Spawn a zombie horde or themed squad!
- Common outfits: '' (random civilians), 'ArmyCamoGreen', 'Police', 'HazardSuit', 'Doctor', 'Fireman', 'Mechanic', 'Inmate', 'Bandit'.
- Keep `distance_from_player` between 20 and 65 so zombies appear out of immediate sight within loaded chunks and march in naturally.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
countNo
healthNo
outfitNo
radiusNo
crawlerNo
on_fireNo
directionNoRANDOM
fake_deadNo
target_playerNo
lure_to_playerNo
distance_from_playerNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior3/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. It does add genuine value by explaining the spawn visibility mechanic (out of immediate sight, within loaded chunks, marching in naturally) tied to distance_from_player, but it says nothing about the effects of crawler, on_fire, fake_dead, target_player, lure_to_player, or whether spawning is persistent/reversible.

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 short bullets, front-loaded with the core action and zero filler; every sentence contributes. It is arguably undersized relative to 13 undocumented parameters, but there is no wasted wording to cut.

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 13-parameter world-mutation tool with no annotations and no schema descriptions, the description is thin: it explains the spawn positioning logic but leaves the majority of behavioral flags unexplained. An output schema exists, so return values need not be covered, but the caller still lacks enough context to choose sensible values for most parameters.

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 13 parameters, and the description only illuminates two of them: it lists valid outfit values and gives a 20-65 range for distance_from_player. The remaining eleven parameters (x, y, count, health, radius, crawler, on_fire, direction, fake_dead, target_player, lure_to_player) get no explanation beyond their bare titles and defaults, which is a significant gap for a 13-param tool.

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 first line states a specific verb and resource ('Spawn a zombie horde or themed squad'), which clearly separates it from siblings like spawn_vehicle or spawn_supply_drop that share the 'spawn_' prefix. It does not explicitly name or contrast with those siblings, keeping it one notch below 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?

Usage is implied (spawning hostile NPCs) via the horde framing, and the second bullet gives a concrete operating constraint: keep distance_from_player between 20 and 65 so they spawn out of sight. There is no explicit when-to-use vs. alternatives guidance, nor any statement about preconditions such as requiring a loaded game session or player context.

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