Skip to main content
Glama

Overlay skins, baskets and indices on one date axis

compare_market
Read-onlyIdempotent

[Market] Overlay skins, baskets and indices on one date axis. The data behind rust.wiki/skins/compare: one shared dates axis and a series entry per token with key, name, icon_url, is_basket, is_index and prices aligned to the axis (null where that entry has no data yet). Skin and basket entries are prices in cents (a basket is the plain average of its members' prices); index entries are index levels rebased to 100. Spans over two years are downsampled to weekly points. Cached for 24 hours per parameter combination.

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": {
      "entries": "<entries>"
    },
    "name": "compare_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoWindow: `7d`, `30d`, `90d`, `1y`, `2y`, `3y`, `4y`, `5y`, `all`, or `custom` with `start_date`/`end_date`. Spans over two years are downsampled to one point per week.90d
smoothNoApply a trailing 30-day moving average.
entriesYesComma-separated, up to 8: an `itemdefid` (that skin's price), `category:weapon` / `collection:Forest Raiders` / `item:shoes.boots` (the basket's average price) or `index:all` / `index:category:weapon` / `index:custom:123.456` (an index entry; custom ids joined with `.`).
end_dateNoCustom range end (YYYY-MM-DD, inclusive). Only read when range=custom.
trim_daysNoMask each constituent's first N days of history (0-90) to drop launch-week volatility.
start_dateNoCustom range start (YYYY-MM-DD, inclusive). Only read when range=custom.
index_weight_modeNoWeighting for any `index:` entries (see /market/index).equal

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, but the description adds substantial behavioural context beyond them: null padding where a series has no data, cents units for skins and baskets, basket = plain average of members, index rebased to 100, weekly downsampling past two years, and a 24-hour cache per parameter combination (a real freshness constraint). With no output schema present, this disclosure carries meaningful weight.

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 and the source endpoint, then a dense but well-ordered explanation of the return shape and units. A small amount of redundancy exists — the over-two-years weekly downsampling is stated both here and in the `range` schema description — but no sentence is wasted.

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?

For a seven-parameter tool with no output schema, the description covers what matters: response structure (shared dates axis, per-token series fields), value units, aggregation rules, downsampling fidelity, and cache lifetime. An agent can call this correctly and interpret the result without further documentation.

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, but the description adds semantic meaning to `entries` by explaining what each entry type resolves to in the response (a skin price in cents, a basket average, an index level). It does not restate range/smooth/trim_days/index_weight_mode semantics, which the schema already handles well.

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 — 'Overlay skins, baskets and indices on one date axis' — and anchors it to a concrete artifact ('the data behind rust.wiki/skins/compare'). This distinguishes it from single-series siblings like get_market_index or get_market_cap without the agent needing to open a schema.

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?

The entry-type enumeration (itemdefid, category:/collection:/item: baskets, index:) implicitly tells the agent this is the multi-series comparison tool rather than a single-lookup one. It stops short of explicitly naming an alternative (e.g. get_market_index for a lone index) or stating when not to use it, so it falls just short of full routing guidance.

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