Skip to main content
Glama

cse__CreateHttp2Rpc

Creates an HTTP-to-RPC mapping on a CSE gateway, linking HTTP paths and methods to Dubbo service methods and parameters.

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

Input Schema

NameRequiredDescriptionDefault
nameNo
dubboNodubbo 服务的信息。
gatewayIdNo网关的ID。
routeNameNo路由的名称。
gateway_idYes网关实例id
project_idYes项目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 must carry the full burden of helping the agent understand behavior, but it discloses nothing beyond the word 'create'. It says nothing about required permissions, whether the call is idempotent or reversible, what happens if the mapping already exists, or what is returned, which is a critical gap for a mutation tool with deeply nested input.

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 description is a single short sentence with no wasted wording, but its brevity reflects under-specification rather than disciplined conciseness. There is no structure that an agent could use to extract operational detail.

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 an 8-parameter mutation tool with deep nested objects, no annotations, and no output schema, yet the description explains virtually none of it. Such a complex call needs a description that covers prerequisites and side effects, and this one omits them entirely.

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 88%, and the nested dubbo, methods, and params fields all carry their own descriptions, so the input schema does most of the work already. The description adds no meaning on top of that, but under the high-coverage rule a baseline of 3 is appropriate.

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 "[CSE] 创建http转rpc方法" is essentially a Chinese restatement of the tool name CreateHttp2Rpc, with no additional scope or distinguishing detail. It does convey a verb (create) and a resource (http-to-rpc mapping), but it gives no indication of what makes this create operation distinct from DeleteHttp2Rpc, ModifyHttp2Rpc, or ShowHttp2Rpcs.

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 usage guidance: no conditions for when to choose this tool rather than ModifyHttp2Rpc, and no prerequisites stated, although the operation is a mutation. The only cue is the 'Create' prefix in the name, and the description does not extend that cue into any usable guidance.

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