Skip to main content
Glama
ecp-mcp-server

ecp-mcp-server

by EpicLabs23

ecp_managed_wordpress_set_cache_mode

Set a Managed WordPress site's LiteSpeed cache mode to off, page, or object to control caching behavior and optimize performance.

Instructions

Set a Managed WordPress site's LiteSpeed cache mode: 'off', 'page' (full-page cache), or 'object' (page + object cache).

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": {
      "app_id": "<app_id>",
      "mode": "<mode>"
    },
    "name": "ecp_managed_wordpress_set_cache_mode"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeYes
app_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully explains that 'page' is a full-page cache and 'object' adds object caching on top, but it says nothing about the effects of the mutation: whether existing cache is flushed, required permissions, or what the call returns.

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?

A single front-loaded sentence that defines the target resource and then the allowed values. No filler and nothing redundant.

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

Completeness3/5

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

For a two-parameter mutation tool with no annotations and no output schema, the definition covers the operation and its value semantics but omits side effects, preconditions, and result behavior. It is adequate to make the call, not to predict its consequences.

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 description coverage is 0%, so the description must compensate, and it does for the key parameter by explaining the meaning of each enum value rather than just listing them. app_id is not described, though 'a Managed WordPress site's' implies it is the target site identifier.

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 ('Set a Managed WordPress site's LiteSpeed cache mode') and enumerates the three accepted modes. It is clearly distinguishable from the sibling purge_cache operation, though it does not name that sibling to reinforce the distinction.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool versus ecp_managed_wordpress_purge_cache, no stated preconditions (e.g. site must be Managed WordPress on LiteSpeed), and no mention of whether changing the mode invalidates existing cached content. Usage is only self-evident from the name.

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