Skip to main content
Glama

Clear Elementor cache

wp_el_clear_cache
Idempotent

Regenerate Elementor CSS and flush the object cache when the front end looks stale after bulk edits.

Instructions

Regenerate Elementor CSS and flush the object cache. Run after bulk edits if the front end looks stale.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and openWorldHint=true, so the agent knows re-running is safe and the tool reaches beyond a closed set. The description adds that it both regenerates CSS and flushes the object cache, which clarifies side effects on cached data. It does not mention permissions, performance cost, or any downtime, so it adds only moderate context above the annotations.

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?

Two short sentences with the action front-loaded and the usage condition second. No filler or redundancy; every clause carries information.

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 parameterless maintenance tool with no output schema and annotations covering idempotency/open-world behavior, the description supplies what it does and when to run it. It could add a note on scope (whole site vs. specific element) or overlap with wp_el_build, but nothing essential is missing for correct invocation.

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?

The tool takes zero parameters, so per the rubric the baseline is 4. The description correctly implies the operation is unconditional, matching the empty schema, and there is nothing further for it to document.

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?

The description states a specific verb and resource: 'Regenerate Elementor CSS and flush the object cache.' It goes beyond the title by naming both the CSS regeneration and the object-cache flush. However, it does not differentiate itself from related siblings such as wp_el_build, which could also plausibly regenerate Elementor assets.

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?

It gives a clear triggering condition: 'Run after bulk edits if the front end looks stale.' That tells the agent when to reach for it. It stops short of naming alternatives (e.g., wp_el_build or wp_el_patch) or stating when this is the wrong tool.

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