Skip to main content
Glama

Guild Wars 1 Build Compiler

Validate a build against GW1 rules

validate_build
Read-onlyIdempotent

Check a build (professions, attributes, 8 skill names in English or French) against Guild Wars 1 rules: one elite max, profession/attribute ownership, primary attributes, duplicates, rank ranges. Returns { valid, errors, warnings } without encoding — use encode_template instead when you also want the template code, since it runs these same rules and refuses on any error.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "primary": "<primary>",
      "attributes": "<attributes>",
      "skills": "<skills>"
    },
    "name": "validate_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
forPvpNoSet true for a PvP character's bar: PvE-only skills become errors. Never use '(PvP)' skill versions, even here: templates always carry the PvE id.
skillsYesExactly 8 official English or French skill names in bar order. Use null for an empty slot.
forHeroNoSet true if this bar is for a hero (PvE-only skills are errors)
primaryYesPrimary profession, e.g. "Dervish"
secondaryNoSecondary profession, e.g. "Monk". Omit or "None" for none.
attributesYesAttribute point allocations (template format caps this at 15 entries)
unlockedSkillIdsNoOptional: unlocked skill ids from a GWToolbox account export (/exportaccount): learnedCharacterSkills for a player bar, unlockedAccountSkills for a hero. Skills outside this list are flagged as warnings.

Output Schema

NameRequiredDescriptionDefault
validYesWhether the build is legal in-game
errorsYesBlocking problems; empty when valid
warningsYesNon-blocking advisories

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / attributes / items / additionalProperties
      Added value: +false
    • changedInput schema / properties / forHero / description
      Previous value: -"Set true if this bar is for a hero (PvE-only skills are flagged)"New value: +"Set true if this bar is for a hero (PvE-only skills are errors)"
    • changedInput schema / properties / unlockedSkillIds / description
      Previous value: -"Optional: unlocked skill ids from a GWToolbox account export (/exportaccount). Skills outside this list are flagged as warnings."New value: +"Optional: unlocked skill ids from a GWToolbox account export (/exportaccount): learnedCharacterSkills for a player bar, unlockedAccountSkills for a hero. Skills outside this list are flagged as warnings."
  2. Changed1 schema field changed
    • changedInput schema / properties / skills / description
      Previous value: -"Exactly 8 skill names in bar order. Use null for an empty slot. Names must be exact English skill names."New value: +"Exactly 8 official English or French skill names in bar order. Use null for an empty slot."
  3. Changed1 schema field changed
    • changedInput schema / properties / forPvp / description
      Previous value: -"Set true for a PvP character's bar (PvP versions of split skills are only valid then)."New value: +"Set true for a PvP character's bar: PvE-only skills become errors. Never use '(PvP)' skill versions, even here: templates always carry the PvE id."
  4. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  5. Changed1 schema field changed
    • addedInput schema / properties / forHero / description
      Added value: +"Set true if this bar is for a hero (PvE-only skills are flagged)"
  6. Changed1 schema field changed
    • addedInput schema / properties / forPvp
      Added value: +{
      +  "default": false,
      +  "description": "Set true for a PvP character's bar (PvP versions of split skills are only valid then).",
      +  "type": "boolean"
      +}
  7. Changed4 schema fields changed
    • changedInput schema / properties / attributes / description
      Previous value: -"Attribute point allocations"New value: +"Attribute point allocations (template format caps this at 15 entries)"
    • addedInput schema / properties / attributes / maxItems
      Added value: +15
    • addedOutput schema / properties / errors / items / properties / suggestions
      Added value: +{
      +  "description": "Closest-match names, on resolution errors",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / warnings / items / properties / suggestions
      Added value: +{
      +  "description": "Closest-match names, on resolution errors",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  8. Changed5 schema fields changed
    • addedInput schema / properties / attributes / items / properties / attribute / maxLength
      Added value: +64
    • addedInput schema / properties / primary / maxLength
      Added value: +64
    • addedInput schema / properties / secondary / maxLength
      Added value: +64
    • changedInput schema / properties / skills / items / anyOf
      Previous value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "maxLength": 64,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / unlockedSkillIds / maxItems
      Added value: +8192
  9. Changed5 schema fields changed
    • removedOutput schema / properties / code
      Removed value: -{
      -  "description": "Official in-game template code (successful encode only)",
      -  "type": "string"
      -}
    • addedOutput schema / properties / errors / description
      Added value: +"Blocking problems; empty when valid"
    • addedOutput schema / properties / valid / description
      Added value: +"Whether the build is legal in-game"
    • addedOutput schema / properties / warnings / description
      Added value: +"Non-blocking advisories"
    • addedOutput schema / required
      Added value: +[
      +  "valid",
      +  "errors",
      +  "warnings"
      +]
  10. First observed

TDQS

A4.7/5.0
Behavior4/5

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

The annotations already establish that the tool is read-only, idempotent, non-destructive, and closed-world. Beyond that, the description adds useful behavioral context: it returns valid/errors/warnings, does not encode, and encode_template runs the same rules but refuses on any error.

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 purpose and key constraints are front-loaded in the first sentence. The second sentence efficiently handles the relationship to encode_template and the plain return shape, with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has rich schema descriptions and an output schema, so the description does not need to repeat all parameter details. It still provides enough rule context, output summary, and sibling guidance for an agent to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already carries most parameter detail. The description still adds rule-level meaning beyond the schema, including one elite maximum, profession/attribute ownership, primary attribute checks, duplicates, and rank ranges.

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 states a specific verb (Check) and resource (a build) and enumerates the Guild Wars 1 rules it enforces. It also explicitly distinguishes this tool from encode_template, so an agent can identify its role without opening another schema.

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?

It explicitly names the alternative encode_template and gives the condition for using it: when you also want the template code. This makes the choice between validation-only and encoding-plus-validation clear.

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.