Skip to main content
Glama

Revoke Invite Code

revoke_invite_code
DestructiveIdempotent

Einen Einladungscode ungueltig machen (keine neuen Registrierungen mehr darueber). Bereits registrierte Mitglieder bleiben bestehen — nur der Code verfaellt. Nutze es bei abgelaufenen oder missbraeuchten Codes. Den Code findest du mit list_invite_codes. | EN: invitation, invite, voucher, code, bundle

Input Schema

NameRequiredDescriptionDefault
code_idYesID des zu widerrufenden Codes (setzt status=inactive; bereits beigetretene Mitglieder bleiben Mitglied)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds genuine value beyond them by explaining what is (and is not) destroyed: the code is invalidated while already-registered members remain members.

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 core effect and the when-to-use guidance are front-loaded and compact. The trailing '| EN: invitation, invite, voucher, code, bundle' is keyword padding that adds no operational meaning, slightly diluting the otherwise tight text.

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 single-param mutation with full annotation coverage and no output schema, the description covers effect, scope and code discovery adequately. Only minor gaps (e.g., behavior when the code is already inactive) remain, and idempotentHint largely covers those.

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 100% and the code_id property already documents the status=inactive effect. The description adds acquisition guidance ('Den Code findest du mit list_invite_codes') not present in the schema, which helps the agent source the ID.

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 (ungueltig machen / revoke) and resource (Einladungscode), plus the precise effect: no new registrations, existing members unaffected. This cleanly separates it from sibling tools like create_invite_code, redeem_invite_code and list_invite_codes.

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?

Explicitly names the triggering conditions (expired or misused codes) and points to list_invite_codes as the way to obtain the code. It does not spell out exclusions against siblings such as redeem_invite_code, but the intended usage is unambiguous.

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.