Skip to main content
Glama

Create a custom plugin

create-custom-plugin

Creates a custom plugin from the address of its zip file. Needs a paid plan with room under its custom plugin limit, which list-custom-plugins returns. Upload zip files on the plugin's WPCore page. The add-plugins-to-collection tool adds the plugin to a collection.

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": {
      "title": "<title>",
      "slug": "<slug>",
      "source": "<source>"
    },
    "name": "create-custom-plugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugYesThe plugin folder name. Letters, numbers, dashes and underscores.
titleYesThe plugin name.
authorNoThe plugin author.
sourceYesThe https:// address of the plugin's zip file.
versionNoThe plugin version.
external_urlNoThe address of the plugin's home page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare non-read-only, non-destructive, non-open-world; the description adds real context beyond them: the paid-plan/limit gate, the need to have the zip uploaded on the WPCore page first, and the natural next action. It does not cover failure modes such as slug collisions or what happens if the limit is exceeded, keeping it below 5.

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?

Four short sentences, front-loaded with the action and source, then prerequisites, then follow-up. The "Upload zip files on the plugin's WPCore page" sentence is slightly tangential but still useful setup guidance rather than 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?

For a 6-parameter mutation with no output schema, the description supplies the prerequisite chain, the sibling that verifies capacity, and the sibling that consumes the result. The main remaining gap is any statement about uniqueness constraints or the returned identifier.

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 description coverage is 100%, so every parameter (title, slug, source, author, version, external_url) is already documented in the schema. The description only echoes source as the zip address and adds no format or constraint detail beyond that; baseline 3 applies.

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?

States a specific verb and resource ("Creates a custom plugin") plus the key input ("from the address of its zip file"), which distinguishes it from get/update/delete siblings. It never explicitly contrasts with those siblings, but the create semantics are unambiguous.

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

Usage Guidelines4/5

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

Gives a concrete precondition (paid plan with remaining custom plugin capacity) and points to list-custom-plugins to verify it, plus names add-plugins-to-collection as the follow-up step. It stops short of stating when not to use it (e.g., to modify an existing plugin, use update-custom-plugin), so not a 5.

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