Skip to main content
Glama

nucleo-assets-rules-set

Idempotent

Replaces asset deduplication rules to dequeue, defer, or replace WordPress assets and republishes the rules table; invalid rules are ignored.

Instructions

Replaces the asset deduplication rules (dequeue, defer, replace) and republishes the table. Invalid rules are ignored.

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": {
      "rules": "<rules>"
    },
    "name": "nucleo-assets-rules-set"
  }
}

Input Schema

NameRequiredDescriptionDefault
rulesYesFor example {"action":"dequeue","handle":"contact-form-7","templates":["page"]}.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

The description adds real context beyond the annotations: 'replaces' signals a full overwrite rather than a merge, 'republishes the table' discloses a side effect, and 'Invalid rules are ignored' warns that bad input fails silently instead of erroring. However, it does not say whether permissions are required, whether the old rule set is recoverable, or what the response contains, so the disclosure is partial for a mutation tool.

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?

One front-loaded sentence with the action, the resource, and the side effect in sequence, with no filler. It is dense rather than padded, though the parenthetical action list sits awkwardly mid-sentence.

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 single-parameter, non-destructive-but-overwriting tool with no output schema, the definition covers the action, the overwrite semantics, the silent-ignore behavior, and the republish side effect. The remaining gap is the lack of any statement about what is returned or whether the full rule set must always be supplied.

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 coverage is 100% for the single 'rules' parameter, so the baseline is 3. The description does add meaning by naming the three valid action values (dequeue, defer, replace), which the schema only illustrates with one example and does not constrain via an enum, but it does not explain the other rule fields such as 'handle' or 'templates'.

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 gives a specific verb ('Replaces') and a specific resource ('asset deduplication rules'), and it enumerates the rule kinds (dequeue, defer, replace). The resource noun alone separates it from the other nucleo-*-set siblings, so an agent can identify it without further guidance, though no sibling is named explicitly.

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 explicit when-to-use or when-not-to-use guidance and no alternative tool named. The agent must infer that this is the write counterpart to whatever reads the deduplication rules; the only usage hint is implicit in 'replaces'.

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