Skip to main content
Glama

Update a custom plugin

update-custom-plugin
Idempotent

Changes the fields of one of your custom plugins. Fields you leave out stay as they are.

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": {
      "custom_plugin": "<custom_plugin>"
    },
    "name": "update-custom-plugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNoThe plugin folder name. Letters, numbers, dashes and underscores.
titleNoThe plugin name.
authorNoThe plugin author.
sourceNoThe https:// address of the plugin's zip file.
versionNoThe plugin version.
external_urlNoThe address of the plugin's home page.
custom_pluginYesThe UUID of the custom plugin.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is supplied. The description adds one genuinely non-obvious behavioral fact beyond that: omitted fields are preserved rather than cleared, which prevents accidental field wipes. It still says nothing about error behavior, slug collisions, or permission requirements.

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?

Two short sentences, zero padding, and the core action is front-loaded. It is efficient, though the second sentence could have been folded into the first without loss.

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 partial-update tool with full schema coverage, an explicit non-destructive annotation set, and no output schema, the description covers what an agent needs to call it correctly. The remaining gap is routing guidance against the many sibling update/list tools, which belongs to usage rather than completeness.

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 one of the 7 parameters (including required custom_plugin UUID) is already documented in the schema. The description only adds the merge/optionality semantics ("Fields you leave out stay as they are"), which is a small but real addition over the per-field descriptions. Baseline 3 applies when the schema carries the load.

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: "Changes the fields of one of your custom plugins." The "custom plugins" qualifier distinguishes it from the WordPress.org plugin tools (get-plugin, list-plugins-not-on-wordpress-org) and the site/collection update siblings, 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?

The second sentence describes partial-update behavior, not when to use this tool versus create-custom-plugin or delete-custom-plugin. There is no stated precondition (e.g. the plugin must already exist, need for admin permission) and no exclusion or alternative routing.

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