Skip to main content
Glama

cse__CreatePlugin

Creates a CSE plugin on a gateway instance, defining its filter-chain phase, priority, configuration, and OCI image pull settings.

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>",
      "project_id": "<project_id>"
    },
    "name": "cse__CreatePlugin"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo插件或容器的下载地址。
phaseNo确定插件将在过滤器链中的何处注入。
sha256No用于校验插件和容器的校验和。
priorityNo插件的调用优先级。
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.9/5.0
Behavior1/5

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

No annotations are provided, so the description carries the full behavioral burden and discharges none of it. For a mutating create operation it never states required permissions, whether creation is idempotent, what happens on duplicate names, whether the plugin is activated immediately, or what the response contains. This is the exact gap that makes an unannotated write tool unsafe to invoke blindly.

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?

A single short sentence with no wasted words, but this is under-specification rather than conciseness. The one clause present is front-loaded but conveys nothing an agent could act on beyond the tool name.

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?

The tool takes 11 parameters, has a nested object (pluginConfig), two enums, no annotations, and no output schema, so it is complex enough to demand real description content. The description supplies none of it — no creation semantics, no dependency ordering, no error behavior. It is completely inadequate for the tool's complexity.

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%, with every one of the 11 properties (including url, sha256, phase, priority, imagePullPolicy, verificationKey) documented in the schema itself, so the baseline of 3 applies. The description adds no semantics of its own beyond the schema, but it also does not need to compensate for missing coverage.

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?

The description is "[CSE] 创建插件。" which only restates the tool name (CreatePlugin) as a verb+resource pair. It does not say what kind of plugin is created, in what scope (gateway/project) it lives, or how it differs from siblings like cse__ModifyPlugin or apig__CreatePlugin. This is essentially a tautology with a language tag attached.

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?

There is no when-to-use guidance, no preconditions (e.g. that a gateway and project must already exist), and no exclusion criteria pointing to alternatives. An agent must infer from the name alone that this is the creation path versus ModifyPlugin or ShowSinglePlugin.

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