Skip to main content
Glama

cse__CreateMicroserviceRouteRule

Creates a gray release route rule for a CSE microservice to control traffic rollout to a new version.

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": {
      "project_id": "<project_id>",
      "service_name": "<service_name>"
    },
    "name": "cse__CreateMicroserviceRouteRule"
  }
}

Input Schema

NameRequiredDescriptionDefault
app_idNo所属应用,不填默认为default应用
project_idYes租户子项目的唯一标识。字符长度为1~64。
environmentNo所属环境,不填表示<空>环境
service_nameYes微服务名称

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.3/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 of behavioral disclosure, and it discloses nothing: no required permissions, no statement of what happens on creation, no effect on live traffic, no idempotency or failure behavior. For a mutation tool with a traffic-affecting purpose, this is a serious gap.

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 sentence with zero waste, but it is under-specified rather than well-structured: there is no front-loaded scope or qualifier, and the bracketed [CSE] prefix consumes attention without informing the agent.

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

Completeness2/5

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

For a 4-parameter create tool with no annotations and no output schema, the definition leaves the agent without the essential context of what a gray-release route rule is, what creating one does to traffic, or how to verify success.

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 project_id, service_name, app_id, and environment are already documented in the schema. The description adds no meaning beyond that, which is the baseline case rather than an added value.

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

Purpose3/5

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

"创建灰度发布策略" gives a verb (create) and a resource (gray-release policy), so the basic action is identifiable, but it never ties the description back to the tool's actual resource (a microservice route rule) and gives no signal distinguishing it from siblings such as cse__CreateGovernancePolicy or cse__CreateEngine.

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 description contains no when-to-use condition, no prerequisites, and no pointer to alternatives such as ListMicroserviceRouteRule or DeleteMicroserviceRouteRule. It offers nothing beyond the action itself, so usage must be inferred entirely from the name.

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