Skip to main content
Glama
pz-modding-mcp

pz-modding-mcp

by MrMikojo

pz_check

Verify Project Zomboid Build 42 class, method, field, event, item, recipe, and Lua names against the local install; get real signatures or a clear NO before using them.

Instructions

Is a Project Zomboid name real? Answers YES or NO, with the real signature. query = a command and its names: "method IsoPlayer getStats", "field IsoPlayer x", "class ItemContainer" (also says if Lua can see it), "members IsoPlayer Stat", "find getModData", "event OnZombieDead", "global getPlayer", "lua ISTimedActionQueue.add", "grep sendClientCommand(", "script item Hammer". If it says NO, do not use that name.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "pz_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does disclose the result contract: a binary verdict plus the real signature, and an extra signal ("also says if Lua can see it"). It leaves implicit that this is a non-mutating lookup and says nothing about ambiguity, case sensitivity, or whether a NO can be a false negative against a stale index.

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?

Front-loads the question and answer format in the first clause, then spends the rest on the syntax inventory, which is dense but each item earns its place by showing a distinct accepted prefix. The inline quoted example list runs long and slightly buries the "do not use if NO" rule at the end.

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 needn't explain return values, and for a one-parameter validator the guidance given is close to sufficient. The remaining gap is edge-case behavior — prefix requirements, case handling, and index staleness — for a tool whose whole value is trusting a NO.

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?

Schema description coverage is 0% for the single query parameter, so the description must compensate, and it largely does by enumerating ten literal query shapes across API, Lua, event, and script namespaces. It stops short of stating whether those prefixes are mandatory, case-sensitive, or what happens to a bare name with no prefix.

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?

Names a specific act — validating whether a Project Zomboid symbol/signature is real — and states the exact output (YES or NO plus the real signature). The example query prefixes (method, field, class, members, find, event, global, lua, grep, script) make it unmistakably distinct from search-style siblings like pz_lua_search or pz_source.

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?

Gives a clear operating rule after a result — "If it says NO, do not use that name" — which is precisely the decision this tool serves. It never names an alternative tool for the search-first case (e.g., search with pz_lua_search, then verify here), so the when-not/alternatives dimension is implied rather than explicit.

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