Skip to main content
Glama

Set Aufstellung

set_aufstellung
DestructiveIdempotent

Speichert Formation und Spieler-IDs in Slots 1–18 (1–11 Feld, 12–18 Bank; 0 leer). Vorher get_aufstellung lesen und if_version übernehmen; Teamkontext ausdrücklich binden.

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_aufstellung"
  }
}

Input Schema

NameRequiredDescriptionDefault
spieler1No
spieler2No
spieler3No
spieler4No
spieler5No
spieler6No
spieler7No
spieler8No
spieler9No
formationNo1=4-4-2, 2=5-4-1, 3=5-3-2, 4=4-5-1, 5=4-3-3, 6=3-5-2, 7=3-4-3; aktuelle Optionen in get_aufstellung.
spieler10No
spieler11No
spieler12No
spieler13No
spieler14No
spieler15No
spieler16No
spieler17No
spieler18No
if_versionNo
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. Changed1 schema field changed
    • 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 destructive=true, idempotent=true, and non-read-only, so the safety profile is covered. The description adds behavior beyond that: the slot/bench mapping, that 0 clears a slot, the optimistic-concurrency requirement via if_version, and the expected team binding to prevent post-switch mutations. It remains silent on conflict/failure behavior when if_version is stale.

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?

Three tight clauses, front-loaded with the core action, and no filler. The phrasing is dense and terse ("Teamkontext ausdrücklich binden") and takes a moment to parse, but every clause carries operational meaning.

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 22-parameter mutation with an output schema and full annotations, the definition covers the essentials an agent needs before calling: slot semantics, the read-before-write step, version propagation, and team binding. It could close the loop by stating whether the lineup is fully replaced versus merged and what to do on a version conflict.

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?

With only 14% schema description coverage across 22 parameters, the description must compensate, and it does for the most important gap: the meaning of spieler1–18 as field/bench slots and the 0-empty convention. It also flags the role of if_version and team binding. It does not explain uniqueness/duplicate-player rules or limits on which players may be placed.

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?

The description states a specific verb and resource ("Speichert Formation und Spieler-IDs") and immediately defines the slot layout (1–11 field, 12–18 bench, 0 empty), which precisely characterizes the operation. It also names the read counterpart get_aufstellung, so an agent can separate the write from the read 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?

It gives an explicit precondition: read get_aufstellung first and carry over if_version, and explicitly bind team context before mutating. It does not address alternatives such as auto_lineup or other lineup-related siblings, so guidance is clear but not complete routing advice.

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.