Skip to main content
Glama

Remove plugins from a collection

remove-plugins-from-collection
DestructiveIdempotent

Removes WordPress.org plugins and custom plugins from one of your collections. The plugins stay installed on your sites. A plugin added with the old custom plugin feature is deleted from WPCore. Confirm with the user before you call this tool.

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": {
      "collection": "<collection>"
    },
    "name": "remove-plugins-from-collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
pluginsNoSlugs of the WordPress.org plugins to remove.
collectionYesThe UUID of the collection.
custom_pluginsNoUUIDs of the custom plugins to remove.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the safety profile is covered. The description adds genuinely non-obvious consequences beyond that: plugins remain installed on sites, while plugins added via the old custom plugin feature are actually deleted from WPCore — a critical distinction an agent could not infer from annotations alone.

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?

Three short sentences, front-loaded with the core action, followed by the key side effects and the confirmation requirement. No redundant restatement of the title or annotations.

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 destructive three-parameter tool with a fully covered schema and no output schema, this covers action, side effects, and a safety precondition. Minor gaps remain — e.g., behavior when a listed plugin is not in the collection — but nothing an agent needs to invoke it safely is missing.

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 coverage is 100%, so all three parameters are documented in the schema, establishing a baseline of 3. The description goes further by explaining the behavioral split between WordPress.org plugin slugs and custom plugin UUIDs, clarifying what removing a custom plugin actually entails.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb (removes) and resource (WordPress.org plugins and custom plugins from a collection), and the inverse relationship to add-plugins-to-collection is obvious from the phrasing. An agent can tell immediately what this does without opening the schema.

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?

Provides one concrete procedural guideline — 'Confirm with the user before you call this tool' — which is valuable for a destructive operation. However, it gives no when-to-use vs. when-not-to-use framing relative to sibling tools such as add-plugins-to-collection or delete-collection, so guidance is implied rather than complete.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources