Skip to main content
Glama

Weapon attachments: what each gun accepts and what each attachment does

weapon_attachments
Read-onlyIdempotent

[Skin Lab] Weapon attachments: what each gun accepts and what each attachment does. From the game's own attachment data (as Skin Lab uses it). Each attachment has shortname, name, slot (muzzle, sight, underbarrel, magazine, internal, targeting - one attachment per slot), description, effects (readable: damage x0.75 = 25% less damage, aimcone_hip +2 = wider hip-fire spread) and the raw stats multipliers (scalar) and additions (offset). With weapon: that gun's slots and accepts (the attachments that fit it). Without: every gun's accepted list plus every attachment. Which attachments a Rust gun takes and what each does (damage, recoil, zoom...).

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

Input Schema

NameRequiredDescriptionDefault
weaponNoGun shortname or name; left out = every gun and every attachment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful output-shape detail: the field set (shortname, name, slot, description, effects, stats) and the notation semantics ('damage x0.75' = 25% less damage, 'aimcone_hip +2' = wider hip-fire spread). Since no output schema exists, this is the main place return values are explained, which lifts it above baseline.

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 core purpose and dense with useful detail, but the final sentence ('Which attachments a Rust gun takes and what each does (damage, recoil, zoom...)') largely repeats the opening, and the backtick-heavy run-on is harder to scan than it needs to be.

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 single-optional-parameter read-only lookup with no output schema, the description covers purpose, both modes, the slot enumeration, and the return field semantics including the effects notation. An agent has everything needed to call it correctly and interpret the response.

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% and the schema already says 'left out = every gun and every attachment,' so the description partially restates it. It still adds meaning by spelling out what the returned structure contains in each mode ('that gun's `slots` and `accepts`'), which the schema does not convey.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The opening states a specific verb+resource: it returns which attachments each gun accepts and what each attachment does, and it names the data source ('the game's own attachment data'). It never distinguishes itself from adjacent siblings such as get_weapon_stats or calculate_damage, so an agent must infer the boundary from names alone.

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 description clearly delineates the two operating modes: 'With `weapon`: that gun's `slots` and `accepts`' versus 'Without: every gun's accepted list plus every attachment,' which functions as actionable when-to-use guidance for the single optional parameter. It stops short of naming alternatives or stating exclusions, so it earns a 4 rather than a 5.

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