Skip to main content
Glama

Get Trainer Offer Quote

get_trainer_offer_quote
Read-onlyIdempotent

Berechnet unverbindliche Kosten für einen Zielposten, ohne Angebot, Trainerwechsel oder Budgetreservierung. Bei besetztem Posten dessen Trainer-ID als replace_trainer_id angeben. minSalary/oldSalary sind Wochengehälter in Euro; severance/minFee sind einmalige Eurokosten. reservedCosts ist der hypothetische Reservierungsbedarf eines späteren Angebots, nicht eine bereits erfolgte Reservierung. Quotes für denselben Kandidaten nicht als tatsächliche Gesamtreservierung addieren; Abfindungen hängen von der verbleibenden Spielzeit ab. offer_context enthält den GUI-Formularstatus, aktiven Verein, vorhandenes Gebot, Budget, bisherigen Trainernamen und tatsächliche Formularwerte. form_available kann trotz gültiger Mindestquote false sein; eine Quote bestätigt keine ausführbare Verpflichtung.

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>",
      "slot": "<slot>"
    },
    "name": "get_trainer_offer_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
slotYes
laufzeitNo
trainer_idYes
expected_verein_idNoOptionaler Kontextanker: muss dem beim Aufruf aktiven Verein entsprechen (0 = keiner).
replace_trainer_idNo

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
Behavior5/5

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

With readOnlyHint/idempotent already declared, the description still adds substantial behavior: reservedCosts is a hypothetical future reservation, severance varies with remaining season time, quotes must not be summed into a total, form_available can be false even with a valid minimum quote, and a quote never confirms an executable commitment. These caveats prevent realistic misinterpretation of the returned numbers and are not derivable from the annotations.

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?

The description is front-loaded with purpose and the non-mutation guarantee before the caveats, and each sentence carries distinct information. It is dense with field names and two clauses partially overlap ('reservedCosts ist ... nicht eine bereits erfolgte Reservierung' and 'Quotes ... nicht als tatsächliche Gesamtreservierung addieren'), but there is little outright waste.

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?

An output schema exists, so explaining return values is not strictly required, yet the description uses that space wisely for interpretation hazards (non-additivity, season-dependent severance, form_available) that an output schema cannot convey. The remaining gap is input-side: the required trainer_id and laufzeit are left unexplained for a tool with only 20% schema description coverage.

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 description coverage is only 20%, so the description must compensate, and it only partially does: it explains replace_trainer_id and the euro/weekly units of salary and one-time cost fields. However, several of those named fields (minSalary, oldSalary, severance, minFee, offer_context, form_available) appear to be output fields rather than inputs, while the required inputs trainer_id and laufzeit receive no explanation at all beyond the schema's constraints.

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 first clause states a specific verb and resource ('Berechnet unverbindliche Kosten für einen Zielposten') and immediately scopes it as a pure calculation with no offer, trainer change, or budget reservation. That negative scoping is exactly what separates it from the sibling mutations (accept/reject/withdraw_trainer_offer, bid_for_trainer), so an agent can route correctly without opening any 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 a concrete conditional rule for replace_trainer_id ('Bei besetztem Posten dessen Trainer-ID angeben') and warns against summing quotes for the same candidate, which is real usage guidance. What it lacks is an explicit statement of when to call this instead of a sibling such as get_trainer_offers or bid_for_trainer; the exclusions are implied by 'ohne Angebot, Trainerwechsel oder Budgetreservierung' rather than named.

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.