Skip to main content
Glama
pz-modding-mcp

pz-modding-mcp

by MrMikojo

pz_items

Search installed Project Zomboid items and recipes to find exact Module.Name identifiers, item fields, and craftRecipe blocks before referencing them in code. Query by name, type, or tags.

Instructions

The game's items and recipes (from the installed game's media/scripts), searchable. Examples: "Base.Axe" one item, all its fields "ItemType=base:weapon sort=MaxDamage" weapons, highest damage first (= is an exact match) "Tagsripclothing" items whose Tags contain that text ( means contains) "poncho" items whose name or DisplayName contains it "recipe RipClothing" one craftRecipe, evolvedrecipe or fixing block Use it to see which items exist and their full names (Module.Name) before you use them in code.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the data source (installed game's media/scripts) and the matching semantics of the query operators, but it says nothing about the limit/truncation behavior or how results are paginated, which matters for a search tool.

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?

The definition is front-loaded with the purpose sentence, then a compact set of examples that each demonstrate a distinct query form. The examples earn their space, though the quoted formatting is slightly dense.

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

Completeness3/5

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

An output schema exists, so return values need not be explained, and the query syntax is well covered. However, the omission of limit semantics leaves a gap for an agent that needs to control result volume.

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%, so the description must compensate. It does so thoroughly for the query parameter via five syntax examples, but the limit parameter (default 15) is never mentioned, leaving one of two parameters undocumented.

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 opens with a specific verb and resource: searchable items and recipes sourced from the installed game's media/scripts. It is clear what the tool returns, though it does not explicitly distinguish itself from sibling search tools 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?

It states a clear use case: 'Use it to see which items exist and their full names (Module.Name) before you use them in code.' This gives solid context for when to reach for it, but no when-not guidance or named alternatives are provided.

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