Skip to main content
Glama

Search the in-game Lua API

wow_api_search

Search World of Warcraft's Lua API to find function signatures and usage details. Get arguments and returns for namespaced, legacy, and widget methods before writing addon code.

Instructions

Search World of Warcraft's in-game Lua API — the functions an addon can call from inside the client. Covers namespaced functions (C_Item.GetItemInfo), legacy globals (UnitHealth), and widget methods (Frame:SetPoint). Results include full argument and return signatures. Use this before writing any addon code that calls the game.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYesFunction name or fragment. Matches exact names, prefixes, substrings and camel-hump abbreviations (GIIBID finds GetItemInfoByID).
flavorNoGame client to answer for. Defaults to WOW_DEFAULT_FLAVOR, or retail.
namespaceNoRestrict to one namespace, e.g. C_Spell.
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses valuable behavioral information: the search covers specific API categories and results include full argument and return signatures. It does not mention whether the search is read-only or any limitations, but for a search tool this is reasonably transparent.

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 well-structured: a clear opening sentence, an illustrative second sentence with concrete examples, and a practical usage directive. No redundant information; every sentence contributes meaning.

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?

Given the tool's simplicity, no output schema, and rich sibling set, the description covers the tool's scope, result contents, and usage. It could go further by explicitly stating that events/types are handled by sibling tools, but the enumeration of function categories already implies this distinction.

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?

The schema already describes query, flavor, and namespace well. The description adds useful context about API families, but it does not elaborate on the limit parameter, which remains undocumented. With 75% schema coverage, the description provides some extra meaning but does not fully close the gap for the undocumented parameter.

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 and resource: 'Search World of Warcraft's in-game Lua API'. It further distinguishes from siblings by enumerating the covered API types (namespaced functions, legacy globals, widget methods) and by noting that it returns argument and return signatures. This clearly identifies it as the function search tool versus event/type search siblings.

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 provides clear usage context: 'Use this before writing any addon code that calls the game.' This tells the agent when to invoke the tool. However, it does not explicitly mention exclusions or point to alternatives like wow_api_event_search or wow_api_type_search, so it falls short of full 5.

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