Skip to main content
Glama

cse__ModifyHttp2Rpc

Modifies HTTP-to-RPC method mappings for a CSE gateway so you can update Dubbo service methods, parameters, paths, and headers and ensure requests route to the correct backend RPC service.

Instructions

[CSE] 修改http转rpc方法。

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

Input Schema

NameRequiredDescriptionDefault
nameNo
dubboNodubbo 服务的信息。
gatewayIdNo网关的ID。
routeNameNo路由的名称。
gateway_idYes网关实例id
project_idYes项目id
http2Rpc_idYeshttp2Rpc id
pluginConfigNo传递给插件的配置。
routeDestinationNameNo目标路由的名称。

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 supplied, so the description carries the full behavioral burden, and it discloses nothing. It does not say whether this is a full replace or a partial update, what happens to fields omitted from the payload (name, dubbo, routeName, pluginConfig), whether the change is reversible, what permissions are needed, or what the response contains.

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

Conciseness3/5

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

It is a single short sentence with no wasted words and the purpose is front-loaded, but for a nine-parameter nested mutation the size is not appropriate to the complexity; it is concise because it omits information, not because it is efficient.

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?

This is a complex mutation tool with nested objects, nine parameters, no annotations, and no output schema. The description supplies none of the update-semantics, permission, or return-shape context an agent needs to invoke it safely, so 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 89%: the nine parameters, including the nested dubbo.methods[].params[] structure and the three path ids, are documented in the schema itself. The description adds no meaning beyond the schema, so the baseline of 3 applies when the schema does the heavy lifting.

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 says only '[CSE] 修改http转rpc方法' (modify the http-to-rpc method), which essentially restates the tool name ModifyHttp2Rpc. It gives no scope detail, such as which aspects of the http2Rpc mapping (route, dubbo service, methods, headers) can be changed, so an agent cannot distinguish it from CreateHttp2Rpc or DeleteHttp2Rpc except by the word 'modify'.

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 prerequisites, and no mention of alternatives. The description does not say to call it only on an existing http2Rpc mapping, nor whether the gateway and project must already exist, leaving the agent to infer everything from sibling names.

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