Skip to main content
Glama

Hotlink-Schutz einstellen

set_hotlink_protection

Schaltet den Hotlink-Schutz einer Domain ein oder aus. Eingeschaltet können fremde Websites Dateien der Domain nicht mehr direkt einbinden — das trifft auch erwünschte Einbindungen, die dann über friendly_domains erlaubt werden müssen. Die Antwort meldet den GEWÜNSCHTEN Zustand — Plesk bestätigt nur die Annahme des Befehls. Was danach wirklich gilt, liest get_hotlink_protection; damit lässt sich eine Änderung nachprüfen, statt sie zu behaupten. ZU DEN BEIDEN LISTEN, beides live gemessen: (1) Eine angegebene Liste ERSETZT die bisherige vollständig — wer einen Eintrag HINZUFÜGEN will, muss die bestehenden MITSCHICKEN, sonst sind sie weg; den aktuellen Stand vorher mit get_hotlink_protection nachsehen, statt den Kunden aus dem Gedächtnis zu fragen. (2) Eine Liste, die nicht erwähnt wird, bleibt unverändert. LEEREN geht über diesen Weg NICHT: Das Hosting-System weist jede Schreibweise eines leeren Werts ab ("", " ", ";", "none"), deshalb wird ein ausdrücklich leerer Wert abgewiesen statt als Erfolg gemeldet. Um einen einzelnen Eintrag zu entfernen, die vollständige gewünschte Liste ohne diesen Eintrag angeben; soll gar nichts mehr drinstehen, geht das nur im Kundenbereich.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDie Domain, z. B. example.de
enabledNotrue (Standard) = Schutz einschalten, false = ausschalten
extensionsNoGeschützte Dateiendungen, mit Semikolon getrennt. Jede Endung nur Kleinbuchstaben und Ziffern, 1–8 Zeichen, höchstens 21 Endungen. gültig: "jpg;png;gif", "jpg". abgewiesen: "JPG;PNG" (Grossbuchstaben), ".jpg;.png" (Punkt), "jpg, png" (Komma statt Semikolon).
friendly_domainsNoDomains, die trotzdem einbinden dürfen, mit Semikolon getrennt. Nur Kleinbuchstaben, Ziffern, Punkt und Bindestrich, je Domain 1–80 Zeichen, höchstens 21 Domains — kein Schema wie "https://" und keine Grossbuchstaben. gültig: "partner.de", "partner.de;other.com". abgewiesen: "https://partner.de" (Schema), "www.Partner.de" (Grossbuchstabe).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes far beyond the annotations: it discloses that the response reports the DESIRED state because Plesk only acknowledges the command, that an unmentioned list is left unchanged while a supplied list fully replaces the prior one (data-loss risk), and that empty values are rejected rather than reported as success. This is exactly the kind of cache-behavior and mutation-risk context annotations cannot carry.

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?

Front-loaded with the core action, then verification, then list semantics — a logical order. It is somewhat long and includes advisory prose ('statt den Kunden aus dem Gedächtnis zu fragen'), but nearly every sentence carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema, the description covers the desired-vs-actual response caveat, verification path, list replacement semantics, and empty-value rejection. An agent has everything needed to call it correctly and interpret the result.

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%, so the baseline is 3, but the description adds real meaning beyond the schema by explaining the replace-vs-untouched semantics of extensions/friendly_domains and the rejection of empty values. It does not, however, restate syntax rules that the schema already covers in detail.

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: 'Schaltet den Hotlink-Schutz einer Domain ein oder aus', and immediately scopes the effect (fremde Websites können Dateien nicht einbinden). It clearly separates itself from the read-side sibling get_hotlink_protection, which is named explicitly.

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

Usage Guidelines5/5

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

Explicitly routes the agent: use get_hotlink_protection to verify results and to read current lists before writing, use friendly_domains to whitelist intended embeds, and it states the exclusions (cannot empty via this path, must use the customer area). Names concrete alternatives and conditions.

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