Guild Wars 1 Build Compiler
GW1 build compiler: skill data, template code encode/decode, validation, hero roster. Read-only.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"gw1-mcp": {
"url": "https://gw1-mcp.graphmaxer.workers.dev/mcp"
}
}
}远程端点
https://gw1-mcp.graphmaxer.workers.dev/mcpstreamable-http它能做什么
工具清单
工具(8)
🟢get_skill(name, id)
Look up a single GW1 skill by exact English name or by template skill id. Returns full stats (energy, activation, recharge, adrenaline, sacrifice), profession, attribute, campaign, elite flag and description. If the name is not found, returns the closest matches so you can correct spelling. Use this when you already know the exact skill; to discover skills by profession, attribute or name fragment, use search_skills instead.
输入模式
{
"type": "object",
"properties": {
"name": {
"description": "Exact skill name, e.g. \"Mystic Regeneration\". The official French name also resolves (\"Sceau de guérison\" -> Healing Signet); every other name field on every other tool is English-only.",
"type": "string",
"maxLength": 64
},
"id": {
"description": "Template skill id",
"type": "integer",
"minimum": 0,
"maximum": 65535
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"name": {
"type": "string"
},
"elite": {
"type": "boolean"
},
"isRoleplay": {
"type": "boolean",
"description": "PvE-only skill: max 3 per player bar, none on heroes"
},
"energy": {
"type": "number"
},
"activation": {
"type": "number"
},
"recharge": {
"type": "number"
},
"adrenaline": {
"type": "number"
},
"sacrifice": {
"type": "number"
},
"overcast": {
"type": "number"
},
"upkeep": {
"type": "number"
},
"description": {
"type": "string"
},
"isPvpVersion": {
"type": "boolean"
},
"profession": {
"type": [
"string",
"null"
]
},
"attribute": {
"type": [
"string",
"null"
]
},
"campaign": {
"type": [
"string",
"null"
]
},
"type": {
"description": "Skill type, e.g. Enchantment Spell",
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"elite",
"isRoleplay",
"energy",
"activation",
"recharge",
"adrenaline",
"sacrifice",
"overcast",
"upkeep",
"description",
"isPvpVersion",
"profession",
"attribute",
"campaign",
"type"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢search_skills(professionName, attributeName, campaignName, elite, nameContains, ...)
Search the full GW1 skill database by profession, attribute, campaign, elite flag or name fragment (valid values are documented per parameter). Returns compact records, at most `limit` of them alongside a `total` count of every match — a full page is not the whole result, page with offset. Use get_skill for full details.
输入模式
{
"type": "object",
"properties": {
"professionName": {
"description": "Filter by profession: Warrior, Ranger, Monk, Necromancer, Mesmer, Elementalist, Assassin, Ritualist, Paragon, Dervish, or None (common / PvE-only skills that belong to no profession).",
"type": "string",
"maxLength": 64
},
"attributeName": {
"description": "Filter by attribute line, exact English name, e.g. \"Blood Magic\", \"Swordsmanship\", \"Divine Favor\".",
"type": "string",
"maxLength": 64
},
"campaignName": {
"description": "Filter by the campaign a skill was INTRODUCED in: Core, Prophecies, Factions, Nightfall, or Eye of the North. Not a filter on availability — every attribute line spans several campaigns, so combining this with attributeName hides most of the line. Omit it when exploring an attribute.",
"type": "string",
"maxLength": 64
},
"elite": {
"description": "If true, return only elite skills; if false, only non-elite; omit for both.",
"type": "boolean"
},
"nameContains": {
"description": "Case-insensitive substring match on the ENGLISH skill name, e.g. \"heal\" matches every skill with 'heal' in its name. A French substring matches nothing — use get_skill for a French name.",
"type": "string",
"maxLength": 64
},
"includePvpVersions": {
"default": false,
"description": "Include separate '(PvP)' skill versions. Default false — most builds want the PvE version only.",
"type": "boolean"
},
"limit": {
"default": 50,
"description": "Maximum number of records to return (1–200, default 50). Narrow filters if you hit it.",
"type": "integer",
"minimum": 1,
"maximum": 200
},
"offset": {
"default": 0,
"description": "Number of records to skip, for paging through results beyond the limit.",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Total matches before limit/offset are applied"
},
"skills": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"name": {
"type": "string"
},
"elite": {
"type": "boolean"
},
"profession": {
"type": [
"string",
"null"
]
},
"attribute": {
"type": [
"string",
"null"
]
},
"campaign": {
"type": [
"string",
"null"
]
},
"energy": {
"type": "number"
},
"activation": {
"type": "number"
},
"recharge": {
"type": "number"
}
},
"required": [
"id",
"name",
"elite",
"profession",
"attribute",
"campaign",
"energy",
"activation",
"recharge"
],
"additionalProperties": false
},
"description": "Compact records; use get_skill for full details"
}
},
"required": [
"total",
"skills"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢decode_template(code)
Decode an in-game GW1 skill template code (e.g. "OwpiMypMBg1cxcBAMBdmtIKAA") into professions, attribute allocations and the 8 skills with their stats and descriptions. Whitespace and line wraps in the pasted code are tolerated. This decodes a SINGLE build code; for a multi-hero paw-ned2 team blob, use decode_pawned_team instead.
输入模式
{
"type": "object",
"properties": {
"code": {
"type": "string",
"maxLength": 128,
"description": "The template code string"
}
},
"required": [
"code"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"primary": {
"type": "string",
"description": "Primary profession name"
},
"secondary": {
"description": "Secondary profession name, null for none",
"type": [
"string",
"null"
]
},
"attributes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string"
},
"rank": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"attribute",
"rank"
],
"additionalProperties": false
}
},
"skills": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slot": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "Bar position 1-8"
},
"name": {
"description": "null for an empty bar slot",
"type": [
"string",
"null"
]
},
"elite": {
"type": "boolean"
},
"isRoleplay": {
"description": "PvE-only skill: max 3 per player bar, none on heroes",
"type": "boolean"
},
"attribute": {
"type": [
"string",
"null"
]
},
"energy": {
"type": "number"
},
"activation": {
"type": "number"
},
"recharge": {
"type": "number"
},
"adrenaline": {
"type": "number"
},
"sacrifice": {
"type": "number"
},
"description": {
"type": "string"
}
},
"required": [
"slot",
"name"
],
"additionalProperties": false
},
"description": "The 8 bar slots in order"
},
"raw": {
"description": "The raw decoded template (ids, not names)"
}
},
"required": [
"primary",
"secondary",
"attributes",
"skills",
"raw"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢decode_pawned_team(pwnd)
Decode a paw-ned2 team build blob (the 'pwnd0001...>...<' format shared on PvXwiki team pages and by the paw-ned2 tool) into its individual builds: player/hero label, description, and each skill bar fully decoded. Whitespace and line wraps in the pasted blob are tolerated. For a single (non-team) build code, use decode_template instead.
输入模式
{
"type": "object",
"properties": {
"pwnd": {
"type": "string",
"maxLength": 16384,
"description": "The full pwnd blob, starting with 'pwnd000'"
}
},
"required": [
"pwnd"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"builds": {
"type": "array",
"items": {
"type": "object",
"properties": {
"slot": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"label": {
"type": "string",
"description": "Slot name shown in paw-ned2 (Player, Hero 1, ...)"
},
"notes": {
"type": [
"string",
"null"
]
},
"inGamePlayerName": {
"type": [
"string",
"null"
]
},
"skillsCode": {
"type": "string",
"description": "This entry's individual template code"
},
"equipmentCode": {
"type": [
"string",
"null"
]
},
"build": {
"description": "Decoded bar (absent if decoding failed). Same shape as decode_template's output.",
"type": "object",
"properties": {},
"additionalProperties": {}
},
"error": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
}
},
"required": [
"slot",
"label",
"notes",
"inGamePlayerName",
"skillsCode",
"equipmentCode"
],
"additionalProperties": false
},
"description": "One entry per team slot, in blob order"
}
},
"required": [
"builds"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢encode_template(primary, secondary, attributes, skills, forHero, ...)
Compile a build (professions, attributes, 8 skills by exact English name) into an official in-game template code. The build is validated first; on rule violations the errors are returned instead of a code. Unknown skill names return closest-match suggestions. IMPORTANT: template codes MUST come from this tool — never write or guess a code by hand, hand-written codes are invalid in-game. If unsure, verify any code with decode_template.
输入模式
{
"type": "object",
"properties": {
"primary": {
"type": "string",
"maxLength": 64,
"description": "Primary profession, e.g. \"Dervish\""
},
"secondary": {
"description": "Secondary profession, e.g. \"Monk\". Omit or \"None\" for none.",
"type": "string",
"maxLength": 64
},
"attributes": {
"maxItems": 15,
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 64,
"description": "Exact attribute name, e.g. \"Mysticism\""
},
"rank": {
"type": "integer",
"minimum": 0,
"maximum": 12,
"description": "Base rank 0-12 (before runes)"
}
},
"required": [
"attribute",
"rank"
]
},
"description": "Attribute point allocations (template format caps this at 15 entries)"
},
"skills": {
"minItems": 8,
"maxItems": 8,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"description": "Exactly 8 skill names in bar order. Use null for an empty slot. Names must be exact English skill names."
},
"forHero": {
"default": false,
"description": "Set true if this bar is for a hero (PvE-only skills are flagged)",
"type": "boolean"
},
"forPvp": {
"default": false,
"description": "Set true for a PvP character's bar. PvP versions of split skills are only valid when this is true, and a PvP bar is expected to use them.",
"type": "boolean"
},
"unlockedSkillIds": {
"description": "Optional: unlocked skill ids from a GWToolbox account export (/exportaccount). Skills outside this list are flagged as warnings.",
"maxItems": 8192,
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 65535
}
}
},
"required": [
"primary",
"attributes",
"skills"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"code": {
"description": "Official in-game template code (present on success)",
"type": "string"
},
"valid": {
"description": "false when the build resolved but is illegal; absent on the other two shapes",
"type": "boolean"
},
"errors": {
"description": "Present (non-empty) when resolution failed or the build is invalid",
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"description": "Closest-match names, on resolution errors",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
}
},
"warnings": {
"description": "Advisories accompanying a successful code",
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"description": "Closest-match names, on resolution errors",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
}
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢validate_build(primary, secondary, attributes, skills, forHero, ...)
Check a build (professions, attributes, 8 skills by exact English name) 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.
输入模式
{
"type": "object",
"properties": {
"primary": {
"type": "string",
"maxLength": 64,
"description": "Primary profession, e.g. \"Dervish\""
},
"secondary": {
"description": "Secondary profession, e.g. \"Monk\". Omit or \"None\" for none.",
"type": "string",
"maxLength": 64
},
"attributes": {
"maxItems": 15,
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"maxLength": 64,
"description": "Exact attribute name, e.g. \"Mysticism\""
},
"rank": {
"type": "integer",
"minimum": 0,
"maximum": 12,
"description": "Base rank 0-12 (before runes)"
}
},
"required": [
"attribute",
"rank"
]
},
"description": "Attribute point allocations (template format caps this at 15 entries)"
},
"skills": {
"minItems": 8,
"maxItems": 8,
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 64
},
{
"type": "null"
}
]
},
"description": "Exactly 8 skill names in bar order. Use null for an empty slot. Names must be exact English skill names."
},
"forHero": {
"default": false,
"description": "Set true if this bar is for a hero (PvE-only skills are flagged)",
"type": "boolean"
},
"forPvp": {
"default": false,
"description": "Set true for a PvP character's bar (PvP versions of split skills are only valid then).",
"type": "boolean"
},
"unlockedSkillIds": {
"description": "Optional: unlocked skill ids from a GWToolbox account export (/exportaccount). Skills outside this list are flagged as warnings.",
"maxItems": 8192,
"type": "array",
"items": {
"type": "integer",
"minimum": 0,
"maximum": 65535
}
}
},
"required": [
"primary",
"attributes",
"skills"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"valid": {
"type": "boolean",
"description": "Whether the build is legal in-game"
},
"errors": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"description": "Closest-match names, on resolution errors",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
},
"description": "Blocking problems; empty when valid"
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"suggestions": {
"description": "Closest-match names, on resolution errors",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"code",
"message"
],
"additionalProperties": false
},
"description": "Non-blocking advisories"
}
},
"required": [
"valid",
"errors",
"warnings"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢get_hero(name, id)
Look up a GW1 hero by name or by id (GWCA HeroID, matching the AccountExport plugin output). Returns profession, campaign and how the hero is unlocked. Remember: heroes can equip any skill unlocked at ACCOUNT level, but NO PvE-only skill at all — including Signet of Capture. validate_build with forHero=true reports each one as an error, not a warning. Use this for one known hero; to browse or filter the roster, use list_heroes instead.
输入模式
{
"type": "object",
"properties": {
"name": {
"description": "Hero name, e.g. \"Master of Whispers\"",
"type": "string",
"maxLength": 64
},
"id": {
"description": "GWCA HeroID value",
"type": "integer",
"minimum": 0,
"maximum": 255
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "GWCA HeroID"
},
"name": {
"type": "string"
},
"professionId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"campaignId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unlock": {
"type": "string",
"description": "How the hero is recruited"
},
"profession": {
"type": [
"string",
"null"
]
},
"campaign": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"professionId",
"campaignId",
"unlock",
"profession",
"campaign"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢list_heroes(professionName, campaignName)
List all GW1 heroes, optionally filtered by profession or campaign name. Useful for team-building: shows which professions are coverable by heroes and how each hero is unlocked.
输入模式
{
"type": "object",
"properties": {
"professionName": {
"description": "Filter by the hero's profession, exact English name: Warrior, Ranger, Monk, Necromancer, Mesmer, Elementalist, Assassin, Ritualist, Paragon or Dervish.",
"type": "string",
"maxLength": 64
},
"campaignName": {
"description": "Filter by the campaign the hero is recruited in, exact English name: Prophecies, Factions, Nightfall or Eye of the North.",
"type": "string",
"maxLength": 64
}
},
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"total": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"heroes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991,
"description": "GWCA HeroID"
},
"name": {
"type": "string"
},
"professionId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"campaignId": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
},
"unlock": {
"type": "string",
"description": "How the hero is recruited"
},
"profession": {
"type": [
"string",
"null"
]
},
"campaign": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"name",
"professionId",
"campaignId",
"unlock",
"profession",
"campaign"
],
"additionalProperties": false
}
}
},
"required": [
"total",
"heroes"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}社区
证据