Skip to main content
Glama

Query equipment with filters

query_equipment

Filters and sorts the equipment table — by category, weapon/armor type, cost, and stat thresholds. Use this instead of paging through get_records when shopping for "best X under Y gil". Free while this deployment runs unmetered.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNoen
limitNo
sortByNoStat name to sort by, descending. Falls back to cost.
maxCostNoMaximum shop cost in gil.
minStatNoMinimum values per stat, e.g. { weaponPower: 10, magicAttack: 2 }.
versionYesWhich release to read. psx = original PlayStation, wotl = War of the Lions, ic = The Ivalice Chronicles. Data differs meaningfully between them.
categoryNo
subCategoryNoNarrower type, e.g. 'katana', 'robe', 'hat'.

TDQS

A4.2/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 behavioral burden. It does disclose the core non-mutating behavior (filter/sort) and adds an unusual cost trait ('Free while this deployment runs unmetered'). However, it does not disclose return shape, default limit, sort direction/fallback, or pagination behavior, which matter for a query tool with no output schema.

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?

Three sentences with zero waste: function, usage guidance with a named alternative, and a cost disclosure. The core scoping statement is front-loaded, and each sentence 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 moderately complex tool (8 parameters, nested minStat object, no output schema, no annotations), the description covers purpose, usage routing, parameter mapping, and cost. The version requirement and cross-release data differences are already captured in the schema's version description, so the description need not repeat them. The only real gap is the return shape, which the agent must infer.

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 63%, so most parameters are already documented in the schema. The description adds an intent-level mapping (category → category, weapon/armor type → subCategory, cost → maxCost, stat thresholds → minStat) that helps the agent pick the right filter combination, but it does not add meaning beyond what the schema's per-parameter descriptions already provide.

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 opens with a specific verb and resource ('Filters and sorts the equipment table') and enumerates the filter dimensions ('category, weapon/armor type, cost, and stat thresholds'), so an agent knows exactly what the tool does. It also differentiates itself from siblings like get_records (paging) and search (general lookup) without requiring schema inspection.

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

Usage Guidelines5/5

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

The second sentence gives explicit routing guidance: 'Use this instead of paging through get_records when shopping for "best X under Y gil"'. This names the alternative tool and the exact condition that selects this one, leaving no inference to the agent.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A3.9/5.0
Disambiguation5/5

Each tool targets a distinct resource/action: compare_versions diffs releases, find_item_sources is a reverse-lookup, get_job/get_monster provide deep entity records, get_records is generic batch retrieval, query_equipment filters the equipment table, search resolves names to IDs, and list_versions describes the dataset. The descriptions explicitly call out when one tool should be used instead of another, so an agent should be able to pick correctly.

Naming Consistency4/5

Most tools follow a clear lower_snake_case verb_noun pattern (get_job, get_monster, get_records, list_versions, compare_versions, find_item_sources, query_equipment). The only deviation is the bare verb search, and the retrieval verbs vary (get/find/query/list) rather than being uniform, but the pattern is still predictable.

Tool Count5/5

Eight tools is a well-scoped size for a read-only game-data companion: a global search entry point, version metadata, generic batch retrieval, two deep-dive entity tools, an equipment filter, an item-source reverse lookup, and a cross-version comparator. No tool feels redundant, and every tool has a clear use case.

Completeness3/5

The server covers the main reference workflows well: discovery via search, batch retrieval via get_records, deep job/monster records, equipment shopping, item sourcing, and version comparison. However, there is no way to enumerate or filter non-equipment entity kinds (abilities, jobs, monsters, bosses, locations, consumables) without already knowing names/IDs, and compare_versions cannot identify which entities changed across versions. Those are notable gaps for a comprehensive companion server.

Resources