Skip to main content
Glama

Set Stadion Preise

set_stadion_preise
DestructiveIdempotent

Setzt Eintrittspreise in Spielgeld als ganze Eurobeträge 1–255. Teilupdates erhalten ausgelassene Preise. Vorher get_stadion lesen; flache Preisfelder bevorzugen, payload bleibt kompatibel. Ungültige Beträge werden abgelehnt.

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

Input Schema

NameRequiredDescriptionDefault
payloadNo
logenpreisNoEuro je Platz.
sitzplatzpreisNoEuro je Platz.
stehplatzpreisNoEuro je Platz.
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. Changed18 schema fields changed
    • addedInput schema / properties / logenpreis
      Added value: +{
      +  "description": "Euro je Platz.",
      +  "maximum": 255,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / payload / additionalProperties
      Added value: +false
    • removedInput schema / properties / payload / description
      Removed value: -"Eintrittspreise in Euro; leeres oder fehlendes Objekt ändert keine Preise."
    • changedInput schema / properties / payload / properties / logenpreis / description
      Previous value: -"Preis je Logenplatz in Euro."New value: +"Euro je Platz."
    • addedInput schema / properties / payload / properties / logenpreis / maximum
      Added value: +255
    • addedInput schema / properties / payload / properties / logenpreis / minimum
      Added value: +1
    • changedInput schema / properties / payload / properties / logenpreis / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / payload / properties / sitzplatzpreis / description
      Previous value: -"Preis je Sitzplatz in Euro."New value: +"Euro je Platz."
    • addedInput schema / properties / payload / properties / sitzplatzpreis / maximum
      Added value: +255
    • addedInput schema / properties / payload / properties / sitzplatzpreis / minimum
      Added value: +1
    • changedInput schema / properties / payload / properties / sitzplatzpreis / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / payload / properties / stehplatzpreis / description
      Previous value: -"Preis je Stehplatz in Euro."New value: +"Euro je Platz."
    • addedInput schema / properties / payload / properties / stehplatzpreis / maximum
      Added value: +255
    • addedInput schema / properties / payload / properties / stehplatzpreis / minimum
      Added value: +1
    • changedInput schema / properties / payload / properties / stehplatzpreis / type
      Previous value: -"number"New value: +"integer"
    • addedInput schema / properties / sitzplatzpreis
      Added value: +{
      +  "description": "Euro je Platz.",
      +  "maximum": 255,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / stehplatzpreis
      Added value: +{
      +  "description": "Euro je Platz.",
      +  "maximum": 255,
      +  "minimum": 1,
      +  "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.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is known. The description adds genuinely non-obvious behavior: omitted prices are retained on partial updates (merge, not overwrite) and invalid amounts are rejected. It does not spell out that existing prices are overwritten, but the annotation covers the destructive signal.

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?

Four short clauses, each carrying distinct information: range, partial-update behavior, prerequisite read plus field-shape preference, and validation outcome. Front-loaded with the action and constraint, no filler.

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 mutation with an output schema and rich annotations, the description covers prerequisite, merge semantics, input-shape preference, and validation. The only minor gap is not restating that idempotency_key must be reused, though the schema documents that explicitly.

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?

Schema coverage is 83%, so the schema already defines each price field's unit and range. The description still adds value by stating flat fields are preferred over the nested payload and by explaining partial-update semantics for omitted fields, which the schema does not convey.

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 ('Setzt Eintrittspreise') plus the value domain (whole euros 1–255), which cleanly separates it from price-unrelated siblings like set_stadion_name. The prerequisite read of get_stadion further anchors its role.

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 a clear precondition ('Vorher get_stadion lesen') and a preference rule between the two input shapes ('flache Preisfelder bevorzugen, payload bleibt kompatibel'). It stops short of explicit when-not-to-use guidance or naming sibling alternatives, so it is strong 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.