Skip to main content
Glama

list_enums

List all enum types in the Dalamud API, optionally filtered by namespace or keyword. Discover game-state constants like job IDs, inventory slots, and addon names.

Instructions

List all enum types in the Dalamud API, optionally filtered by namespace or keyword. Useful for discovering game-state constants (job IDs, inventory slots, addon names, etc.).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of results (default: 50, max: 200)
queryNoOptional substring filter on enum name and summary (case-insensitive)
namespaceNoRestrict to an exact namespace, e.g. "Dalamud.Game.ClientState.JobGauge"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
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 disclosure burden. 'List' implies a safe read operation and the filtering behavior is described, but nothing is said about result shape, pagination behavior, or cache interaction (notably refresh_cache exists as a sibling). Adequate for a simple read tool, but with clear gaps.

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?

Two sentences, no waste, with the core action front-loaded and the discovery use case following. Every clause earns its place.

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 simple zero-required-parameter list tool with a fully documented schema, this covers what is needed to call it. With no output schema and no annotations, it could still say what a returned enum entry looks like, which is the only meaningful gap.

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 limit, query, and namespace are already fully documented in the schema. The description only restates the filter intent ('optionally filtered by namespace or keyword') without adding semantics beyond the schema, so the baseline 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?

States a specific verb and resource ('List all enum types in the Dalamud API') plus its optional filter scope. It is clearly distinguishable from siblings like list_namespaces, list_services, and search_members, which target different resources.

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 concrete usage context with examples of what the enums represent (job IDs, inventory slots, addon names). It does not name alternatives or say when to prefer search over list_enums, so it stops short of explicit routing.

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