Skip to main content
Glama

Read Blizzard UI source file

get_source_file

Read files or list directories from Blizzard's UI source code for World of Warcraft addon development. Supports game flavors and line numbers.

Instructions

Read a file (or list a directory) from Blizzard's UI source for a flavor, with line numbers. Paths are repo-relative, e.g. "Interface/AddOns/Blizzard_UIParent/Blizzard_UIParent.lua".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesRepo-relative file or directory path
flavorNoGame flavor: live (retail), classic, classic_era (vanilla), classic_anniversarylive
endLineNo
startLineNo
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the dual behavior (reading files and listing directories) and mentions line numbers. However, it does not detail output format, error handling, or restrictions. Adequate but not comprehensive.

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 description is a single sentence that front-loads the main action. It is concise with no wasted words, though it could be slightly expanded to cover missing parameter details without losing conciseness.

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?

Given no annotations and no output schema, the description should provide more context. It mentions file reading and directory listing but lacks details on output (e.g., content with line numbers vs. file names) and error conditions. It is incomplete for a tool with four 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 coverage is 50%; the description adds meaning to the 'path' parameter with an example, but does not describe 'flavor', 'startLine', or 'endLine' beyond the schema constraints. For the undocumented parameters, the description offers no additional value.

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 clearly states the tool reads files (or lists directories) from Blizzard's UI source, with line numbers. The verb 'Read/list' and resource 'Blizzard UI source file' are specific and distinct from sibling tools like search_source or get_wiki_page.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not provide guidance on when to use this tool versus alternatives like search_source or list_flavors. It only states what the tool does, without context on when it is appropriate or when not to use it.

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/Nighthawk42/wow_api_mcp'

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