Skip to main content
Glama

css__UpdateRoute

Updates a cluster's routing configuration by adding or deleting an IP route with its subnet mask, so you can control which source IPs reach the cluster.

Instructions

[CSS] 该接口用于更新集群路由。

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": {
      "cluster_id": "<cluster_id>",
      "configkey": "<configkey>",
      "configtype": "<configtype>",
      "configvalue": "<configvalue>",
      "project_id": "<project_id>"
    },
    "name": "css__UpdateRoute"
  }
}

Input Schema

NameRequiredDescriptionDefault
configkeyYes路由ip地址,公网源数据所在的服务器ip。不能以0开头。
cluster_idYes指定待操作的集群ID。
configtypeYes操作类型。add_ip为增加集群路由,del_ip为删除集群路由。
project_idYes项目ID。获取方法请参见[获取项目ID和名称](css_03_0071.xml)。
configvalueYes路由子网掩码。如果上面ip取的是16位,子网掩码可以填255.255.0.0,24位的话子网掩码填255.255.255.0

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

C2.5/5.0
Behavior2/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, yet it only says "update." It does not disclose that this is a network-mutating operation that can add or delete routes, whether it requires specific permissions, whether the change is reversible, or what happens on conflict.

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?

The single sentence is front-loaded and free of waste, but it is terse to the point of under-specification for a five-required-parameter mutation tool.

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 required-parameter mutation tool with no annotations and no output schema, the description should explain the add/delete semantics and side effects. It does not, leaving the agent dependent entirely on the schema for correct and safe invocation.

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%: each parameter, including configtype's add_ip/del_ip semantics and the mask format, is documented in the schema. The description adds no further parameter meaning, so the baseline 3 applies.

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?

The description states the verb and resource ("更新集群路由" — update cluster routes), so the general purpose is identifiable. However, it never explains that the operation actually adds or deletes a route depending on configtype, nor does it distinguish this tool from the many sibling Update* tools, leaving the purpose at a vague level.

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?

No when-to-use guidance, no preconditions, and no mention of when not to call it. The agent must infer from the schema alone that this is used to add or remove a cluster route.

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