Skip to main content
Glama

Revoke License

lab_lizenz_widerrufen

Owner only: revoke a license, preserving its PDF. First call get_cost:true, show the refund and owner debit, and obtain confirmation. Fixed terms refund remaining inclusive days (full before start); unlimited terms refund fully through day 14 after acceptance, then zero. The owner's 80% share is reversed proportionally, capped at available credits; the platform covers any shortfall. Repeating completes an outstanding refund without double booking.

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": {
      "lizenz_id": "<lizenz_id>"
    },
    "name": "lab_lizenz_widerrufen"
  }
}

Input Schema

NameRequiredDescriptionDefault
get_costNoQuote refund, owner debit and uncovered amount without booking or revoking
lizenz_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / get_cost
      Added value: +{
      +  "description": "Quote refund, owner debit and uncovered amount without booking or revoking",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes far beyond by explaining the refund formula per term type, the 80% owner share reversal capped at available credits, platform coverage of any shortfall, and idempotent re-invocation ('repeating completes an outstanding refund without double booking'). Together with the PDF-preservation note, this reconciles why a revoke carries destructiveHint=false rather than contradicting it.

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?

Front-loads the two things an agent must know first (owner-only, PDF preserved, call get_cost first) before the refund policy. Every sentence carries operational weight — the term-type refund rules and credit cap are needed to interpret the quote the tool returns.

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 financially irreversible mutation with no output schema and only two parameters, the definition covers preconditions, refund math, credit shortfall handling and repeat-call behavior. It stops short of saying what the executed call returns or how failures (insufficient credits, non-owner) surface, which an agent would still have to discover.

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 50%, and the description compensates for the non-trivial parameter by making get_cost:true a required first step tied to showing figures and getting confirmation — semantics the schema only states as 'quote without booking'. lizenz_id is left entirely undefined, but as a UUID identifier its meaning is self-evident from the name.

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 ('revoke a license') and immediately names the key preservation side effect ('preserving its PDF'), which reframes what would otherwise look purely destructive. It does not distinguish itself from close siblings such as lab_lizenz_zurueckziehen or lab_widerruf, so an agent facing 'withdraw vs revoke' ambiguity gets no help here.

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 explicit preconditions ('Owner only') and a mandatory two-step invocation protocol: call with get_cost:true, present refund and owner debit, obtain confirmation, then execute. What it lacks is routing guidance — no statement of when to prefer this over the sibling withdraw/withdraw-license tools, which is exactly the confusion the naming invites.

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.

Resources