Skip to main content
Glama
@inspekt-gg/mcp

@inspekt-gg/mcp

Official
by inspekt-gg

Build a CS2 3D viewer embed

embed_snippet
Read-onlyIdempotent

Embed a live, rotatable 3D CS2 item viewer on a web page. Generates cs2embed.js loader code, a raw iframe, or a React component from a Steam inspect link or catalog id.

Instructions

Use when a web page should show the live, rotatable 3D viewer of a CS2 item. Returns cs2embed.js loader code (default), a raw iframe or a React component, from a Steam inspect link or a catalog id. Tell the user to add the page origin under Allowed origins in the dashboard. For a flat picture use render_still. Example: {"id":"ak47_cu_ak47_cobra_gen","wear":0.24,"seed":661,"scene":"plate_dust2_video","controls":"poses","origin":"https://shop.example"}

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": "embed_snippet"
  }
}

Input Schema

NameRequiredDescriptionDefault
bgNoBackground behind the item. transparent lets the page show through.
idNoCatalog id from catalog_search.
uiNonone hides the name plate.
nameNoName tag, up to 20 printable characters. Only with id.
seedNoPattern seed, 0 to 1000. Only with id.
viewNoStarting camera. Default front.
wearNoFloat, 0 to 1. Only with id.
charmNoOne charm. Only with id.
lightNoLighting. Defaults by view.
sceneNoMap backdrop: plate_train_video, plate_ancient_video, plate_office_video, plate_dust2_video, plate_test_valley_waterfall (Splinter), plate_mocha_video, plate_boulder_video, plate_creek_video or plate_zion_video. bg wins if both are sent.
themeNoStyles the name plate, wordmark and buttons.
widthNoFrame width in px, 160 to 1600.
heightNoFrame height in px, 160 to 1600.
originNoOrigin of the page that will host the frame, such as https://shop.example or http://localhost:3000.
inspectNoSteam inspect link with the item as hex (copied from inside CS2, or a gen link), or the hex alone.
variantNoscript: the cs2embed.js loader (default). iframe: a raw iframe. react: a React component.script
controlsNoWhat a visitor can do. Default basic. full adds first person.
stattrakNoKill counter. Any value makes the item StatTrak, 0 included. Only with id.
stickersNoUp to 5 stickers. Only with id.
autorotateNoSpin until the visitor first touches the frame.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint=false, so the safety profile is covered. The description adds real value beyond that: the three output shapes and which is default, and the dashboard origin allow-list requirement that will otherwise silently break the embed. It stops short of describing loader behavior, caching, or size limits.

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 when-to-use clause is front-loaded, the alternative is stated in one short sentence, and the example is compact JSON. The prerequisite sentence sits mid-paragraph and would read better as its own line, but nothing is padding.

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?

For a 20-parameter tool with nested charm and sticker objects and no output schema, the description correctly compensates by naming the return artifacts and their default. The only gap is that it does not explain how inspect and id interact when both could be supplied, leaving that to the schema.

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 goes further by showing a worked example object that demonstrates how id, wear, seed, scene, controls and origin combine in practice, which the per-property schema text does not convey.

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 description opens with a specific verb and resource ('show the live, rotatable 3D viewer of a CS2 item') and states the concrete outputs (cs2embed.js loader, raw iframe, React component) plus accepted inputs (Steam inspect link or catalog id). It is clearly distinguishable from the sibling render_still, which it names.

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 gives an explicit triggering condition ('Use when a web page should show the live, rotatable 3D viewer') and routes the flat-image case to render_still. It also surfaces the prerequisite of adding the page origin under Allowed origins in the dashboard, which an agent must relay before the embed will work.

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