Skip to main content
Glama

Stack size of every item

get_stack_sizes
Read-onlyIdempotent

[Game reference] Stack size of every item. Every live item's vanilla stack size (how many fit in one inventory slot) with name, shortname, category and item url, alphabetical - the list on rust.wiki/stack-sizes. no_limit is true for liquids, which the game stores without a real limit. Servers can change stack sizes with plugins.

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

Input Schema

NameRequiredDescriptionDefault
qNoSubstring of the item name or shortname.
pageNo1-based page number.
categoryNoOne item category (`resource`, `component`, `ammo`, `medical`, `food`, `weapon`, `tool`, `construction`, ...).
per_pageNoResults per page (max 200).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds real context beyond that: results are alphabetical, `no_limit` marks liquids stored without a real limit, and server plugins can alter stack sizes, which warns the agent the data is vanilla-only.

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 is front-loaded in the first clause and every following clause carries information (fields, ordering, no_limit meaning, plugin caveat). The single run-on sentence with inline backticks is slightly dense but not wasteful.

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?

With no output schema, the description compensates by enumerating the returned fields (name, shortname, category, url, stack, no_limit) and explaining the one non-obvious flag. Pagination and filtering behavior are left entirely to the schema, which is acceptable given full coverage.

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%, so q, page, category and per_page are already documented in the schema. The description adds no filtering or pagination semantics of its own, so the baseline 3 applies.

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 resource (stack size of every item) with concrete detail: vanilla `stack` size, the returned fields, alphabetical ordering, and the reference list it mirrors. An agent can distinguish this from get_item or get_item_full without opening 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 Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the purpose (look up how many of an item fit in a slot), and the plugin caveat hints at when the data may not match a given server. However, there is no explicit when-to-use/when-not guidance and no named alternative such as get_item for single-item lookups.

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