Skip to main content
Glama
poe-data-mcp

poe-data-mcp

by charleslucas

parse_pob_skill_groups

Extract structured socket/link groups from a Path of Building build per skill set, returning JSON with gems, levels, quality, support/main flags, and item slot bindings.

Instructions

Extract the structured socket/link groups from a PoB build, per skill set.

Unlike parse_pob (which summarises only the active set as prose), this returns JSON: every link group with its gems (name, skillId, level, quality, support flag, main-skill flag) and its item slot binding when the author set one. Groups WITHOUT a slot are item-agnostic — the link group is the unit, and any gear with the right links/colours can host it. A build can have many skill sets (per act / progression stage); pick one with skill_set (id or title substring, e.g. "Early Covenant"), otherwise the active set is returned. The top-level skill_sets index always lists every set so you can pick another.

For slot-bound groups, item_sockets gives the item's ACTUAL socket-colour layout (e.g. "G-B-B-B-R-B") read straight from the export — the author's real colours. For unassigned groups (item-agnostic), and to compute the required colours, derive each gem's natural colour from its attribute requirements via pob-mcp's get_gem_detail (read at a mid/high level; low levels omit the requirement). Note: item-granted supports (e.g. The Hungry Loop) appear as gems and inflate gem_count even though the item has only one real socket; and abyssal jewels are NOT here (they're items in abyssal sockets, with no R/G/B colour).

Args: code_or_url: PoB export code, pobb.in / poedb.tw / pastebin URL. skill_set: Optional — a skill-set id or title substring to return groups for. Omit to get the active set.

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": {
      "code_or_url": "<code_or_url>"
    },
    "name": "parse_pob_skill_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault
skill_setNo
code_or_urlYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A5/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden, and it discloses genuinely non-obvious behavior: the `skill_sets` index is always present regardless of which set is returned, unassigned groups are item-agnostic by design, and `item_sockets` reflects the author's actual colours rather than required ones. It even flags two data quirks an agent would otherwise misread — item-granted supports inflating gem_count on single-socket items, and abyssal jewels being excluded entirely.

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?

Long but front-loaded and every paragraph earns its place: output shape, set selection, then the two caveat classes (colour derivation, data quirks). Minor repetition exists between the prose and the Args block on the skill_set default, but it is small relative to the density of useful content.

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?

For a 2-parameter parsing tool with an output schema, everything an agent needs is present: input formats, selection semantics, the shape of returned groups, and the interpretive traps around socket colours and gem counts. The output schema covers the return structure, and the description adds the meaning the schema cannot convey.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate, and it does fully for both parameters: `code_or_url` is specified as a PoB export code or a pobb.in/poedb.tw/pastebin URL, and `skill_set` as an id or title substring with the omit-behavior spelled out. The Args block is redundant with the prose but leaves no ambiguity.

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 first sentence names a specific verb and resource ("Extract the structured socket/link groups from a PoB build, per skill set") and immediately contrasts the output shape with the sibling parse_pob ("summarises only the active set as prose" vs "this returns JSON"). An agent can distinguish it from parse_pob without reading either 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?

Explicit routing: use parse_pob for prose summaries, this tool for structured JSON; the `skill_set` parameter's selection rule and default ("otherwise the active set is returned") are stated outright, including a concrete example value ("Early Covenant"). It also names the follow-up tool (get_gem_detail) and the condition requiring it (deriving required colours for item-agnostic groups), which is real when-to-use guidance.

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