Skip to main content
Glama

Add plugins to a collection

add-plugins-to-collection

Adds WordPress.org plugins and custom plugins to one of your collections. Adding a custom plugin makes the collection private. The result lists the plugins that were not added and why.

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": "add-plugins-to-collection"
  }
}

Input Schema

NameRequiredDescriptionDefault
pluginsNoSlugs of WordPress.org plugins, such as "woocommerce". At most 100.
collectionYesThe UUID of the collection.
custom_pluginsNoUUIDs of your custom plugins. At most 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare write, non-destructive, open-world; the description adds real context beyond them: adding a custom plugin makes the collection private, and the result reports which plugins were not added and why. It does not state partial-failure semantics (does a failure abort the whole batch?) or whether re-adding existing plugins is a no-op.

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, each carrying distinct information: what it does, the privacy side effect, and the failure-reporting return. Front-loaded with the operation and free of filler.

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?

With no output schema and full schema coverage, the description covers the essentials including the shape of the return (plugins not added and why) and the privacy side effect. It stops short of describing batch/atomicity behaviour and limits, which matters for a 100-item batch mutation.

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%, so slugs, UUID formats, custom-plugin UUIDs and the 100-item cap are all already documented in the schema. The description adds no extra parameter meaning beyond it, so the baseline 3 applies.

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?

States a specific verb (adds) and resource (WordPress.org plugins and custom plugins) plus the target container (one of your collections). The write direction is unambiguous and directly opposite to the sibling remove-plugins-from-collection, so an agent can pick correctly 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?

Usage is implied by the operation itself and the mention of both plugin flavours, but there is no explicit when-to-use/when-not guidance and no alternatives named (e.g. when to prefer create-custom-plugin first). Adequate but leaves routing to inference.

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