Skip to main content
Glama

Set Active Team

set_active_team
DestructiveIdempotent

Setzt das aktive Team für Folgeaktionen. confirm_verein_id muss die Ziel-verein_id wiederholen; expected_verein_id bezeichnet den bisherigen aktiven Verein.

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": {
      "verein_id": "<verein_id>",
      "expected_verein_id": "<expected_verein_id>",
      "confirm_verein_id": "<confirm_verein_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "set_active_team"
  }
}

Input Schema

NameRequiredDescriptionDefault
verein_idYes
idempotency_keyYes1–180 druckbare ASCII-Zeichen von ! bis ~, ohne Leerzeichen. Vor dem ersten Aufruf wählen und für Wiederholungen beibehalten.
confirm_verein_idYesMuss die Ziel-ID verein_id wiederholen.
expected_verein_idYesErwarteter aktiver Verein unmittelbar vor diesem Aufruf. Bei Teamwechseln 0, wenn vorher kein aktiver Verein bestand; der Backend-Guard prüft Übergänge nach Replay.

Output Schema

NameRequiredDescriptionDefault
dataNo
metaNo
toolYes
traceNo
statusYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / required
      Previous value: -[
      -  "verein_id",
      -  "expected_verein_id",
      -  "idempotency_key"
      -]New value: +[
      +  "verein_id",
      +  "expected_verein_id",
      +  "confirm_verein_id",
      +  "idempotency_key"
      +]
    • 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

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, so the safety profile is carried by structured data. The description goes beyond that by disclosing the optimistic-concurrency guard: expected_verein_id must reflect the previously active club, and the backend validates transitions after replay. It still doesn't say what is lost or what an agent should do when the guard rejects the call.

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 sentences, zero filler, and the purpose is front-loaded ahead of the parameter constraints. Every clause maps to a required parameter the agent must get right.

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, guarded mutation with an output schema and rich parameter descriptions, the definition covers the essential precondition contract. The remaining gap is error behavior on a guard mismatch and confirmation that the switch is reversible, which for a destructive hint would be worth one more sentence.

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?

With 75% schema coverage the schema already documents confirm_verein_id and expected_verein_id, and the description largely restates that: confirm repeats the target, expected is the prior active club. It adds no format or failure semantics for verein_id or idempotency_key, so it is only marginally above baseline.

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?

States a specific verb+resource ('Setzt das aktive Team') and adds scope ('für Folgeaktionen'), so the agent knows this changes session context rather than merely editing a record. It does not name or differentiate against any sibling tool, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Für Folgeaktionen' implies this should be called before working with a different club, giving implicit when-to-use context. There is no explicit when-not guidance, no mention of prerequisites such as membership permissions, and no reference to alternatives.

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.