Skip to main content
Glama

wt_add_block

Adds a named block under a parent path in a War Thunder CDK mission file, using item values or nested sub-blocks to build mission structures.

Instructions

Add a block under parent_path. items: [{name,type,value}] for values or {name,block:[...]} for sub-blocks (same shape wt_read_block returns).

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>",
      "parent_path": "<parent_path>",
      "name": "<name>",
      "items": "<items>"
    },
    "name": "wt_add_block"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes
itemsYes
replaceNo
parent_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It implies a write operation but says nothing about what happens if a block with that name already exists, how the unmentioned `replace` flag changes behavior, whether existing children are preserved, or what errors occur on an invalid parent_path.

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?

Two tightly packed sentences with the action and target front-loaded and no filler. The nested-items format is conveyed compactly, though the sentence gets dense enough that the omitted parameters are easy to overlook.

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 not be explained, and the items shape is covered well. However, for a 4-required-parameter mutation tool with zero annotation coverage, the absence of any detail on `path`, `name`, and `replace` leaves the definition short of what an agent needs to call it correctly.

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 description coverage is 0% across 5 parameters, yet the description only explains `items` (value entries versus nested sub-blocks) and mentions `parent_path` in passing. The critical `path` versus `parent_path` distinction, the top-level `name`, and the `replace` default of false are all left undocumented in both schema and description.

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 verb and resource: 'Add a block under parent_path,' which clearly separates it from siblings like wt_add_area, wt_add_objective, or wt_set_value. It is clear what is being created and where, though it does not explicitly contrast itself with any named alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no guidance on when to use this tool versus wt_set_value, wt_add_* siblings, or wt_remove. The only cross-reference, 'same shape wt_read_block returns,' is a format hint rather than a when-to-use rule, and no preconditions 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.