Skip to main content
Glama

Turrets and traps: damage, range, arc, ammo, power, HP, recipe, TC rules

get_trap
Read-onlyIdempotent

[Game reference] Turrets and traps: damage, range, arc, ammo, power, HP, recipe, TC rules. Every player trap/turret plus the NPC safe-zone turrets: hp, damage_text, the raw damage fields, sight_range, arc_degrees, range, power (electricity), ammo/fuel, craft recipe, needs_privilege_to_use, notes (targeting and Tool Cupboard rules), explosives to destroy. key= for one defence (autoturret, flameturret, guntrap, trap-landmine, trap-bear, samsite, electric-teslacoil). Link https://rust.wiki/traps-and-turrets.

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

Input Schema

NameRequiredDescriptionDefault
keyNoJust one, e.g. `autoturret`, `samsite`, `guntrap`, `trap-landmine`, `electric-teslacoil`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), so the description is free to add the substantive behavior: the exact field set returned, including `notes` for targeting and Tool Cupboard rules and `explosives` for destruction. With no output schema, that return-shape disclosure is genuinely additive; only rate-limit/pagination-style caveats are absent, which are unlikely for a static reference.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The first sentence duplicates the tool title word-for-word and thus adds no information, and the field enumeration is a dense backtick-laden run-on. The key-mode hint and wiki link are compact and useful, but the opening redundancy and list density cost it.

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?

For a read-only, single-optional-parameter reference tool with no output schema, the description does the heavy lifting by naming the returned fields and the domain rules encoded in `notes`. An agent has enough to call it correctly and interpret the result, with only sibling routing left unaddressed.

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 coverage is 100% and the single parameter already carries examples equivalent to those in the description. The description does add the implicit semantic that omitting `key` returns the full list, but otherwise restates the schema's example values. Baseline 3 is appropriate.

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 description states a specific resource and scope: 'Every player trap/turret plus the NPC safe-zone turrets', and enumerates the attributes returned. An agent can tell it is a static game-data lookup rather than a calculator (e.g. calculate_damage) — though it never explicitly names a sibling to contrast with.

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 'key= for one defence' phrasing, which shows the two modes: all defences, or a single named one. There is no explicit statement of when to prefer this over get_best_defences or get_damage_data, and no prerequisites or exclusions are given.

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