Skip to main content
Glama

Lint addon Lua against a game client

wow_lua_lint

Detect WoW addon Lua issues: removed APIs, unknown events, taint, and performance traps. Run on addon code before shipping or when porting between clients.

Instructions

Analyse addon Lua for problems specific to World of Warcraft: APIs that were removed or moved into a namespace in the target client, unknown events, taint (calling protected functions, overwriting Blizzard globals, touching secure frames in combat), and performance traps. Run this on any addon Lua before shipping it, and whenever porting between clients.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoLua source to analyse.
pathNoPath to a .lua file to analyse instead of inline code.
flavorNoTarget client. Defaults to retail.
disableNoRule ids to suppress.
knownGlobalsNoGlobals defined elsewhere (embedded libraries, other files) — suppresses unknown-API warnings for them.
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It details the categories of problems detected (removed/moved APIs, unknown events, taint, performance traps), offering substantive insight into behavior. It does not mention output format or side effects, but for a static analysis tool this is adequate.

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 compact and front-loaded with the core purpose. Every sentence contributes value: the first defines the tool and its scope, the second specifies when to run it. No wasted words.

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?

For a tool with no output schema and no annotations, the description provides sufficient context: what it analyzes, what categories of issues it finds, and when to use it. It lacks explicit return-format details, but the description is otherwise complete and actionable.

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 100%, so each parameter is already documented. The description does not add additional parameter-level meaning, but that is acceptable given the high schema coverage. The baseline of 3 applies.

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 uses a specific verb ('Analyse') and identifies the resource ('addon Lua'), and clearly distinguishes this tool from sibling tools by focusing on WoW-specific linting (removed APIs, events, taint, performance traps). It fully explains what the tool does.

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?

The description provides explicit guidance on when to use the tool ('Run this on any addon Lua before shipping it, and whenever porting between clients'). It does not name alternative tools or provide when-not-to-use exclusions, but the context is clear enough for an agent to decide.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/RdyGaming/hated-wow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server