Skip to main content
Glama

WordPress: Wp cache flush

wordpress_wp_cache_flush
Destructive

Flush WordPress object, page, or all caches through the Airano MCP Bridge plugin, clearing stale content without requiring server-side shell access.

Instructions

[UNIFIED] Flush WordPress caches through the Airano MCP Bridge companion plugin. Supports object cache, page cache, or both without server-side shell access.

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": {
      "site": "<site>"
    },
    "name": "wordpress_wp_cache_flush"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteYes
scopeNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv3.14.0
    • addedInput schema / properties / scope
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": "all"
      +}
  2. Changed1 schema field changedv3.13.1
    • addedInput schema / additionalProperties
      Added value: +false
  3. First observedv3.4.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is known. The description adds essentially no behavior beyond that: it does not say what state is lost when caches are flushed, whether the operation requires authentication or plugin permissions, or what happens on partial failure. Only the 'no shell access' note carries real information.

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?

Two tight sentences, front-loaded with the verb and resource, with no filler. The bracket tag '[UNIFIED]' and vendor name consume space without helping selection, but the body is efficiently written.

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

Completeness2/5

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

This is a destructive mutation tool with zero schema description coverage and no output schema, so the description carries the whole burden — and it leaves out permission requirements, scope value mapping, site addressing, and post-flush effects. Given the destructive annotation, an agent needs more context than is supplied.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for both parameters, so the description must compensate and largely fails. It mentions 'object cache, page cache, or both', which loosely gestures at the scope values, but never names the 'scope' parameter, never maps the values to the actual strings (default is 'all'), and says nothing at all about the required 'site' parameter.

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 ('Flush') and resource ('WordPress caches') and enumerates the cache types covered (object, page, both). It does not distinguish itself from close siblings such as wordpress_cache_purge, wordpress_transient_flush or cloudflare_purge_cache, so an agent still cannot tell which flush tool to pick from this text alone.

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

Usage Guidelines3/5

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

Usage is only implied: the enumerated cache types hint at what the scope argument selects, and 'without server-side shell access' hints at when this is preferable to manual flushing. There is no explicit when-to-use, when-not, or named alternative among the sibling purge tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools