Skip to main content
Glama

Render a Skin Lab outfit, gun or item as an image (WebP/PNG)

skinlab_render_outfit
Read-onlyIdempotent

[Skin Lab] Render a Skin Lab outfit, gun or item as an image (WebP/PNG). Returns {status: "done", url, cached, width, height, format} with a permanent image URL (same request = same URL; images are cached), plus outfit (the normalised pieces, their Steam prices and total_price in USD cents, and any clashes / invalid attachments dropped exactly as /skin-lab/outfit reports them), viewer_url (the same outfit in the interactive 3D viewer) and render_quota. A render that takes longer than wait seconds answers 202 {status: "queued", position, retry_after} - call again with the same parameters (no extra quota) after Retry-After seconds. 429 when the render queue is full or a quota is used up. New images count against a separate render quota (100 per key per UTC day); cached images don't. Use when someone wants to SEE an outfit, skin, gun or item: returns the rendered image inline (you can look at it and show it) plus a permanent image URL, the interactive 3D viewer link, the outfit's pieces and total Steam price. pieces uses the same format as skinlab_build_outfit (find skins with search_skins / skinlab_get_item); a gun with attachments in item view = mode weapon. Rendering a new image takes a few seconds; if it says pending, call again with the same arguments. Keyless use shares a small daily render budget.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "skinlab_render_outfit"
  }
}

Input Schema

NameRequiredDescriptionDefault
yawNoTurn the character/item, degrees.
bodyNoBody model.male
faceNoFace (head) name for that body, e.g. `Frank` (default: the first face).
modeNo`outfit` (on the player), `weapon` (the FIRST piece on its own - guns, tools, deployables) or `pov` (first person; needs a gun or tool).outfit
poseNoPose key, e.g. `idle`, `wave`, `crouch`, `rifle_aim` (default `auto`). Moving poses are shown frozen.
zoomNoCamera zoom (1 = the viewer's framing).
lightNoLighting: studio, day, golden, overcast, dusk, night. `studio` on an in-game scene = that scene's own daylight.studio
widthNoImage width, px.
formatNo`webp` (small) or `png`.webp
heightNoImage height, px.
piecesNoThe outfit, exactly as for /skin-lab/outfit: comma-separated `item[:skin[:attachment~attachment]]` (item by shortname or name, skin by itemdefid or name, attachments for guns; a bare number is a skin itemdefid). Left out = the viewer's starter outfit.
weatherNoIn-game scenes only: auto, off, clear, cloudy, fog, rain, storm, snow.auto
backgroundNo`studio`, `dark`, `light`, `sky`, `sunset`, or an in-game scene: plains, forest, arctic, desert, beach, set_base, set_garage, set_compound, set_monument, set_launch, set_market, set_military, set_dock, set_coast.studio
transparentNoTransparent backdrop (studio-type backgrounds only; the floor disc stays).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses caching semantics (same request = same URL, cached images don't count against quota), the exact quota (100 new renders per key per UTC day), a shared keyless budget, the 202 queued response with `position`/`retry_after` and the 'same parameters, no extra quota' rule, and the 429 condition. This is the kind of operational context annotations cannot express, and it is consistent with idempotentHint=true.

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?

Purpose and return shape are front-loaded, which is correct for a 14-parameter tool, and most sentences carry information. There is some redundancy: the 'call again with the same parameters' / 'if it says pending, call again with the same arguments' instruction appears twice, and the returns list is dense enough to be hard to scan.

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 14 optional parameters, no output schema, and an idempotent read annotation set, the description still covers the response shape (`status`, `url`, `cached`, dimensions, `outfit`, `viewer_url`, `render_quota`), the async path, and the quota model. Nothing an agent needs to call this correctly or interpret the reply 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%, so the baseline is 3; the description earns a bump by explaining the `pieces` grammar's cross-tool equivalence to skinlab_build_outfit and clarifying that `weapon` mode renders the FIRST piece standalone. It doesn't add much about the many appearance knobs (yaw, pose, light, background), but the schema already documents those fully.

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 opening sentence gives a specific verb (render) plus resource (outfit, gun, item) and output formats (WebP/PNG), and the later 'Use when someone wants to SEE an outfit, skin, gun or item' clause separates it from the build/query siblings like skinlab_build_outfit and skinlab_get_item. An agent can tell this is the image-producing tool without reading 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?

It explicitly names the trigger ('someone wants to SEE an outfit, skin, gun or item') and routes the supporting work to siblings ('find skins with search_skins / skinlab_get_item', '`pieces` uses the same format as skinlab_build_outfit'). It also states mode selection guidance ('a gun with attachments in item view = mode `weapon`') and the retry path when the render is queued, leaving little to inference.

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