Skip to main content
Glama

generate_novamira_wp_optimizer

Generates an MU-plugin PHP snippet and WP-CLI commands to inject into WordPress, disabling emojis, block CSS, and dashicons while adding critical CSS and schema to improve Core Web Vitals.

Instructions

Generate a high-performance WordPress MU-Plugin PHP snippet and WP-CLI commands designed for Novamira MCP to inject into WordPress (disables emojis, block CSS, dashicons, and injects critical CSS/schema).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_novamira_wp_optimizer"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteTypeNoblog
jsonLdSchemaNo
disableEmojisNo
disableDashiconsNo
inlineCriticalCssNo
deferNonCriticalJsNo
disableGutenbergCssNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden and mostly fails it. It is ambiguous whether the tool only returns a snippet and CLI commands or actually applies changes to a WordPress site ('inject into WordPress'), and it says nothing about permissions, safety, reversibility, or rate limits. For a tool that produces code intended to be injected, that ambiguity is a real operational gap.

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?

It is a single dense sentence with the verb and deliverable front-loaded, and no filler. The trailing parenthetical is a bit crowded, but every clause carries information about what the generated artifact contains.

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?

Seven undocumented parameters, no annotations, and no output schema mean the description has to do heavy lifting and does not. An agent knows roughly what artifact comes out but not how to configure it, whether the changes are applied, or what the returned snippet looks like.

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% across 7 parameters, so nothing in structured data explains them. The description only gestures at four of them via the parenthetical (emojis, block CSS, dashicons, critical CSS/schema) and never mentions siteType or deferNonCriticalJs, nor the expected format of inlineCriticalCss and jsonLdSchema or how the defaults behave.

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 deliverable: it generates a WordPress MU-Plugin PHP snippet plus WP-CLI commands, and it enumerates the optimizations included (emoji removal, block CSS, dashicons, critical CSS/schema). This is much more than a restatement of the name. It stops short of 5 because it doesn't distinguish the tool from siblings like generate_critical_css or generate_seo_schema, which overlap with parts of the stated output.

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 when-to-use guidance, no prerequisites, and no mention of when to pick generate_critical_css or generate_seo_schema instead. The phrase 'designed for Novamira MCP to inject into WordPress' hints at a target environment but does not tell the agent under what conditions this tool is the right choice.

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