Skip to main content
Glama

Build and check a Skin Lab outfit: wear-rule clashes, attachments, total price and the 3D link

skinlab_build_outfit
Read-onlyIdempotent

[Skin Lab] Build and check a Skin Lab outfit: wear-rule clashes, attachments, total price and the 3D link. Puts the pieces on in order, the way the viewer and the game do. Pieces that can't be worn together (the game's own wear rules: two pieces clash when they occupy the same under-layer or over-layer body area - a Coffee Can Helmet and a Metal Facemask both cover the head) are reported in clashes with the piece they conflict with and why; the first piece wins and the later one is left out of the link, exactly as the viewer would; a second piece for a viewer slot that's already filled is a clash too. invalid_attachments lists attachments a gun doesn't accept or that fight for the same attachment slot; errors lists pieces that couldn't be resolved (unknown item, or a skin that isn't in 3D yet). slots is the normalised outfit (slot, item, skin, price), total_price the sum of the chosen skins' Steam lowest listings in USD cents (default looks cost nothing; unpriced counts skins with no listing), valid is true when nothing was dropped, and viewer_url opens the outfit in rust.wiki/skin-lab. Use to put together or check a whole Rust outfit (e.g. 'hoodie with the Tempered skin, metal facemask, AK with a holosight'): it applies the game's wear rules, flags pieces that can't be worn together and why, checks gun attachments, totals the skins' Steam price, and returns a viewer_url showing the outfit in 3D. Find skin itemdefids with search_skins or skinlab_get_item.

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": {
      "pieces": "<pieces>"
    },
    "name": "skinlab_build_outfit"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyNoBody model.male
faceNoFace (head) name for that body, e.g. `Frank` - list in the error when wrong.
modeNoViewer mode for the link: `outfit`, `weapon` (the first piece on its own) or `pov` (first person; needs a gun or tool).outfit
poseNoPose key, e.g. `idle`, `wave`, `crouch`, `rifle_aim`, `walk` (default `auto`). Invalid keys are listed in the error.
piecesYesComma-separated pieces, each `item[:skin[:attachment~attachment]]` - item by shortname or name, skin by itemdefid or name (left out or 0 = default look), attachments for guns. A bare number is a skin itemdefid. Up to 15 pieces, one per viewer slot.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / pieces / description
      Previous value: -"Comma-separated pieces, each `item[:skin[:attachment~attachment]]` - item by shortname or name, skin by itemdefid or name (left out or 0 = default look), attachments for guns. A bare number is a skin itemdefid. Up to 14 pieces, one per viewer slot."New value: +"Comma-separated pieces, each `item[:skin[:attachment~attachment]]` - item by shortname or name, skin by itemdefid or name (left out or 0 = default look), attachments for guns. A bare number is a skin itemdefid. Up to 15 pieces, one per viewer slot."
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark this as a safe read-only, idempotent operation, and the description goes well beyond them by disclosing the conflict-resolution rule (the game's under-layer/over-layer wear rules, first piece wins, the later piece is dropped from the link), the slot-collision rule for the viewer, and what each category of failure is. It also explains the price source (Steam lowest listings in USD cents, defaults cost nothing, `unpriced` counts skins with no listing), which an agent could not infer from the annotations.

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?

The outcome list is front-loaded and each clause carries content, but the opening sentence restates the title verbatim before adding anything, and the mid-section is a dense run-on of backticked field names that slows scanning. Trimming the title echo and breaking the output-field enumeration into a list would cost nothing.

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?

With no output schema, the description compensates by documenting the return fields (`clashes`, `invalid_attachments`, `errors`, `slots`, `total_price`, `unpriced`, `valid`, `viewer_url`) and their semantics. For a single-string-input validation tool, nothing essential is missing before calling it.

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%, so the schema already documents every parameter and the baseline is 3. The description still adds value by explaining the piece grammar's intent ('Up to 15 pieces, one per viewer slot') and the meaning of `valid` relative to dropped pieces, though `mode` and `pose` are left almost entirely to the schema.

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+resource ('Build and check a Skin Lab outfit') and enumerates exactly what is computed: wear-rule clashes, attachments, total price, and viewer link. It also routes the agent away from the sibling used only for lookup ('Find skin itemdefids with search_skins or skinlab_get_item'), so the boundary between resolving items and validating a whole outfit is explicit.

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 a clear when-to-use clause with a concrete example outfit ('hoodie with the Tempered skin, metal facemask, AK with a holosight') and names the companion tools for obtaining itemdefids. It lacks an explicit when-not-to-use note, e.g. how it differs from skinlab_link or skinlab_render_outfit when only a viewer URL is wanted.

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