Skip to main content
Glama

Dismiss Trainer

dismiss_trainer
Destructive

Entlässt den Amtsinhaber eines eigenen Trainerpostens mit Abfindung in Spielgeld. Vorher get_trainer_overview lesen; expected_trainer_id und max_severance binden Person und Kosten. Beim Cheftrainer kann die Form steigen, wenn Amtszeit/Form dies erlauben; Co-Entlassungen ändern die Form nie.

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

Input Schema

NameRequiredDescriptionDefault
slotYes
max_severanceNoMaximale Abfindung in Spielgeld; 0 erlaubt nur kostenlos.
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.
expected_trainer_idNo

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedInput schema / properties / expected_trainer_id
      Added value: +{
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / max_severance
      Added value: +{
      +  "description": "Maximale Abfindung in Spielgeld; 0 erlaubt nur kostenlos.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • 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 non-obvious consequences beyond that: severance cost in game money, possible form increase for a head coach, and explicitly no form change for co-trainers. It does not mention reversibility or whether the severance is charged immediately, which keeps it below 5.

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 compact sentences: action and cost first, then the prerequisite and binding parameters, then the conditional side effect. No filler, though the form-effect clause is dense enough that it reads as a caveat appended rather than integrated.

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 destructive 5-parameter mutation with an output schema, the definition covers the prerequisite read, the two guard/cost parameters, and the outcome variance by slot. Missing only edge details such as what happens if expected_trainer_id no longer matches, which the parameter's own description partially addresses.

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 60% schema coverage, the description adds real meaning for two parameters: expected_trainer_id binds the specific person and max_severance caps the cost, plus the note that 0 means free-only is reinforced. It says nothing about slot or the guard semantics of expected_verein_id, but those are documented in the schema itself.

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?

States a specific verb and resource: dismissing the incumbent of one's own trainer post, with severance paid in game money. The scoping word 'eigenen' (own) and the slot distinction between head coach and co-trainer make it clearly separable from poach_trainer, bid_for_trainer, or extend_trainer_contract.

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?

Explicitly names a prerequisite step and the sibling to read first ('Vorher get_trainer_overview lesen'), which is real routing guidance. It stops short of stating when not to dismiss or what alternatives exist (e.g. contract extension instead of dismissal), so it is clear context without exclusions.

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.