Skip to main content
Glama

Every weapon's damage, DPS, fire rate, magazine, reload and range

get_weapon_stats
Read-onlyIdempotent

[Game reference] Every weapon's damage, DPS, fire rate, magazine, reload and range. The data behind https://rust.wiki/weapons: every gun, bow, launcher and main melee weapon with damage per bullet/pellet (standard ammo), pellets (shotguns), hit (damage x pellets), raw dps (hit x rpm / 60 - ignores reloads, recoil, armour and falloff), magazine, reload_s, range_m (damage falloff start-end) / range_end, ammo, workbench (level to craft; null = loot only, 0 = no bench) and notes. Checked against Facepunch's wiki and patch notes (sources, verified); Facepunch rebalances weapons often.

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_weapon_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoSort key: highest first, except `name` and `reload_s` (lowest first).dps
searchNoCase-insensitive match on the weapon name.
categoryNoRestrict to one weapon type.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Annotations already declare this is a safe, idempotent read, and the description adds substantial context: it defines raw DPS, notes that DPS ignores reloads, recoil, armour and falloff, explains workbench null/zero semantics, and states data provenance and patch volatility. This is rich behavioral and data-quality disclosure beyond 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?

The description is dense but front-loaded: the first sentence states the resource and the following field list earns its place by documenting return values in the absence of an output schema. It could be slightly more scannable, but there is little clear waste.

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 read-only reference tool with no output schema, the description is complete: it enumerates returned fields, explains important derived fields and caveats, and mentions data verification. The input schema covers the optional filters fully, so no critical calling information 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%, so sort, search and category are already fully documented in the schema. The description does not add parameter syntax or usage details beyond what the schema provides, so the baseline 3 is appropriate.

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 states a specific reference resource: every weapon's damage, DPS, fire rate, magazine, reload and range, with the exact field set and source. An agent can distinguish it from calculation tools by the focus on raw weapon reference data.

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 reference-oriented purpose and optional sort/search/category filters, but the description does not explicitly say when to use this instead of siblings like calculate_damage, get_damage_data or weapon_attachments. It provides enough context for a reasonable agent but no explicit exclusions or alternatives.

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