Skip to main content
Glama

wt_add_objective

Add a mission objective to a War Thunder CDK mission file by specifying its objective ID, display text, and primary status for mission scripting.

Instructions

Add a mission objective (abstractMissionObjective). BEST PRACTICE (from ExploreCargoPort): make objective_id the exact text you want shown (spaces/punctuation allowed, names are quoted), leave text empty, keep primary=true; no csv is needed. If text differs from the id it is written to usr_.csv. Show it at mission start with moSetObjectiveStatus status=1 (or moAddMissionObjective with a unit/area to get a map icon); complete it with status 2.

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>",
      "objective_id": "<objective_id>"
    },
    "name": "wt_add_objective"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYes
textNo
primaryNo
objective_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does so well: it discloses the hidden side effect that text is written to usr_<mission>.csv when it differs from the id, and that 'no csv is needed'. It also explains the follow-on lifecycle (moSetObjectiveStatus status=1/2, moAddMissionObjective with a unit/area for a map icon). Auth, error conditions, and overwrite behavior are not covered.

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?

Dense but well-ordered: what it adds, then the recommended parameter shape, then the side effect, then how to surface/complete the objective. Some domain jargon (moSetObjectiveStatus, usr_<mission>.csv) is unavoidable, but a sentence or two could still be trimmed without losing information.

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?

An output schema exists, so return values need no explanation, and the description covers the non-obvious write side effect and the mission-lifecycle context. The unexplained required `path` argument and the absence of any error/precondition notes are the remaining gaps for a mutation tool with no annotations.

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 description coverage is 0%, so the description must compensate, and it does for three of four parameters: objective_id (exact displayed text, spaces/punctuation and quoting allowed), text (leave empty; only written to csv if it differs), and primary (keep true). The required `path` parameter is never explained at all, which is a meaningful gap for a required argument.

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 opens with a specific verb+resource: 'Add a mission objective (abstractMissionObjective)', naming both the user-facing concept and the underlying engine type. No sibling in the list adds objectives, so there is no ambiguity to resolve, but it also never explicitly distinguishes itself from nearby tools like wt_set_value or wt_add_trigger.

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?

It gives concrete prescriptive guidance ('make objective_id the exact text you want shown', 'leave text empty', 'keep primary=true') plus the downstream steps needed to display and complete the objective. It stops short of stating when this tool should be used instead of the sibling add_* tools or what prerequisites the mission must satisfy.

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