Skip to main content
Glama

One tech tree: nodes and prerequisite edges

get_tech_tree
Read-onlyIdempotent

[Game reference] One tech tree: nodes and prerequisite edges. The full research graph for one workbench, from the game's own tech tree data. Every node costs ONE research item, never scrap: currency says which - a Blueprint Fragment (Workbench Level 1 and Engineering Workbench), a Blueprint Page (Level 2) or a Blueprint Book (Level 3) - at default server settings (a server can add a tax). Unlocking a node also unlocks every locked node on the cheapest route back to the tree's start, one item each. nodes carry id, shortname, name, icon_url, cost (1), path_cost (items to unlock it from scratch with everything before it), inputs (prerequisite node ids - any one is enough) and x/y: LAYOUT PIXELS (the top-left of a 110x78 card, see card_size) from the game's own graph positions. edges are the prerequisite links (from_id before to_id) with the card-centre endpoints x1,y1,x2,y2 the page draws. unlinked lists nodes that are in the tree's data but have no route from its start (mostly moved to the Engineering Workbench tree). Node ids are only stable until the tree is re-seeded. Cached for one hour. Costs are research items (Blueprint Fragment, Page or Book), never scrap. Link https://rust.wiki/tech-tree?tree=.

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": {
      "tree": "<tree>"
    },
    "name": "get_tech_tree"
  }
}

Input Schema

NameRequiredDescriptionDefault
treeYesWhich research graph: Workbench Level 1/2/3 or the Engineering Workbench.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds several behavioral facts beyond them: results are cached for one hour, node ids are only stable until the tree is re-seeded, unlocking a node also unlocks every locked node on the cheapest route, and costs are research items never scrap (with a note that servers can add a tax). These are exactly the caveats an agent needs before relying on the payload.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the purpose, then field-by-field payload anatomy, which is well ordered for a data-returning tool. It is dense and slightly repetitive: the 'costs are research items, never scrap' point is made twice, and the trailing wiki link is only loosely integrated.

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?

There is no output schema, so the description carries the return-shape burden and does: it enumerates `nodes` fields (id, shortname, name, icon_url, cost, path_cost, inputs, x/y), explains `edges` endpoints, `unlinked`, and the 110x78 card layout with pixel coordinates. Nothing an agent needs to interpret or render the result is missing.

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% and the enum is already documented, so the baseline is 3, but the description adds real meaning by mapping each tree choice to the currency it spends (Fragment for Workbench 1 and Engineering, Page for Level 2, Book for Level 3). That tells the agent what the parameter implies about the result, not just what values are legal.

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 and resource ('One tech tree: nodes and prerequisite edges. The full research graph for one workbench') and names the source of truth ('the game's own tech tree data'). The scope is narrow and unmistakable: a single tree's research graph, not a search or list tool.

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

Usage Guidelines4/5

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

Gives clear context for which tree to request (Workbench Level 1/2/3 vs Engineering Workbench) and explains that nodes without a route from the start land in `unlinked`, mostly moved to the Engineering Workbench tree, which effectively routes the agent between trees. It stops short of naming an exclusion or an alternative tool for other research-data needs.

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.

Resources