Skip to main content
Glama

Trainerprofil öffnen

get_trainer
DestructiveIdempotent

Ruft Trainerprofil, Attribute, Effekte, Gehaltsforderungen, Aktionskontext und öffentliche Trainer-/Spielerhistorie ab. Der Besuch eines eigenen Trainers kann die Onboarding-Aufgabe abschließen und eine Prämie auszahlen; deshalb schreibend mit stabilem idempotency_key. Kleine Antworten bleiben vollständig; große starten mit ausdrücklich partieller read_view. Deren next_arguments folgen und dabei denselben idempotency_key ergänzen: data.chunk in Offsetfolge unverändert verketten und erst das vollständige JSON parsen. Snapshot und Revision halten alle öffentlichen DATA-Felder zusammen; Fortsetzungen rufen den Profilbackend und seine bestehende Besuchsaktion nicht erneut auf. record_visit=false liest rein ohne Besuchsprämie; für Recherche bevorzugen. Standard true behält die Besuchsaktion.

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": {
      "trainer_id": "<trainer_id>"
    },
    "name": "get_trainer"
  }
}

Input Schema

NameRequiredDescriptionDefault
sectionNoauto
trainer_idYes
chunk_limitNo
snapshot_idNo
chunk_offsetNo
record_visitNo
idempotency_keyNo1–180 druckbare ASCII-Zeichen von ! bis ~, ohne Leerzeichen. Vor dem ersten Aufruf wählen und für Wiederholungen beibehalten.
expected_revisionNo
expected_verein_idNoErforderlicher 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. Changed5 schema fields changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "anyOf": [
      -        {
      -          "required": [
      -            "chunk_offset"
      -          ]
      -        },
      -        {
      -          "required": [
      -            "chunk_limit"
      -          ]
      -        }
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "const": "document"
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "chunk_offset": {
      -          "minimum": 1
      -        }
      -      },
      -      "required": [
      -        "chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision"
      -      ]
      -    }
      -  }
      -]
    • addedInput schema / description
      Added value: +"snapshot_id und expected_revision gemeinsam übergeben; Fortsetzungen verwenden die next_arguments der vorherigen Antwort unverändert. Chunk-Parameter nur für die dokumentierte section; positive Offsets erfordern den zugehörigen Snapshot und seine Revision. Bedingte Parameterregeln werden vor Ausführung serverseitig geprüft; VALIDATION_ERROR nennt den betroffenen Parameter."
    • addedInput schema / properties / record_visit
      Added value: +{
      +  "default": true,
      +  "type": "boolean"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "trainer_id",
      -  "idempotency_key",
      -  "expected_verein_id"
      -]New value: +[
      +  "trainer_id"
      +]
    • 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.2/5.0
Behavior5/5

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

Goes well beyond the annotations by explaining why a 'get' tool is destructive: visiting one's own trainer completes an onboarding task and pays a bonus, hence the write. It also discloses the chunked partial-response protocol, the requirement to reuse the same idempotency_key, and that continuations do not re-trigger the visit action — none of which the annotations convey.

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?

Front-loads the retrieval scope, then the write caveat, then the chunking contract; every sentence carries operational content. The dense semicolon-chained German makes it slower to parse than it needs to be, but nothing is redundant.

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 9-parameter tool with a continuation protocol and an output schema, it covers the pieces an agent cannot get from structured fields: idempotency reuse, chunk concatenation, and the read-only escape hatch. Only the section enum semantics and a plain statement of what the partial read_view omits are missing.

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 22% schema coverage, the description compensates for most undocumented parameters: snapshot_id/expected_revision must be passed together, chunk parameters apply only to the documented section, positive offsets require snapshot plus revision, and record_visit toggles the bonus. The section enum (auto vs document) is left unexplained, which is the one remaining ambiguity.

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?

Names a specific verb (abrufen) and enumerates the exact resources returned: Trainerprofil, Attribute, Effekte, Gehaltsforderungen, Aktionskontext and public trainer/player history. An agent can tell this is the full-profile read rather than a statistics or offers call, but no sibling is named to make the distinction explicit.

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?

Gives actionable mode selection: record_visit=false is the pure read preferred 'für Recherche', while the default true keeps the visit action used for onboarding. It stops short of routing between this and the other get_trainer_* tools, so the agent must infer that boundary.

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.