Skip to main content
Glama

Get Trainer Statistics

get_trainer_statistics
Read-onlyIdempotent

Sucht Trainer mit detaillierten Attribut-, Alters-, Gehalts- und Verfügbarkeitsfiltern. Für einfache Namens-/Marktsuche search_trainers; vor einem Gebot get_trainer_offer_quote.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_trainer_statistics"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNoQuellpagination; unabhängig von chunk_offset des unveränderlichen Dokuments.
sectionNoall
sort_byNostaerke
chunk_limitNo
snapshot_idNo
chunk_offsetNoStrukturierter Offset aus read_view.next_arguments.
sort_directionNodesc
filter_alter_bisNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_alter_vonNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
expected_revisionNo
filter_gebote_minNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_gehalt_bisNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_taktik_bisNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_taktik_vonNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_verfuegbarNo0 vereinslos;1 alle;2 angestellt;3 mehr als23 Restwochen.
text_chunk_offsetNoTextoffset aus read_view.next_arguments.
filter_staerke_bisNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_staerke_vonNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_charisma_bisNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_charisma_vonNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_motivation_bisNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.
filter_motivation_vonNo0 = kein Filter; einschließlich vorzeichenbehafteter GUI-Effektfilter.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedInput schema / allOf
      Removed value: -[
      -  {
      -    "if": {
      -      "required": [
      -        "chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "chunk_limit"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "text_chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    },
      -    "then": {
      -      "properties": {
      -        "section": {
      -          "enum": [
      -            "document",
      -            "envelope_document"
      -          ]
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "expected_revision"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "required": [
      -        "text_chunk_offset"
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "anyOf": [
      -        {
      -          "properties": {
      -            "chunk_offset": {
      -              "minimum": 1
      -            }
      -          },
      -          "required": [
      -            "chunk_offset"
      -          ]
      -        },
      -        {
      -          "properties": {
      -            "text_chunk_offset": {
      -              "minimum": 1
      -            }
      -          },
      -          "required": [
      -            "text_chunk_offset"
      -          ]
      -        }
      -      ]
      -    },
      -    "then": {
      -      "required": [
      -        "snapshot_id",
      -        "expected_revision",
      -        "chunk_offset",
      -        "text_chunk_offset"
      -      ]
      -    }
      -  },
      -  {
      -    "if": {
      -      "properties": {
      -        "section": {
      -          "const": "envelope_document"
      -        }
      -      },
      -      "required": [
      -        "section"
      -      ]
      -    },
      -    "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."
    • 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/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds no behavioral context of its own: it never mentions pagination, the snapshot_id/expected_revision handshake, chunked continuation via next_arguments, or that results depend on a mutable game world — all of which materially affect how an agent must drive this tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, zero filler: the capability statement comes first, then routing to the two relevant siblings. Nothing is redundant with the schema and nothing pads it out.

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?

With an output schema present the description need not explain return values, and annotations cover safety, so the remaining burden is mainly the invocation model. The schema's own description documents the snapshot/revision and chunking rules, which compensates for their absence here; only the relationship to the broader statistics tool family is left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 70%, so the schema carries most of the parameter semantics, including the '0 = kein Filter' convention and enum sort fields. The description only summarizes filter categories at a high level (attribute, age, salary, availability) and does not explain the availability enum codes, the von/bis pairing, or that positive chunk offsets require a snapshot plus revision.

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 names a specific verb and resource ('Sucht Trainer') and immediately pins down the scope: detailed attribute, age, salary and availability filters. It also names the sibling that covers the simpler case (search_trainers), so an agent can distinguish this tool without opening either 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 explicitly routes simple name/market lookups to search_trainers and tells the agent to call get_trainer_offer_quote before placing a bid, which is genuine when-to-use/when-to-use-another guidance. It stops short of a full decision tree (e.g. relationship to get_player_statistics_filters or set_player_statistics_filters), so it is clear but not exhaustive.

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.