Skip to main content
Glama

cse__ListMicroserviceRouteRule

Retrieves gray release routing rules for a CSE microservice by project and service name, with optional filtering by application and environment.

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__ListMicroserviceRouteRule"
  }
}

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.8/5.0
Behavior2/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, yet it adds nothing beyond 'query'. It does not state that the operation is read-only, what permission or tenant scope is required, whether results are paginated, or how an empty rule set is reported.

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?

A single short sentence with zero padding and the verb-resource pair front-loaded. It is efficient but so terse that brevity shades into under-specification rather than well-structured communication.

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?

Four parameters, no annotations, and no output schema mean the description is the only place behavior could be explained, and it says nothing about the shape or scope of the returned rule list. For a list tool with query-scoping parameters, this leaves the agent without enough context to interpret results.

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 the schema already explains project_id, service_name, app_id, and environment, including defaults. The description adds no clarification of scoping semantics (e.g. that app_id/environment narrow the rule lookup), so the baseline of 3 applies.

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

Purpose4/5

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

The description names a specific verb (查询/query) and a specific resource (微服务灰度发布规则 – microservice grayscale/canary release rules), which is enough to distinguish it from the Create/Delete route-rule siblings whose verbs are opposite. It stops short of explicitly contrasting itself with those siblings, but the action and resource are unambiguous.

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 such as CreateMicroserviceRouteRule or DeleteMicroserviceRouteRule. The agent must infer from the name alone that this is the read counterpart to those write tools.

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