Skip to main content
Glama

Guild Wars 1 Build Compiler

Decode a paw-ned2 team template

decode_pawned_team
Read-onlyIdempotent

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.

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": {
      "pwnd": "<pwnd>"
    },
    "name": "decode_pawned_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
pwndYesThe full pwnd blob, starting with 'pwnd000'

Output Schema

NameRequiredDescriptionDefault
buildsYesOne entry per team slot, in blob order

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pwnd / maxLength
      Previous value: -16384New value: +8192
  2. Changed6 schema fields changed
    • removedOutput schema / properties / builds / items / properties / equipmentCode / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / builds / items / properties / equipmentCode / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / builds / items / properties / inGamePlayerName / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / builds / items / properties / inGamePlayerName / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / builds / items / properties / notes / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / builds / items / properties / notes / type
      Added value: +[
      +  "string",
      +  "null"
      +]
  3. Changed1 schema field changed
    • addedInput schema / additionalProperties
      Added value: +false
  4. Changed1 schema field changed
    • changedInput schema / properties / pwnd / maxLength
      Previous value: -262144New value: +16384
  5. Changed8 schema fields changed
    • changedOutput schema / properties / builds / items / properties / build / additionalProperties
      Previous value: -falseNew value: +{}
    • changedOutput schema / properties / builds / items / properties / build / description
      Previous value: -"Decoded bar (absent if decoding failed)"New value: +"Decoded bar (absent if decoding failed). Same shape as decode_template's output."
    • removedOutput schema / properties / builds / items / properties / build / properties / attributes
      Removed value: -{
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "attribute": {
      -        "type": "string"
      -      },
      -      "rank": {
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "attribute",
      -      "rank"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / builds / items / properties / build / properties / primary
      Removed value: -{
      -  "description": "Primary profession name",
      -  "type": "string"
      -}
    • removedOutput schema / properties / builds / items / properties / build / properties / raw
      Removed value: -{
      -  "description": "The raw decoded template (ids, not names)"
      -}
    • removedOutput schema / properties / builds / items / properties / build / properties / secondary
      Removed value: -{
      -  "anyOf": [
      -    {
      -      "type": "string"
      -    },
      -    {
      -      "type": "null"
      -    }
      -  ],
      -  "description": "Secondary profession name, null for none"
      -}
    • removedOutput schema / properties / builds / items / properties / build / properties / skills
      Removed value: -{
      -  "description": "The 8 bar slots in order",
      -  "items": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "activation": {
      -        "type": "number"
      -      },
      -      "adrenaline": {
      -        "type": "number"
      -      },
      -      "attribute": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ]
      -      },
      -      "description": {
      -        "type": "string"
      -      },
      -      "elite": {
      -        "type": "boolean"
      -      },
      -      "energy": {
      -        "type": "number"
      -      },
      -      "isRoleplay": {
      -        "description": "PvE-only skill: max 3 per player bar, none on heroes",
      -        "type": "boolean"
      -      },
      -      "name": {
      -        "anyOf": [
      -          {
      -            "type": "string"
      -          },
      -          {
      -            "type": "null"
      -          }
      -        ],
      -        "description": "null for an empty bar slot"
      -      },
      -      "recharge": {
      -        "type": "number"
      -      },
      -      "sacrifice": {
      -        "type": "number"
      -      },
      -      "slot": {
      -        "description": "Bar position 1-8",
      -        "maximum": 9007199254740991,
      -        "minimum": -9007199254740991,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "slot",
      -      "name"
      -    ],
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / builds / items / properties / build / required
      Removed value: -[
      -  "primary",
      -  "secondary",
      -  "attributes",
      -  "skills",
      -  "raw"
      -]
  6. Changed1 schema field changed
    • addedOutput schema / properties / builds / items / properties / build / properties / skills / items / properties / isRoleplay
      Added value: +{
      +  "description": "PvE-only skill: max 3 per player bar, none on heroes",
      +  "type": "boolean"
      +}
  7. Changed1 schema field changed
    • addedInput schema / properties / pwnd / maxLength
      Added value: +262144
  8. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "builds": {
      +      "description": "One entry per team slot, in blob order",
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "build": {
      +            "additionalProperties": false,
      +            "description": "Decoded bar (absent if decoding failed)",
      +            "properties": {
      +              "attributes": {
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "attribute": {
      +                      "type": "string"
      +                    },
      +                    "rank": {
      +                      "maximum": 9007199254740991,
      +                      "minimum": -9007199254740991,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "attribute",
      +                    "rank"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              },
      +              "primary": {
      +                "description": "Primary profession name",
      +                "type": "string"
      +              },
      +              "raw": {
      +                "description": "The raw decoded template (ids, not names)"
      +              },
      +              "secondary": {
      +                "anyOf": [
      +                  {
      +                    "type": "string"
      +                  },
      +                  {
      +                    "type": "null"
      +                  }
      +                ],
      +                "description": "Secondary profession name, null for none"
      +              },
      +              "skills": {
      +                "description": "The 8 bar slots in order",
      +                "items": {
      +                  "additionalProperties": false,
      +                  "properties": {
      +                    "activation": {
      +                      "type": "number"
      +                    },
      +                    "adrenaline": {
      +                      "type": "number"
      +                    },
      +                    "attribute": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ]
      +                    },
      +                    "description": {
      +                      "type": "string"
      +                    },
      +                    "elite": {
      +                      "type": "boolean"
      +                    },
      +                    "energy": {
      +                      "type": "number"
      +                    },
      +                    "name": {
      +                      "anyOf": [
      +                        {
      +                          "type": "string"
      +                        },
      +                        {
      +                          "type": "null"
      +                        }
      +                      ],
      +                      "description": "null for an empty bar slot"
      +                    },
      +                    "recharge": {
      +                      "type": "number"
      +                    },
      +                    "sacrifice": {
      +                      "type": "number"
      +                    },
      +                    "slot": {
      +                      "description": "Bar position 1-8",
      +                      "maximum": 9007199254740991,
      +                      "minimum": -9007199254740991,
      +                      "type": "integer"
      +                    }
      +                  },
      +                  "required": [
      +                    "slot",
      +                    "name"
      +                  ],
      +                  "type": "object"
      +                },
      +                "type": "array"
      +              }
      +            },
      +            "required": [
      +              "primary",
      +              "secondary",
      +              "attributes",
      +              "skills",
      +              "raw"
      +            ],
      +            "type": "object"
      +          },
      +          "equipmentCode": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "error": {
      +            "additionalProperties": false,
      +            "properties": {
      +              "code": {
      +                "type": "string"
      +              },
      +              "message": {
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "code",
      +              "message"
      +            ],
      +            "type": "object"
      +          },
      +          "inGamePlayerName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "label": {
      +            "description": "Slot name shown in paw-ned2 (Player, Hero 1, ...)",
      +            "type": "string"
      +          },
      +          "notes": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "skillsCode": {
      +            "description": "This entry's individual template code",
      +            "type": "string"
      +          },
      +          "slot": {
      +            "maximum": 9007199254740991,
      +            "minimum": -9007199254740991,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "slot",
      +          "label",
      +          "notes",
      +          "inGamePlayerName",
      +          "skillsCode",
      +          "equipmentCode"
      +        ],
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "builds"
      +  ],
      +  "type": "object"
      +}
  9. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, closed-world and non-destructive, so safety is covered. The description adds genuine context beyond them: what the decoded output contains (label, description, per-build skill bars) and that whitespace and line wraps in pasted input are tolerated. Only the handling of invalid or malformed blobs is left unstated.

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, front-loaded with purpose, then payload description, then the alternative. Nothing is redundant and no sentence could be removed without losing routing or format information.

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?

With an output schema present, there is no need to describe return values, and annotations cover the safety profile; the description correctly spends its words on routing and input tolerance. The only omission is guidance on malformed or non-team blobs, which would help an agent decide between retrying or escalating.

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 coverage is 100% with a single required 'pwnd' string, so the baseline is 3. The description goes further by naming the format family and stating that pasted whitespace and line wrapping are accepted, which is behavior the schema does not express.

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 (decode) and resource (paw-ned2 team build blob), identifies the exact format it consumes ('pwnd0001...>...<'), and distinguishes itself from decode_template for single builds. An agent can select it without opening the 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?

Explicitly routes non-team single build codes to decode_template, which is the only real ambiguity in this family of tools. The input format is described precisely enough that an agent knows what to feed it.

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.