Skip to main content
Glama

wt_add_squad

Groups existing areas or units under one squad name, enabling spawn setup by adding zones then pointing missionMarkAsRespawnPoint.target at that squad.

Instructions

Group existing areas (unit_type='area_squad') or units ('squad') under one name. Needed for spawns: add the spawn zones with wt_add_area, group them here, then point missionMarkAsRespawnPoint.target at the squad name.

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": {
      "path": "<path>",
      "name": "<name>",
      "members": "<members>"
    },
    "name": "wt_add_squad"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
zNo
nameYes
pathYes
membersYes
unit_typeNoarea_squad

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the meaningful postcondition (the squad name becomes a valid respawn target) and that grouping behavior varies by unit_type, but says nothing about whether existing groupings are merged or overwritten, what happens to members listed that don't exist, or permission/side-effect constraints of this mutation.

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

Conciseness5/5

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

Two sentences, both load-bearing: the first defines the operation and its modes, the second gives the concrete spawn workflow. No filler or redundant restatement of the name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need no explanation, and the workflow guidance is strong for a builder tool. However, for a 7-parameter mutation with zero schema description coverage and no annotations, leaving path, coordinates, and members semantics undefined is a real gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% and 7 parameters exist, so the description must compensate. It only clarifies unit_type (two concrete values) and implies name is the group identifier; path, members (inferable only loosely), and x/y/z defaults are entirely unexplained in both schema and description.

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 verb ('group') and resource ('existing areas or units under one name') and immediately disambiguates the two modes via the literal unit_type values 'area_squad' and 'squad'. An agent can distinguish this from wt_add_area or wt_add_unit 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 Guidelines4/5

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

Provides an explicit ordered workflow: create zones with wt_add_area, group them here, then point missionMarkAsRespawnPoint.target at the squad name. That is clear when-to-use guidance tied to a named sibling and a downstream consumer. It stops short of stating when not to use it or what happens if members already belong to another squad.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.