Skip to main content
Glama

wt_set_value

Set or add text, number, boolean, vector, or matrix values in War Thunder CDK mission blocks by providing the block path, field name, type, and value.

Instructions

Set (or add) one value in a block. type is the BLK type: t=text, i=int, r=real, b=bool, p2/p3=vectors (list), m=matrix. Example: block_path='mission_settings.player', name='wing', type='t', value='player'.

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>",
      "block_path": "<block_path>",
      "name": "<name>",
      "type": "<type>",
      "value": "<value>"
    },
    "name": "wt_set_value"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
pathYes
typeYes
valueYes
block_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/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 behavioral burden. It does disclose the important upsert trait (set or add) and the type-code vocabulary, but says nothing about whether an existing value is silently overwritten, whether the new type must match the existing value's type, or what happens on an invalid 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 tight sentences: the action and the type vocabulary come first, then a concrete example. Every element earns its place; only the missing `path` explanation keeps it from being ideal.

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 type-code table is genuinely necessary for a 5-required-parameter tool. Still, with zero annotation coverage and zero schema coverage, leaving `path` undefined and omitting any error or prerequisite behavior leaves a mutation tool under-specified.

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 0%, so the description must compensate. It fully decodes the `type` parameter (t/i/r/b/p2/p3/m) and the example demonstrates the block_path + name + type + value relationship, but `path` is never explained and the expected `value` shape per type is only hinted ('list', 'matrix').

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 names a specific verb and resource: 'Set (or add) one value in a block,' and clarifies the write granularity (single value, not whole block). It implicitly distinguishes itself from read/list siblings (wt_read_block, wt_summarize_mission) by being the mutation counterpart, though no sibling is named explicitly.

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?

The '(or add)' phrasing usefully signals upsert behavior, so an agent knows it does not need a separate create call for a new value. However, there is no guidance on when to prefer this over wt_add_block or wt_remove, and no stated prerequisites such as whether the block at block_path must already exist.

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