Skip to main content
Glama

Leave Club

leave_club
Destructive

Gibt eine eigene Vereinsmitgliedschaft ab. confirm_leave=true und confirm_verein_id müssen die angegebene verein_id ausdrücklich bestätigen; expected_verein_id bindet den Aufruf an 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_leave": "<confirm_leave>",
      "confirm_verein_id": "<confirm_verein_id>",
      "idempotency_key": "<idempotency_key>"
    },
    "name": "leave_club"
  }
}

Input Schema

NameRequiredDescriptionDefault
verein_idYes
confirm_leaveYesMuss true sein, um das Abgeben ausdrücklich zu bestätigen.
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 abzugebende 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_leave",
      +  "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 flag destructiveHint=true and openWorldHint=true, but the description adds real context beyond them: two independent confirmations must echo verein_id, and expected_verein_id pins the call to the currently active club with a backend guard checking transitions after replay. It does not state what is lost on leaving (irreversibility, membership data) nor mention the supplied idempotency_key, which is worth noting given idempotentHint=false.

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?

Two sentences, front-loaded with what the tool does, then the confirmation/guard semantics. Dense but every clause carries safety information; no filler. The semicolon-joined second sentence is slightly harder to parse but not wasteful.

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, five-required-parameter mutation with an output schema, the description covers the essential call-safety contract (explicit confirmation, expected active-club binding). It stops short of describing the consequences of a successful leave or any error conditions, which would matter for a one-way action.

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 80% schema coverage the baseline is 3, but the description goes further by explaining the relationship between confirm_verein_id and verein_id ('müssen die angegebene verein_id ausdrücklich bestätigen') and the purpose of expected_verein_id as a binding to the previous active club. Only idempotency_key is left entirely to the schema.

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?

The first sentence names a specific verb and object: 'Gibt eine eigene Vereinsmitgliedschaft ab' (gives up one's own club membership). The reflexive 'eigene' implicitly scopes it to the caller's own membership, which distinguishes it from siblings like apply_for_club or takeover_club, though those siblings are never named.

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?

Usage is only implied by the verb 'abgeben' – an agent can infer this ends the caller's own membership. There is no explicit statement of when to use this versus apply_for_club/takeover_club, and no stated prerequisites (e.g., must currently be a member, no pending obligations).

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.