Skip to main content
Glama

Set Taktik

set_taktik
Destructive

Speichert Slot-Auswahl, Namen, Startwerte oder eine typisierte Taktikregel. Vorher get_taktik lesen und if_version übernehmen. Wechsel nutzen Kader-Slots, keine Spieler-IDs. Trainingsplan bevorzugt mit set_training ändern; bestehende TrMo1–TrFr1 bleiben kompatibel.

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": {
      "expected_verein_id": "<expected_verein_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "set_taktik"
  }
}

Input Schema

NameRequiredDescriptionDefault
TrDi1No
TrDo1No
TrFr1No
TrMi1No
TrMo1No
taktikNoAktiviert diesen Taktikslot.
if_versionNo
rule_actionNocreate/update brauchen rule; update/delete zusätzlich rule_id. Optionen vorher get_taktik lesen.
taktikname1No
taktikname2No
taktikname3No
start_taktikNo
idempotency_keyYes1–180 druckbare ASCII-Zeichen von ! bis ~, ohne Leerzeichen. Vor dem ersten Aufruf wählen und für Wiederholungen beibehalten.
expected_verein_idYesErforderlicher aktiver Verein für diese Mutation; verhindert Aktionen nach einem zwischenzeitlichen Teamwechsel.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed48 schema fields changed
    • addedInput schema / properties / rule_action / additionalProperties
      Added value: +false
    • addedInput schema / properties / rule_action / description
      Added value: +"create/update brauchen rule; update/delete zusätzlich rule_id. Optionen vorher get_taktik lesen."
    • addedInput schema / properties / rule_action / properties / rule / additionalProperties
      Added value: +false
    • changedInput schema / properties / rule_action / properties / rule / description
      Previous value: -"Taktikregel mit bis zu fünf Wechselpaaren. spieler_rein1-5 und spieler_raus1-5: Kader-Slots 1-18, 0=kein. Zu Spielbeginn stehen Slots 1-11 auf dem Feld und 12-18 auf der Bank; vorherige Wechsel können dies ändern."New value: +"Zeit-, Ergebnis- und Überzahlbedingung mit Taktikänderung und bis zu fünf Wechseln."
    • addedInput schema / properties / rule_action / properties / rule / properties / abseitsfalle
      Added value: +{
      +  "const": 1,
      +  "description": "Immer aktiv; kein abschaltbarer Modus.",
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / ausrichtung
      Added value: +{
      +  "description": "-4 beibehalten, sonst -3 bis 3; Labels in get_taktik.",
      +  "maximum": 3,
      +  "minimum": -4,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / bedingung
      Added value: +{
      +  "description": "0 egal, 1 Überzahl, 2 gleiche Spielerzahl, 3 Unterzahl.",
      +  "enum": [
      +    0,
      +    1,
      +    2,
      +    3
      +  ],
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / einsatz
      Added value: +{
      +  "description": "-3 beibehalten, sonst -2 bis 2; Labels in get_taktik.",
      +  "maximum": 2,
      +  "minimum": -3,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / formation
      Added value: +{
      +  "description": "0 unverändert; 1–7 wie formation_options in get_aufstellung.",
      +  "maximum": 7,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / fuehrung_max
      Added value: +{
      +  "description": "Größte Tordifferenz; 6666 bedeutet ohne Obergrenze.",
      +  "maximum": 6666,
      +  "minimum": -6666,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / fuehrung_min
      Added value: +{
      +  "description": "Kleinste Tordifferenz; -6666 bedeutet ohne Untergrenze.",
      +  "maximum": 6666,
      +  "minimum": -6666,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / haerte
      Added value: +{
      +  "description": "-3 beibehalten, sonst -2 bis 2; Labels in get_taktik.",
      +  "maximum": 2,
      +  "minimum": -3,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / minute_max
      Added value: +{
      +  "description": "Späteste Spielminute; Standard 90; mindestens minute_min.",
      +  "maximum": 121,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / minute_min
      Added value: +{
      +  "description": "Früheste Spielminute; Standard 0.",
      +  "maximum": 120,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_raus
      Added value: +{
      +  "description": "Kader-Slots, keine Spieler-IDs; 0 leer. Gleich viele Ein-/Auswechsel-Slots.",
      +  "items": {
      +    "maximum": 18,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_raus1 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_raus2 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_raus3 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_raus4 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_raus5 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_rein
      Added value: +{
      +  "description": "Kader-Slots, keine Spieler-IDs; 0 leer. Gleich viele Ein-/Auswechsel-Slots.",
      +  "items": {
      +    "maximum": 18,
      +    "minimum": 0,
      +    "type": "integer"
      +  },
      +  "maxItems": 5,
      +  "type": "array"
      +}
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_rein1 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_rein2 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_rein3 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_rein4 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / spieler_rein5 / description
      Added value: +"Kader-Slot, keine Spieler-ID; 0 leer."
    • addedInput schema / properties / rule_action / properties / rule / properties / taktik_beibehalten
      Added value: +{
      +  "description": "true erhält Härte, Einsatz und Ausrichtung.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / rule_action / properties / rule_id / minimum
      Added value: +1
    • addedInput schema / properties / rule_action / properties / taktiknr / maximum
      Added value: +3
    • addedInput schema / properties / rule_action / properties / taktiknr / minimum
      Added value: +1
    • addedInput schema / properties / rule_action / required
      Added value: +[
      +  "action"
      +]
    • addedInput schema / properties / start_taktik / additionalProperties
      Added value: +false
    • addedInput schema / properties / start_taktik / properties / ausrichtung / maximum
      Added value: +3
    • addedInput schema / properties / start_taktik / properties / ausrichtung / minimum
      Added value: +-3
    • addedInput schema / properties / start_taktik / properties / einsatz / maximum
      Added value: +2
    • addedInput schema / properties / start_taktik / properties / einsatz / minimum
      Added value: +-2
    • addedInput schema / properties / start_taktik / properties / haerte / maximum
      Added value: +2
    • addedInput schema / properties / start_taktik / properties / haerte / minimum
      Added value: +-2
    • addedInput schema / properties / start_taktik / properties / taktikname / maxLength
      Added value: +24
    • addedInput schema / properties / start_taktik / properties / taktiknr / maximum
      Added value: +3
    • addedInput schema / properties / start_taktik / properties / taktiknr / minimum
      Added value: +1
    • addedInput schema / properties / taktik / description
      Added value: +"Aktiviert diesen Taktikslot."
    • addedInput schema / properties / taktik / maximum
      Added value: +3
    • addedInput schema / properties / taktik / minimum
      Added value: +1
    • addedInput schema / properties / taktikname1 / maxLength
      Added value: +24
    • addedInput schema / properties / taktikname2 / maxLength
      Added value: +24
    • addedInput schema / properties / taktikname3 / maxLength
      Added value: +24
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "data": {},
      +    "meta": {
      +      "type": "object"
      +    },
      +    "status": {
      +      "enum": [
      +        "ok",
      +        "error"
      +      ],
      +      "type": "string"
      +    },
      +    "tool": {
      +      "type": "string"
      +    },
      +    "trace": {
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "tool",
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is covered; the description adds value on top by mandating a read-before-write with if_version (optimistic concurrency) and by noting that legacy TrMo1–TrFr1 fields remain compatible. It does not spell out that existing rules or slots can be overwritten/removed, and the idempotency_key guidance lives only in the schema — compatible with idempotentHint=false rather than contradicting it.

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?

Four short sentences, front-loaded with the write action and then the prerequisite, the slot convention, and the sibling routing — no filler. The final sentence about TrMo1–TrFr1 is slightly compressed and requires schema context to parse, but it earns its place.

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 14-parameter mutation tool with a nested rule_action object, the description covers the critical agent decisions: read first, carry if_version, use squad slots, prefer set_training for training fields. Return values need not be described because an output schema exists, and the create/update/delete mechanics of rule_action are documented in the schema rather than the description.

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 only 29%, driven by the six undocumented TrMo1–TrFr1 parameters, and the description compensates meaningfully: it labels them as legacy-but-compatible training-plan slots that should normally be set via set_training, and it explains that Wechsel parameters take Kader-Slots rather than player IDs. It still does not explain the value semantics of the Tr* fields, so the compensation is partial rather than complete.

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?

"Speichert Slot-Auswahl, Namen, Startwerte oder eine typisierte Taktikregel" names a concrete verb and enumerates the exact resource facets the tool writes, so an agent knows this is the tactic write tool and not a lineup or training tool. It also explicitly routes training-plan edits to set_training and reads to get_taktik, separating it from the nearest siblings.

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 states the required precondition ("Vorher get_taktik lesen und if_version übernehmen") and a named alternative for a neighbouring use case ("Trainingsplan bevorzugt mit set_training ändern"). What is missing is an explicit exclusion case — e.g. when this tool should not be used at all — but the context and alternatives are otherwise clear.

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.