Skip to main content
Glama

cse__ModifyPlugin

Modify a CSE gateway plugin's configuration, including its filter-chain phase, priority, download URL, checksum, image pull policy, and plugin settings, to update behavior on a gateway.

Instructions

[CSE] 修改插件。

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": {
      "gateway_id": "<gateway_id>",
      "plugin_id": "<plugin_id>",
      "project_id": "<project_id>"
    },
    "name": "cse__ModifyPlugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo插件或容器的下载地址。
phaseNo确定插件将在过滤器链中的何处注入。
sha256No用于校验插件和容器的校验和。
priorityNo插件的调用优先级。
plugin_idYes插件id
gateway_idYes网关实例id
pluginNameNo插件名。
project_idYes项目id
pluginConfigNo传递给插件的配置。
imagePullPolicyNo拉取OCI镜像的行为
imagePullSecretNo拉取OCI 镜像的凭据
verificationKeyNo校验值。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

D1.7/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full burden and discloses nothing: it does not say whether omitted fields are preserved or reset, whether the change is reversible, whether it triggers a gateway reload, or what happens on an invalid config. For a 12-parameter mutation tool this is a serious gap, though it does not contradict anything.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is short but this is under-specification rather than conciseness; there is no front-loaded statement of scope, effect, or requirements. Nothing would be lost by replacing it entirely with a useful description.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A 12-parameter, three-path-identifier mutation with nested config and no annotations or output schema needs substantially more explanation. The description gives an agent nothing about semantics, side effects, or failure modes, making correct invocation largely guesswork.

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% and all 12 properties, including the two enums (phase, imagePullPolicy) and the nested pluginConfig, are documented in the schema. The description adds no meaning beyond that, so the baseline 3 applies.

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

Purpose2/5

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

"[CSE] 修改插件。" only restates the tool name (ModifyPlugin) as a verb+object; it adds no scope, target, or distinguishing detail. It does not differentiate this mutation from siblings like cse__CreatePlugin, cse__DeletePlugin, or cse__ShowSinglePlugin.

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

Usage Guidelines1/5

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

There is no guidance on when to use this tool versus alternatives, no preconditions (e.g., the plugin must already exist, required IAM/permissions), and no indication of partial-update semantics. The agent must infer everything from the name alone.

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

Deploy Server

Other Tools