Skip to main content
Glama

WordPress-Härtungsmaßnahme anwenden

apply_wordpress_security_measure
Destructive

Wendet GENAU EINE WP-Toolkit-Härtungsmaßnahme auf eine WordPress-Installation an (siehe get_wordpress_hardening für die verfügbaren Kennungen). Manche Maßnahmen haben Nebeneffekte, die über den Titel hinausgehen — securityKeys beendet alle Sitzungen, adminUsername ersetzt den Anmeldenamen, dbPrefix ändert die Datenbank, secureContent und disableUnusedScripting können Plugins mit eigenen PHP-Skripten in wp-content lahmlegen. Fünf der neunzehn Maßnahmen lassen sich nicht zurücknehmen.

Input Schema

NameRequiredDescriptionDefault
domainYesDie Domain, z. B. example.de
measureYesKennung der Maßnahme, z. B. "dbPrefix" — get_wordpress_hardening nennt die verfügbaren Kennungen.
site_urlNoNur nötig, wenn mehrere WordPress-Installationen auf der Domain liegen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare a generic destructiveHint=true/openWorldHint=true; the description goes well beyond them by naming concrete consequences for individual measures (securityKeys ends all sessions, adminUsername changes login name, dbPrefix alters the database, secureContent/disableUnusedScripting can break plugins) and flagging that 5 of 19 measures are irreversible.

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-loaded with purpose, then the sibling pointer, then high-value side-effect warnings. Every sentence earns its place and the dense enumeration of dangerous measures is the most useful content.

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 destructive, single-measure mutation tool with no output schema, the description supplies the discovery path, the irreversibility count, and per-measure side effects. Nothing an agent needs to decide whether and how to call it is missing.

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?

Schema coverage is 100% and each parameter is already documented, including the get_wordpress_hardening reference for 'measure'. The description reinforces the 'exactly one measure' constraint but adds no syntax, format, or example detail beyond what the schema states.

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 (anwenden), resource (Härtungsmaßnahme) and scope constraint (GENAU EINE) on a WordPress installation. It also points to get_wordpress_hardening as the source of valid identifiers, letting an agent separate it from the discovery-sibling without opening any schema.

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?

The 'GENAU EINE' constraint plus the pointer to get_wordpress_hardening gives clear operating context, and the irreversibility warning shapes when it is safe to call. However it does not explicitly name revert_wordpress_security_measure as the undo path or state when-not-to-use, so it stops short of full routing.

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