Skip to main content
Glama

WordPress-Cache leeren

clear_wordpress_cache

Leert den Cache der WordPress-Installation einer Domain über den echten WP-CLI-Aufruf "wp litespeed-purge" (live gemessen, wirkt nachweislich). Liest vorher auf der Installation selbst, ob ein Cache-Plugin aktiv ist, und kennt drei Ausgänge: geleert, nachweislich kein Cache aktiv (dann war nichts zu leeren), und nicht feststellbar. Der dritte Ausgang ist KEINE Entwarnung: Er heißt, dass der Zustand nicht gelesen werden konnte — meist weil WordPress dort gerade nicht startet —, und ein aktiver Cache kann weiter alte Inhalte ausliefern. Inhalte gehen beim Leeren nicht verloren; die nächsten Aufrufe sind kurz langsamer. Erster Schritt, wenn Änderungen an der Website nicht sichtbar werden.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
domainYesDie Domain, z. B. example.de
site_urlNoNur nötig, wenn mehrere WordPress-Installationen auf der Domain liegen

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: it discloses that it reads plugin state first, enumerates three distinct outcomes, warns that the "not determinable" outcome is not an all-clear, and states that content is preserved but the next requests are briefly slower. This is exactly the behavioral disclosure a non-destructive mutation tool needs.

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-loads the core action and mechanism, then layers the outcome semantics. Slightly dense and the "live gemessen, wirkt nachweislich" phrasing is mildly promotional, but every sentence carries functional 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?

With no output schema, the description compensates by describing the three possible outcomes and the misleading one, plus the side effect on subsequent requests. An agent has enough to call it and interpret the result correctly.

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 description coverage is 100%, so both parameters are already documented in the schema, including the site_url multi-installation caveat. The description mentions the domain context but adds no parameter syntax or format detail beyond the schema, so the baseline 3 holds.

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 (clears the WordPress cache of a domain) and even names the exact mechanism ("wp litespeed-purge"). An agent can immediately distinguish this from cache-adjacent siblings like get_performance_score or update_wordpress_core.

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 frames the trigger condition: "Erster Schritt, wenn Änderungen an der Website nicht sichtbar werden." That is clear when-to-use guidance. It stops short of naming a specific alternative tool or when-not-to-use, so it doesn't reach a 5.

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