Skip to main content
Glama

How each skin in an inventory moved: then vs now

get_inventory_performance
Read-onlyIdempotent

[Inventory] How each skin in an inventory moved: then vs now. The Performance tab of rust.wiki/inventory/{steamid}: for every skin in the STORED inventory (look it up with /inventory/{steamid} first if it was never checked), its Steam price then (that day's average sale, or the store price for all) and now, with change and change_pct for the whole stack (quantity), plus totals: value_then, value_now, change, change_pct, winners, losers. no_history counts skins with no price for that date. Cents. No Steam call - stored price history only; cached 10 minutes. No key needed. Which skins in an inventory gained or lost most over a period. Look the inventory up with get_inventory first if it returns no skins.

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": {
      "steamid": "<steamid>"
    },
    "name": "get_inventory_performance"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNo`gain`/`loss` = biggest change in cents for the whole stack; `pct_gain`/`pct_loss` = biggest % change; `value` = most valuable now.gain
limitNoMost skins to return.
rangeNoCompare against one day, week, month, 3/6 months, 1/2/5 years ago, or `all` (each skin's original store price, else its first Steam sale).1m
steamidYes17-digit SteamID64.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior3/5

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

Beyond the readOnly/idempotent annotations, the description adds real operational context: no Steam call is made (stored price history only), responses are cached 10 minutes, no API key is needed, and values are in cents. These are useful but essentially cost/freshness notes rather than deep behavioral disclosure; the safety profile is already fully carried by 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?

Front-loads the purpose in the first clause and packs the important constraints early, but later sentences repeat the title intent ('Which skins in an inventory gained or lost most over a period') and repeat the get_inventory prerequisite already implied earlier, adding some redundancy to an otherwise dense paragraph.

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 carries the full burden and does so by enumerating returned fields (then, now, change, change_pct, value_then, value_now, winners, losers, no_history), units, the skipped-skins counter, and the data source. Nothing essential for correct invocation is missing.

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

Parameters3/5

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

Schema description coverage is 100% and both enums carry inline descriptions, so the schema does the heavy lifting. The description adds marginal meaning by clarifying that change/change_pct apply to the whole stack (`quantity`) and that the `then` price is that day's average sale (or store price for `all`), but most parameter behavior is restated rather than extended.

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 computation and resource: per-skin movement in a stored inventory, 'then vs now', explicitly the Performance tab data. It is clearly distinguishable from siblings like get_inventory (storage lookup) and get_skin_price_history (single-skin history) because it names the parent inventory lookup it depends on.

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 an explicit trigger ('Which skins in an inventory gained or lost most over a period') and a concrete prerequisite: call /inventory/{steamid} or get_inventory first if the inventory was never checked or returns no skins. It does not explicitly steer the agent away from siblings such as get_inventory_valuation or get_inventory_value_history, so a possible alternative is left unaddressed.

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